Ask a Question related to ASP.NET Security, Design and Development.
-
Cash Foley #1
Attempting to stop a Windows Service in a Web Application
I'm attempting to stop a Windows Service from a Web Application. The
follow code generates a "Access is Denied" exception.
Can anyone help me with this?
Thanks in advance.
Cash
try
{
ServiceController[] services = ServiceController.GetServices();
foreach(ServiceController service in services)
{
if(service.ServiceName == "Service")
{
if(service.Status == ServiceControllerStatus.Stopped)
{
service.Start();
}
}
}
}
catch (Exception exc)
{
Response.Write("ERROR: " + exc.Message);
}
Cash Foley Guest
-
Need to stop Acrobat from attempting to contact network server
Hello: I'm hoping someone will have a solution to my problem. I attempted to start a "Shared Review" in Acrobat. I used a Windows network server to... -
manual installation of windows CF application service
Hi, Does anyone know how to manually install the ColdFusion MX 7. I had a lapse of judgement when installing CFMX 7 and installed it over CFMX... -
Windows remote application launch through a Web service
Dear all, I possible to create a web service that launch a Windows Graphics .exe application (like notepad.exe, for example) installed on a... -
How do I make a native windows client application in vc++6.0 talk to .net web service
Hi All, Can you please give me an insight into how do I make a native windows application talk to a .net xml web service.. Thanks Raj -
Windows Time Service - Stop it from sending errors to System Event Log - Please
BlankWhen I was examining the System Event Log on an XP Pro computer, I noticed Error Messages from the W32Time Service about not being able to...



Reply With Quote

