Information générale
Titre:
Stopping a cached COM process
I am having a problem rebuilding my web service because IIS is cahceing the COM server. When I do a build, I get an "access denied" error on the web service .dll
I have checked the "generate Web Service support files automatically" box in the Web Services Publisher Advanced dialog box to include the web services project hook, but it doesn't seem to be shutting down the COM process.
I have traced the project hook code in the wsphook.BeforeBuild method , and I can watch it execute the line,
loCat.ShutdownApplication(lcApp)
(where lcApp - "IIS Out-Of-Process Pooled Applications")
But I still get the "access denied" error.
Does anyone know how to get this working or how to terminate the COM process manually?
Thanks,
-Steve
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement