Information générale
Catégorie:
Applications Internet
You might want to try code to see if that works like:
DirObj=GetObject("llS://LocalHost/W3SVC/1/Root/"+JustStem(cOutputName))
DirObj.AppUnload
>>>I swtiching from COM+ to having my virtual directory run with Application Protect = High so that I can unload my COM EXEs (COM+ only allows unloading of COM DLLs). When I start Internet Information Services, then select "propertiers" on my virtual directory, then click the "directory" tab... then "Unload" button is disabled. Which means I can't unload the DLLs and EXEs from memory.
>>>
>>>Anyone know why or how to enable the button or what I am doing wrong?
>>
>>Unload button will be disabled when:
>>
Web app has not yet started (i.e. after rebooting and prior to first request)
>>Web app is still running in Medium or Low mode (even if you changed the mode, it wont take efect till IIS is restarted
>>After first restart, Unload button usually behaves well: if the app is started it will allow you to unload it.
>>If it doesn't, you can always restart the IIS services (you can do it from the IIS console, on W2K)
>
>Web app has started, just hit an ASP.NET page that loads the DLL. IIS has been restarted.
>The unload but is still disabled though. Any other ideas?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement