DLL not found error
am 09.02.2007 13:32:00 von RG
Hi,
I am using a 3rd party product in my ASP.NET (Framework 2.0) web
application. The product comes with 2 DLL's, a COM DLL (say, abcCOM.dll) and
another DLL (abc.dll, which I am guessing is being called by the COM DLL).
The COM DLL must be registered. The ASP.NET page invokes the DLL using
Server.CreateObject("abcCOM.ClassName"). When I run the web application on a
XP machine, there is no issue. But when I register this file and run the
application on a Windows 2003 server, I get an error "File not found:
abc.dll". The file is located in c:\windows\system32. I am posting this
question in this group because I think this some kind of permissions issue
for some IIS/web process. I tried with all sorts of permissions/users for the
web application, application pool, web service extensions, etc, but it gives
the same error. Any sugesstions? Please........Help me.
Thanks,
RG
Re: DLL not found error
am 12.02.2007 22:50:08 von David Wang
1. Is this a 64bit machine
2. Is abc.dll supposed to be in %windir%\System32
3. Use File Monitor from sysinternal.com to see what process is
failing to load abc.dll and from what location
4. Check IIS web logs at %windir%\System32\LogFiles\W3SVC#\*.log for
any requests to abc.dll and if so, report the HTTP status, substatus,
and Win32 error code
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
On Feb 9, 4:32 am, RG wrote:
> Hi,
>
> I am using a 3rd party product in my ASP.NET (Framework 2.0) web
> application. The product comes with 2 DLL's, a COM DLL (say, abcCOM.dll) and
> another DLL (abc.dll, which I am guessing is being called by the COM DLL).
> The COM DLL must be registered. The ASP.NET page invokes the DLL using
> Server.CreateObject("abcCOM.ClassName"). When I run the web application on a
> XP machine, there is no issue. But when I register this file and run the
> application on a Windows 2003 server, I get an error "File not found:
> abc.dll". The file is located in c:\windows\system32. I am posting this
> question in this group because I think this some kind of permissions issue
> for some IIS/web process. I tried with all sorts of permissions/users for the
> web application, application pool, web service extensions, etc, but it gives
> the same error. Any sugesstions? Please........Help me.
>
> Thanks,
> RG