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.
A rewrite of part one of a four-part series on Active Server objects. A simple example of creating a Active Server Component in Visual Studio 5.0 using the Active Template Library 2.0. The example component retrieves the user's cookie, if not available issues a new 128-bit cookie. Included in the issue is the source code and step by step instructions. This issue has been rewritten to illustrate the use of Visual Studio 5.0 and ATL 2.0 in writing Active Server Components. [Read This Article][Top]
Part two of a four-part series on Active Server components. In this issue 15 Seconds discuss how to write and debug an Active Server object that writes to the Event Log. Included in the issue is the source code and step by step instructions. This issue uses MSVC 4.2 and ATL 2.0 [Read This Article][Top]
Part one of a four-part series on Active Server component. A simple example of creating a Active Server Component in MSVC 4.2 using the Active Template Library 2.0. Included in this issue is the source code and step by step instructions. [Read This Article][Top]