ASP or ASP.NET Page for IIS showing the State of WWW service
$5-30 USD
Completed
Posted almost 11 years ago
$5-30 USD
Paid on delivery
I need to write a webpage that outputs the state of the WWW Publishing service in Windows 2008 RC2. The webpage needs to output whether the services is running or not running, and needs to work in IIS 7 or later. Can be written in classic ASP or ASP.NET. I've had no luck with scripts such as the below - it gives a 500 error:
strComputer = "."
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonat e}!\\" & strComputer & "\root\cimv2")
Set colRunningServices = [login to view URL]("SELECT * FROM Win32_Service WHERE Name = 'someService'")
Set objService = colRunningServices(0)
If [login to view URL] "Running" And [login to view URL] "Starting" Then
[login to view URL]()
End If
I've been working with .net for over a decade and am more than certain I can help you with this issue. Please see my private message for more pertinent information. Thank you!
$34 USD in 1 day
5.0 (17 reviews)
5.7
5.7
2 freelancers are bidding on average $34 USD for this job