Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to free web services
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
00671855
Message ID:
00672068
Vues:
9
The best way I've found with the least impact is
to automate the unload of the application(which resides in a virtual directory) in a project hook using this VFP code in the BeforeBuild method:
DirObj=GetObject("IIS://LocalHost/W3SVC/1/Root/"+myVirtualDir)
DirObj.AppUnload
This way, everytime you recompile, it will unload the app from IIS first, allowing the app to recompile - much smoother than the old IISRESET routine and doesn't impact any other web apps or the web site itself...


>I have a web service created in VFP which I'm currently debugging. However, after I run the service once or twice, I am unable to rebuild the .DLL without an "In use" message popping up. I have exited VFP, restarted IIS. Is there anything else I can do short of the annoying reboot process?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform