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:
00316057
Vues:
23
>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 --
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform