IIS ASP - restart iis

This is Interesting: Free IT Magazines  
Home > Archive > IIS ASP > December 2004 > restart iis





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author restart iis
Meelis Lilbok

2004-12-30, 7:56 am

Hi

Is it possible restart IIS from ASP?
I tryed activex dll, but it wont work, i think its an "user rights" problem
When i use this dll form vb6 all works fine.

Any other solution?


Best regards;


Meelis


Evertjan.

2004-12-30, 7:56 am

Meelis Lilbok wrote on 30 dec 2004 in
microsoft.public.inetserver.asp.general:
> Is it possible restart IIS from ASP?
> I tryed activex dll, but it wont work, i think its an "user rights"
> problem When i use this dll form vb6 all works fine.


I hope not.

Try crashing the operating system?

> Any other solution?


Sure, don't. Why would you want to do that in the first place?


--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Meelis Lilbok

2004-12-30, 7:56 am


> Sure, don't. Why would you want to do that in the first place?


Because some clients dont know how to restart IIS, and in IIS4.0 when you
modifie
global.asa sometimes web application "hangs" and only restarting IIS or
system helps.
I update and upload files with FrontPage.

Mex


Evertjan.

2004-12-30, 7:56 am

Meelis Lilbok wrote on 30 dec 2004 in
microsoft.public.inetserver.asp.general:
>
> Because some clients dont know how to restart IIS, and in IIS4.0 when
> you modifie
> global.asa sometimes web application "hangs" and only restarting IIS
> or system helps.


Make a .bat-file that does that on the client machine, perhaps, to be
called by that client.

> I update and upload files with FrontPage.


I would not do that. Why not upload the global.asa "by hand"?


--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jeff Cochran

2004-12-30, 5:53 pm

On Thu, 30 Dec 2004 10:53:10 +0200, "Meelis Lilbok"
<meelis.lilbok@deltmar.ee> wrote:

>Is it possible restart IIS from ASP?
>I tryed activex dll, but it wont work, i think its an "user rights" problem
>When i use this dll form vb6 all works fine.
>
>Any other solution?


Most restarts will require a sufficient access level to perform the
task, often local admin. I'd suggest instead of ASP you use a
shortcut on the user's desktop, to IISRestart or a NET STOP command.

Jeff
Evertjan.

2004-12-30, 5:53 pm

Jeff Cochran wrote on 30 dec 2004 in
microsoft.public.inetserver.asp.general:

> On Thu, 30 Dec 2004 10:53:10 +0200, "Meelis Lilbok"
> <meelis.lilbok@deltmar.ee> wrote:
>
>
> Most restarts will require a sufficient access level to perform the
> task, often local admin. I'd suggest instead of ASP you use a
> shortcut on the user's desktop, to IISRestart or a NET STOP command.


You could fake that by having an administrator level skeduled batch file
executing say every 10 minutes, checking for existence of a file
"restart.iis" that could be created by a passworded asp
"Scripting.FileSystemObject"
execution.


--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com