Message
From
14/04/2000 08:24:38
 
 
To
14/04/2000 08:18:03
Edward Crawford
City Facilities Management
Glasgow, United Kingdom
General information
Fórum:
Visual FoxPro
Category:
Aplicações para Internet
Miscellaneous
ID da thread:
00359705
ID da mensagem:
00359735
Views:
15
>>>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
>
>Thanks Bill:
>
>I'm running Personal Web Server on my PC, however, and I don't know of a way to kill the program unless I shut down the computer. Do you know any way?

Kill.exe should work on PWS as well.
Erik Moore
Clientelligence
Previous
Next
Responder
Mapa
View