Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File Access Denied Creating VFP COM DLL
Message
De
14/12/1999 20:12:25
 
 
À
14/12/1999 16:19:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00303089
Message ID:
00303792
Vues:
27
You should be able to use the IIS Admin objects through the ADSI interface (depending on the version if IIS: 4.0 or later)

oIISFolder = GETOBJECT("IIS://LocalHost/W3SVC/1/ROOT/MyScripts")
oIISFolder.AppUnload()


This should release all out of proc applications in that folder...


>Thanks Erik. So there's no way to use a batch file to do the equivalent of 'unload'ing that single virtual web directory? It has to be the net stop inetsrv for the entire web server? What about API calls? Right now I just do it manually but it gets tiresome.
>
>- A Hilton
>
>
>>>If you run your website from a 'virtual directory' on the webserver then all you have to do is go to the properties for that virtual directory and hit the 'unload' button on the 'directory' tab. That'll release your VFP COM DLL so you can build a new version of the DLL. I thought I had read somewhere you could run a batch file with commands to do this automatically but it may have been just a dream. Anyway, it doesn't involve shutting down the entire web server.
>>>
>>
>>The batch file approach does involve killing the service. It uses KILL.exe to kill the InetSrv service.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform