Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!
all groups > iis security > february 2007 >

iis security : DLL not found error


RG
2/9/2007 4:32:00 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,
David Wang
2/12/2007 1:50:08 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
//




[quoted text, click to view]

AddThis Social Bookmark Button