You could Shell out and run a script that does a NET STOP W3SVC1 and then NET START W3SVC1
The best thing is to try preventing the problem by making sure all of your connections to the database are closed. Rule of thumb: Close everything that you open as soon as you are finished with it, especially ACCESS connections. Bob Filipiak A question not asked is a lost opportunity to learn. ----- Original Message ----- From: "System-Administrator-Pioneer-GMS" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 05, 2004 6:32 PM Subject: [AspClassicAnyQuestionIsOk] Is there a way to REBOOT IIS5 from an asp script? > Is there a way to reboot IIS5 on a Win2k Server via an asp script? I keep > getting and Unspecified error intermittingly from connecting to an access > .mdb database. I would like to have and ON ERROR restart IIS5............. > is there a way to do that? > > > Thanks > > > > > > > Yahoo! Groups Links > > > > > > ------------------------ Yahoo! Groups Sponsor ---------------------~--> Yahoo! Domains - Claim yours for only $14.70 http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/saFolB/TM ---------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
