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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I recompile a DLL

Status
Not open for further replies.

bigfoot

Programmer
May 4, 1999
1,779
US
Hello. I created a dll for creating reports and registered it on my NT machine. I called it from asp, but now I can't unload it. When I tried to replace the dll on

the server it told me I could not do it.
I did a regsvr32 path /u - no good
I stopped the web server - no good
I had to stop the web server service in order to replace the dll.
I must be doing something wrong. If everytime I add/change a report to this dll, I have to do this, then this will not be acceptable. How can I do this a different way? Can I compile the program to an exe and call it from ASP?

BTW: I'm using VB6 and NT4 with the latest SP

Thanks for any help

Gary
 
For starters, you aren't doing anything wrong. When you create an instance of your dll in ASP, IIS locks your dll and thus it can't be deleted. Restarting IIS (through the Services panel, ISM or the command prompt) releases your dll. (waiting approx. 20 minutes would also have worked).

I'm not familiar with starting an exe from asp, but I suppose this program will then run in it's own process on the server and will not be bothered by IIS. But how to communicate between your program and your asp programmatically, I don't know.

Good luck!

Jordi Reineman

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top