
|
email this FAQ to a colleague
Q:
I have an Active Server component written in VB5 that I am testing in IIS 4.0. After I test the .ASP page in my browser, if I change my code and try to recreate the DLL I get "this file is in use" message from the system and cannot overwrite the DLL. I can shut down the browser, but
short of killing the IIIS 4.0 processes (which doesn't seem a great idea) or rebooting (which is annoying), I can't unload the DLL. Is there some method of doing this?
A:
There are three methods that you may be interested in:
- Type the following at a command prompt:
net stop iisadmin /y
net start w3svc
- Place the DLL in a Transaction Server package and choose "shutdown" for the package to unload the DLL.
- Mark the ASP application to run out of process and select Unload from the Internet Service Manager to unload the process and free the DLL.
- Philip F. Charmichael
|