Could Not Start Terminal Services Error 193
Contents |
Windows could not start the ServiceName service on Local Computer. Error 193: 0xc1 Check the Path where the service has been installed: example: C:Program FilesApplication NameServiceName.exe This error has something to do with a file in the root error 193 0xc1 service fails to start of one the folders with a ‘ ‘ (space) in it. So: C:Program C:Program FilesApplication error 193 0xc1 windows 7 Remove the file and voila… Daniel Nikolic Daniel NikolicMore Posts Comments are closed. Links PepperByte Crew Members Andy Barendregt (26) Bob Gross error 193 0xc1 windows update (6) Daniel de Zoete (17) Daniel Nikolic (46) Esther Barthel (2) Former PepperCrew (15) Goverdien den Braven (1) Hendricus Kramer (19) Ingmar Verheij (177) Jeroen Tielen (25) Marco Drost (73) Marco Hokke (13) Martin Ligtvoet (13) error 193 0xc1 mysql Michael Lammers (5) Michaja van der Zouwen (5) PepperBoard (1) Remko Weijnen (110) Robin Plomp (80) Sander Vis (3) Silvonton Niessing (4) Stef Driessen (7) Steve Sordam (2) Teun de Boer (7) Unsorted (1) Archives Archives Select Month May 2016 (1) March 2016 (1) February 2016 (2) November 2015 (1) October 2015 (5) September 2015 (1) August 2015 (1) July 2015 (2) June 2015 (1) May 2015 (1) March 2015 (2) February 2015 (3)
How To Fix Error 193 0xc1
January 2015 (1) December 2014 (2) November 2014 (4) October 2014 (7) September 2014 (6) August 2014 (2) July 2014 (2) June 2014 (3) May 2014 (4) April 2014 (1) March 2014 (4) February 2014 (2) January 2014 (3) December 2013 (19) November 2013 (7) October 2013 (7) September 2013 (5) August 2013 (8) July 2013 (6) June 2013 (7) May 2013 (6) April 2013 (6) March 2013 (8) February 2013 (10) January 2013 (5) December 2012 (13) November 2012 (6) October 2012 (5) September 2012 (2) August 2012 (12) July 2012 (19) June 2012 (13) May 2012 (3) April 2012 (9) March 2012 (18) February 2012 (15) January 2012 (25) December 2011 (10) November 2011 (12) October 2011 (14) September 2011 (20) August 2011 (12) July 2011 (12) June 2011 (10) May 2011 (21) April 2011 (21) March 2011 (22) February 2011 (9) January 2011 (2) December 2010 (2) November 2010 (2) October 2010 (9) September 2010 (2) August 2010 (7) July 2010 (3) June 2010 (9) May 2010 (16) April 2010 (3) March 2010 (6) February 2010 (11) January 2010 (10) December 2009 (8) November 2009 (7) October 2009 (11) September 2009 (3) August 2009 (2) June 2009 (3) May 2009 (2) April 2009 (3) March 2009 (4) February 2009 (11) January 2009 (5) December 20
One games Xbox 360 games PC
Service Is Not A Valid Win32 Application.
games Windows games Windows phone games Entertainment All windows could not start the service on local computer error 1053 Entertainment Movies & TV Music Business & Education Business Students & startservice failed with error 193 educators Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security http://www.peppercrew.nl/index.php/2011/03/error-193-0xc1-when-starting-a-service/ Internet Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Band Microsoft https://support.microsoft.com/en-us/kb/186604 Lumia All Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States) Terms of use Privacy & cookies Trademarks © 2016 Microsoft
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 Overflow the company http://stackoverflow.com/questions/14652199/servicebase-service-error-1930xc1-on-windows-xp Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs http://stackoverflow.com/questions/14565435/error-193-1-is-not-a-valid-win32-application-on-windows-server-2003 Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a 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 a service that I've built using the error 193 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 version installed, but I have 4.0 installed on the XP machine. error 193 0xc1 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 124k23194305 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 must have compiled your exe either for .Net 4.5 or for 64-bit architecture (or both). This is the explanation of error code you
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 Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error 193: '%1 is not a valid Win32 application on Windows Server 2003 up vote 5 down vote favorite I would like to get some help, I'm getting this error when trying to start a windows service and it's driving me crazy. The details are: I've got a Windows Service developed on VB.NET (VS 2012), it's compiled for a x86 machine. I used InstallUtil and the "SC CREATE" command to install the service on the customer's server (running under Windows Server 2003). When I try to start the service, I get the following error message: "Could not start the service on Local Computer. Error 193: 0xc1" I looked the Event Viewer for some clues, but I couldn't find any very useful info: in the "Application" tab there are no records logged by the service so I assume it's not even running a single line of code. In the "System" tab there are records logged by the Service Control Manager with the following error message: "%1 is not a valid Win32 application." I did a long research on the web and the only solution provided is checking Windows Registry to find the ImagePath for the service and add some quotes at the beginning and end of the path. This is supposed to solve the problem but it's not working in my case. I have modified several times the ImagePath (I added and removed the quotes, tried with double a triple quotes) but I'm not getting any positive results. Could someone help me with this? Thanks in advance... windows service share|improve this question asked Jan 28 '13 at 15:33 andresf 2813 The best guess diagnostic is that your x86 service is trying to load a 64-bit DLL. The error code (0xc1) is equivalent to BadImageFormatException. Use SysInternals' ProcMon to see what DLLs are getting loaded. –Hans Passant Jan 28 '13 at 17:28 Thanks, I will give it a try. –andresf Jan 28 '13 at 18:23 add a comment| 2 Answers 2 active oldest votes up vote 5 down vote accepted I think that there is a combatibility problem with .net framework that you use and windows server 2003.Do you us