473,473 Members | 2,127 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

restarting a service using ASP

Is it possible to restart a service using ASP ? I have some code here to
restart a service using vbscript, but it doesnt translate into asp at all. I
also have a script here that displays the status of a service, and that
works fine in ASP, so i know that it can be done, and that security, once
set, wont be an issue.

Does anyone know how i can restart a service with ASP? any examples ?

olly

--
________________________________________________
ADSSupport.net
http://www.adssupport.net
Dedicated free Active Directory ServicesT support

email: oliver.marshall@no****@adssupport.net

Jul 19 '05 #1
2 1861
Yes you can...

Look into..

http://www.componentspace.com/servicemanager.aspx

--
Cheers!

Ryan N.
---------------------------------
Funny...this worked yesterday....
"Harry Hudini" <harry.hudini@no****@simplicity.co.uk> wrote in message
news:uK**************@tk2msftngp13.phx.gbl...
Is it possible to restart a service using ASP ? I have some code here to
restart a service using vbscript, but it doesnt translate into asp at all. I also have a script here that displays the status of a service, and that
works fine in ASP, so i know that it can be done, and that security, once
set, wont be an issue.

Does anyone know how i can restart a service with ASP? any examples ?

olly

--
________________________________________________
ADSSupport.net
http://www.adssupport.net
Dedicated free Active Directory ServicesT support

email: oliver.marshall@no****@adssupport.net

Jul 19 '05 #2
Is there anyway of doing it without spending money ? Its just for a quick
page that I want to knock up so that i can restart one duff service from
home.

Olly
"Ryan N." <zh****@CANTHESPAMhotmail.com> wrote in message
news:eM**************@tk2msftngp13.phx.gbl...
Yes you can...

Look into..

http://www.componentspace.com/servicemanager.aspx

--
Cheers!

Ryan N.
---------------------------------
Funny...this worked yesterday....
"Harry Hudini" <harry.hudini@no****@simplicity.co.uk> wrote in message
news:uK**************@tk2msftngp13.phx.gbl...
Is it possible to restart a service using ASP ? I have some code here to
restart a service using vbscript, but it doesnt translate into asp at all.
I
also have a script here that displays the status of a service, and that
works fine in ASP, so i know that it can be done, and that security,

once set, wont be an issue.

Does anyone know how i can restart a service with ASP? any examples ?

olly

--
________________________________________________
ADSSupport.net
http://www.adssupport.net
Dedicated free Active Directory ServicesT support

email: oliver.marshall@no****@adssupport.net


Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jerry Boone | last post by:
I have a development unit running XP Pro and I cannot get it to build a web project without restarting IIS. There errors in the task list are.... ! Could not copy temporary files to the output...
1
by: Scott Lezberg | last post by:
We have an web application and the ASP .NET service keeps restarting for no apparent reason. I understand the recyclying concept and I see the event logged but is there any way to determine what...
7
by: Gene | last post by:
I have a Windows Service (VB.NET) that runs 24/7. It queries a Web service 5 to 10 times per hour. About 2 or 3 times a month, it fails. The log indicates that it sends the request to the Web...
4
by: Simon Verona | last post by:
My software relies on a third party data provider to a propretary database. In turn the third party database relies on a Windows Service that runs on the server to supply the data... The problem...
4
by: =?Utf-8?B?TWFyaw==?= | last post by:
Hi... Following the samples online, we implemented a windows service in .Net. Like most services, there's a worker thread actually doing stuff in the background. The problem we've run into is...
3
by: gourmet | last post by:
Hello! I need to restart the "Windows Audio Service" (audiosrv) via C#. I'm using the ServiceController Class to do this. It is no problem under XP and no problem under vista if UAC is...
1
by: cryptotech2000 | last post by:
I am trying to write a batch file to do this basically and i know i dont have it right so if anyone could help me i would appreciate it.. Basically the reason i need to do this is we have an...
1
by: sexauthor | last post by:
I've written a windows service am unsure how we're meant to handle fatal errors once the service is already up and running. It also doesn't seem to be mentioned in any of the books or examples...
1
by: pmonte | last post by:
I have a service that can be configured using a simple xml file. When the service starts it reads this xml. I'd need to change the xml config file while the service is running (no probs so far) and...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.