Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIS caching dll on Windows 2000 machine 1

Status
Not open for further replies.

ksbigfoot

Programmer
Apr 15, 2002
856
CA
I am working on a COM object that I call from my ASP page. Everytime I go to make my .dll, it gives me a Permissions denied on the .dll.
What I do right now is Restart IIS and this allows me to then create the new .dll file.

Is there a setting in IIS that will not cache the .dll file?

Thanks
 
The problem is probably that Windows loads your the DLL within the process space of IIS.

You may be able to get around this by creating a COM+ package for your DLL. This should cause the DLL to be loaded up in the COM+ process space. Then you can just restar the package that contains your DLL without bringing down IIS and losing all current sessions.

To configure COM+, go to Control Panel -> Administrative Tools -> Component Services.

PS: COM+ is basically the new name for MTS.
 
Howdy Sheco,
I gave you a star.
I researched on how to set up a COM+.
I don't think I understand how it works, but it is working for me.
I followed this URL to see on how to set up COM+:
Code:
[URL unfurl="true"]http://support.sas.com/rnd/itech/doc9/admin_oma/sasserver/comdcom/aspdcom.html[/URL]
And now I can just click Unload from the Internet Information Services window and I can compile my .dll easy now.
Thanks again for pointing me in the right direction.
ksbigfoot
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top