wrote:
> Sometimes i need to restart the IIS on a current server, but the
> problems is that if i want to, then i have to contact them by either
> email or phone, but sometimes it takes few hour to do it. So i wonder
> if there Is a way to restart your IIS Programmitcally??
>
>
If you have permissions, you can issue a Net Stop command via a Shell
object. The problem is, the ASP user rarely will have the permissions
required to execute this command. so, te answer to your question is: yes
and no.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"