Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rebuilding COM dll after ASP call
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00315858
Message ID:
00316063
Vues:
19
>>I think KILL is with NT Resource Kit. Anyway, I try to "End Task" inetinfo but manually but NT wouldn't do it. I'll install KILL and give it a try. BTW, it makes ASP/COM debugging a real PITA. Thanks!
>
>You can't End Task, because IIS is a service and you can't kill services through task manager.
>
>KILL is the best way. If you're using IIS 5 (on Windows 2000) you can use the new IISRESET utility which stops and restarts all Services automatically. It's also a monitor for IIS if it crashes it'll automatically restart it (which BTW makes it even more difficult to update DLLs in a production environment).
>
>Yes debugging with ASP is a PITA, but the best way I've found is to use a batch (Webrestart.bat) file like this:
>
>KILL INETINFO
>pause
>NET START IISADMIN
>NET START W3SVC
>
>While debugging ASP I usually leave a Command Prompt running and then just flip back over there and hit it. While I debug my code and recompile the server can restart in the background - you can even add that to a compile script in your VFP code if you like, so you don't have to manually switch to the DOS window (you need to add a delay between the kill and restart though).
>
>+++ Rick --

Well, I don't have the KILL utility. My batch file reads like this:

net stop w3svc
net stop iisadmin
net start iisadmin
net start w3svc

I have a shortcut to the batch file on my taskbar. Frees up my dlls just fine!
"It is an important and popular fact that things are not always what they seem. For instance, on the planet Earth, man had always assumed that he was more intelligent than dolphins because he had achieved so much -- the wheel, New York, wars and so on -- whilst all the dolphins had ever done was muck about in the water having a good time. But conversely, the dolphins had always believed that they were far more intelligent than man -- for precisely the same reasons." - Douglas Adams
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform