>Hi:
>
>I can STOP the IIS by code with:
>
>NET STOP IISADMIN /y
>
>I Can Start the IIS by code with:
>
>NET START w3svc
>
>But, to stop and start the MTS when myapp.dll is running in?
>
>TIA
>
>Alberto Rodriguez
>Spain
You don't need to stop MTS. Right click on the package in the MTS explorer and select ShutDown Package.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer