Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File Access Denied Creating VFP COM DLL
Message
From
14/12/1999 20:12:25
 
 
To
14/12/1999 16:19:38
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00303089
Message ID:
00303792
Views:
23
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform