General information
Category:
Internet applications
>Thanks David
>That is what I was looking for. It seems like it shoud be fairly straightforward to unload a dll when you are sure the usage count is 0. I just haven't found it yet.
IIS (or PWS) will keep the dll in memory (ie it makes one extra reference to it) in order to boost performance of the web server.
Another way is to use MTS and set the timeout to the lowest value (ie 1 minute from the MTS Manager Console or 1 sec if you go directly to the registry) for your package. But this is unreliable and, often, you'll have to kill IIS anyway.
Some people say that if you work with a web site different from the default one, you can stop the web site and this will unload the dll. Personally, I haven't see any difference between web sites set on the same server (obviously, this is different if you work directly on the production server) and I found this method so unreliable that it doesn't even worth a try (it's much easier to KILL INETINFO). But if it works for you... try it.
Vlad
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only