Could Not Start Service On Local Computer Error 193
Contents |
services, the following error message is received: Could not start the %{Service} service on local computer. Error 193:0xc1 Upon further investigation, the following entry is found in the Application logs could not start service on local computer error 1053 in Event Viewer: Event ID: 7000 Source: Service Control Manager Type: Error Description:
Windows Could Not Start The Service On Local Computer Error 1053
The "Online Backup Scheduler (Mindtime Pro Backup)" service failed to start due to the following error: "Online Backup Scheduler (Mindtime
Windows Could Not Start The Service On Local Computer Error 1053 C#
Pro Backup)" is not a valid Win32 application. Note: The issue can also occurs for other Windows services, such as the Online Backup Scheduler (Mindtime PC Backup) service, AutoUpdateAgent (Mindtime PC Backup)
Windows Could Not Start The Service On Local Computer Error 1067
service ... etc. Cause This issue occurs when one or both of the following conditions is true: There is a file named 'Program' in your SystemDrive folder. There is a file named 'Common' in your ProgramFiles folder. When Windows Service Control Manager (Services.exe) tries to start the Server service, the program verifies the following paths: SystemDrive\Program Program Files\Common If the Program or Common paths exist as windows could not start the service on local computer error 1067 the process terminated unexpectedly files, the Service Control Manager cannot locate the required folders, you will receive the error messages and event ID messages that are listed in the Problem Description section of this article. This issue can also occurs if the path of the executable file for the service contains spaces. When a service is started by Windows, the operating system first parses the path of the service from left to right. If both of the following conditions are true, Windows may locate and try to run the file or folder before it locates and runs the executable file for the service: The path of a service’s executable file contains spaces. There is a file or folder on your computer’s hard disk that has the same name as a file or folder in the path to the service's executable file. For example, if the path of the executable file for a service is 'C:\Program Files\Mindtime Pro Backup\bin\Scheduler.exe', and if a folder that is named 'C:\Program' also exists on your hard disk, Windows locates the 'C:\Program' folder on your hard disk before the 'C:\Program Files\Mindtime Pro Backup\bin\Scheduler.exe' file, and then tries to run it. For more details, please
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack windows could not start the service on local computer error 5 Overflow the company Business Learn more about hiring developers or posting ads with us windows could not start the service on local computer error 5 access is denied Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a windows could not start the service on local computer error 1068 community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up ServiceBase service error 193:0xc1 on Windows XP up vote 1 down vote favorite I have https://www.mindtimebackup.eu/knowledgebase/480307-Cannot-start-the-service-on-local-computer-Error-1930xc1 a service that I've built using the C# ServiceBase class. It works when I run it in Windows 7 and Windows Server 2008; however, it doesn't work on Windows XP. I created the service using sc create PBUService binpath= "C:\PBULogger.exe". This is the correct path. Nothing is logging in the Event Viewer under anything and my exception handling code doesn't fire either. I thought maybe I didn't have the correct .NET http://stackoverflow.com/questions/14652199/servicebase-service-error-1930xc1-on-windows-xp version installed, but I have 4.0 installed on the XP machine. However, I created this project using Visual Studio Express 2012, which I'm pretty sure uses .NET 4.5 by default. Is this causing an issue? All the classes I'm using are version 4.0. I have stripped down all my code to the base methods and this still doesn't work. Here is my code: namespace PBULogger { class PBULoggerService : ServiceBase { protected override void OnStart(string[] args) { try { base.OnStart(args); } catch (Exception ex) { EmailUtility.sendEmail("Service Error", ex.Message + ex.StackTrace); } } protected override void OnStop() { base.OnStop(); } } Since it doesn't log in the event viewer, it tells me it isn't even trying to start the service. I found these entries in my registry for the service under 'HKEY_LOCAL_MACHINE/System/ControlSet001/Enum/Services/PBUService/Enum'. Not really sure what it means. Anybody know what's going on? c# service windows-services share|improve this question edited Feb 2 '13 at 21:43 svick 123k23194304 asked Feb 1 '13 at 17:54 hacket 4673720 XP does not support .net 4.5. So if you targeted that framework, it could be the cause of your issue. –John Koerner Feb 2 '13 at 21:47 add a comment| 5 Answers 5 active oldest votes up vote 7 down vote accepted You
Libraries Question 0 Sign in to vote Hi, I am trying to run a .NET service I installed and I get the error could not start service servicename on local computer. Error 193:0xc1. I have unistalled and reinstalled the service but https://social.msdn.microsoft.com/Forums/vstudio/en-US/6b336241-2cfa-4160-b570-9429ee66f763/could-not-start-service?forum=netfxbcl to no avail. What could be the problem thanks in advance Wednesday, March 28, 2007 11:00 AM Reply | Quote Answers 0 Sign in to vote See this link - http://support.microsoft.com/default.aspx?scid=kb;en-us;Q325680 Apparently, this might be due to having a file named "program", "common" (or some of the others) on your system drive. Andrej Wednesday, March 28, 2007 3:44 PM Reply | Quote All replies 0 Sign in to vote Hi, If you're the developer of this service, try putting some exception handling into could not your OnStart method and write any exception message to event log or txt file. You could also try debugging this service by ataching a debugger to it, but you'll have to insert some timeout into your OnStart method, which would allow you to do this quickly enough. Andrej Wednesday, March 28, 2007 3:10 PM Reply | Quote 0 Sign in to vote I need to fix this on a production machine on which I cannot debug. Is this a bug or is could not start the registry corrupt, How can I get my service running again thanks Wednesday, March 28, 2007 3:34 PM Reply | Quote 0 Sign in to vote See this link - http://support.microsoft.com/default.aspx?scid=kb;en-us;Q325680 Apparently, this might be due to having a file named "program", "common" (or some of the others) on your system drive. Andrej Wednesday, March 28, 2007 3:44 PM Reply | Quote 0 Sign in to vote yes you are right, I came across the support article myself while googling. Thanks for your help Wednesday, March 28, 2007 3:57 PM Reply | Quote 1 Sign in to vote The biggest mistake we do that we make that project in which win service exist as class library. where as it should be changes into console application. when you convert it into console application, and you will after rebuild make setup project , it will run with out any hassles INSHALLAH. Thanks Mr. Tariq Ahmed Khan Avanza Solutions Pvt. Ltd. Software Engineer Pakistan Karachi Proposed as answer by Muhammad Tariq Khan Ahmed Thursday, November 11, 2010 8:58 AM Thursday, November 11, 2010 8:57 AM Reply | Quote Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.Would you like to participate? Privacy statement Dev Centers Windows Office More... Related Sites Visual Studio Visual Studio Integrate VSIP Program Microsoft .NET Microsoft Azure Connect F