Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't Free up a com object
Message
From
14/04/2000 08:05:49
 
 
To
14/04/2000 05:47:55
Edward Crawford
City Facilities Management
Glasgow, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00359705
Message ID:
00359724
Views:
12
>I have created a VFP com object. This object is accessed from an ASP page running on Personal Web Server. Once it has been accessed, I go into VFP, make chages to the class, and try to save it as a Multithreaded COM object again. When I do this I get an error saying that file access is denied.
>
>Obviously the COM object has not been released. I have tried to close IE, close VFP and stop my Personal Web Server. The only thing that will free it up, is if I shut down my computer. Surely I must be doing something wrong.
>
>Ed

Hi Ed,

Simply "stopping" the the web server will do it. You have to actually shut down the web service to unload your COM server. You can do this thru Control Panel by shutting down the IIS Service, then restarting it. Or run the following commands in a batch file from the command line:

KILL INETINFO
PAUSE
NET START IISADMIN
NET START W3SVC

At the "Pause", wait a few seconds to allow things to "settle out", then press Enter and allow the web service to be restrted. You have to have the Kill utility ( I think it is Kill.exe ) in place. It can be found in the NT Resource Kit, and I think it comes with VC++.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform