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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The Service did not respond to the start or control request in a timely fashion - Error 0x8007041d

Status
Not open for further replies.

AndrewArgus

Programmer
Mar 16, 2015
6
CA
I am getting this error from a call within my code:
string queryStr = "Select Name,PathName,StartMode from Win32_Service Where Name='ArgusService2'";
System.Management.ObjectQuery oQuery = new ObjectQuery(queryStr);
System.Management.ManagementObjectSearcher oSearcher = new ManagementObjectSearcher(oQuery);
foreach (System.Management.ManagementObject oService in oSearcher.Get())

At the .Get an exception is thrown and the error listed on the Subject line is returned. It comes back very quickly (.07 seconds).

Any suggestions would be helpful.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top