IIS Server Security - DLL not found error

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server Security > February 2007 > DLL not found error





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author DLL not found error
RG

2007-02-09, 7:19 am

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
David Wang

2007-02-12, 7:28 pm

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 <R...@discussions.microsoft.com> 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



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com