Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vb script for dr watson problems

Status
Not open for further replies.

Galrahn

IS-IT--Management
Aug 27, 2001
65
US

Hi,

I have an application that runs at a remote site on an NT 4.0 server. The application runs in process in IIS, and every once in awile the IIS process has a dr watson error due to an exception error within the application. The application is due for retirement later this year and thus will not be fixed, so in the meantime I am trying to get a script that will allow me to restart the services when a dr watson error occurs.

Basically I am trying to figure a way I can shutdown dr watson via a vbscript so that I can then restart the W3SVC service in the same script and get the application up again. I have everything I need to run the script on the server when the problem occurs, except for a portion of the script that will actually close dr watson so that I can then restart the service.

Can anyone think of a way via vbscript to shutdown cleanly dr watson on NT 4.0 with a vbscript, any help would be appritiated. This is probably very easy and I am just having syntax issues with my current ideas, or maybe it is more complex and I am barking up the wrong tree...

Thank you,

Galrahn
 

Actually it is even worse VB using 3rd party poorly written C++ isapi.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top