Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't Free up a com object
Message
De
14/04/2000 09:17:30
 
 
À
14/04/2000 08:18:03
Edward Crawford
City Facilities Management
Glasgow, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00359705
Message ID:
00359756
Vues:
9
>>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?

I don't believe it should matter that it's PWS. You still need to shut down the IIS service and restart it to unload the COM server from memory, either in Control Panel or by executing the commands listed above. That's the only way I know to unload the COM server from memory so you can recompile.
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform