Hi all,
I have an ASP.NET application developed with VS2005 and have some references to COM assembilies (.dll files).
Here is the problem I am encountering. When I run the application from VS2005 it works fine no problem at all, but when I run it through IIS the assembilies do not work. I looked at other threads in this forum with similar problems and permission issue are mentioned for those problems, but I have no idea whether this is a permission issue or a problem about registering the assembily (.dll) for the IIS.
Any ideas,

DLLs with IIS problem?
Old John
Hi,
Try setting virtual directory's Execute permission to "Scripts and Executables".
Hope this help.
MightnMagic
Hi guys,
Thanks for the replies.
I think I got it and it is impersonation and delegation issue. I was using impersonation, but what I needed was delegation. That's why I was able create the file via dll on the web server but not on a remote server.
Shortly, if you use impersonation you can use local resourses, but if you want to access remote resources such as another server you need to use delegation.
Thanks
Rakosnicek
It might be authentication related. Are you connecting to any databases
Please copy/paste the exact error you're receiving.
Thanks,
Adamus
Plop
I tried to register the dll as you mentioned but got an error message saying that "(dll) was loaded, but the DllRegisterServer entry point was not found. This file cannot be registered."
dll that I am using is a Microsoft ADO Ext.2.8 for DLL and Security. I am using this dll to create mdb (Access files).
And I just realized something about what you said. When I try to create the mdb file on another server, it is failing, but I can create the mdb file on my computer thorough IIS. (I can create a text file or a zip file or any other file on the server same folder that I am trying to create the mdb file so I do not think this is about the file system permissions. Also IIS is running on my computer for now).
So do I need to register this dll on the server that I am trying to copy the file If yes do I copy the file in System32
How can I find out whether an assembily is registered or not
Kiran Patil
regsvr32 comdll.dll
If so does the IIS account (Usually network service if this is IIS6.0 and the default app pool is used) have ntfs read permissions to the COM dlls Where are the dlls In System32
What do the COM dlls do DO they access a different server
cjjrmj
hetnet
Hi,
I think there could be permission problem for executing com component...
Might this thread could be helpful for you!
Hope this help.