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

Locked DLL/COM Object

Status
Not open for further replies.

jkb17

Programmer
Nov 27, 2000
156
US
I am not sure if this is the appropriate forum or not but I am posting here anyway.

I am working with a 3-tire Web project. Visual Basic is being used to create our COM component (ie, the someDLL.dll file).

Well, whenever the COM is changed or altered, the dll has to be recompiled and moved over. I know that you usually have to stop IIS and then you can move over the dll. Stopping IIS is supposed to free the dll from use. It is not working. I even restart IIS and stop again and it still won't let me copy over. (I do have permissions to the drive.)

I am working with IIS 5.0 on Win2000 Advanced Server. Can anyone advise me on how I can resolve this problem without rebooting the server everytime the COM object is altered? Is there any software out there that will allow me to kill the locked dll.

Thanks in advance.

bye
Jim
 
How are you stopping the service. If you are doing it through the IIS MMC then you should try stopping the Service and/or IIS Admin Service through the Services tool. Better yet write batch files that stop/start the services.

Later, Rob
robschultz@yahoo.com
-Focus on the solution to the problem, not the obstacles in the way.-
 
I was using batch files to stop the service but it wasn't working. I just tried something else that seemed to work.

I went into the IIS Manager itself and selected the specific website in question. I then stopped the service for just that site. After the site stopped, I used the batch file to stop the entire IIS service.

I was then able to move the DLL into the system32 folder.

Its an extra step but it worked. Let's see what happens tomorrow morning.

Thanks.

bye
Jim

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top