.NET Framework Bookmark and Share   
 index > .NET Base Class Library > could not start service
 

could not start service

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 to no avail. What could be the problem

thanks in advance

tribal

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

Andrej Tozon

Hi,

If you're the developer of this service, try putting some exception handling into 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

Andrej Tozon

I need to fix this on a production machine on which I cannot debug. Is this a bug or is the registry corrupt, How can I get my service running again

thanks

tribal

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

Andrej Tozon

yes you are right, I came across the support article myself while googling.

Thanks for your help

tribal

You can use google to search for other answers

Custom Search

More Threads

• pick a data from a file
• Why an instance of Array, is extended with methods from Enumerable class?
• problems casting an object in a listdictionary
• Event ID 5000 .net runtime 2.0 error reporting
• Using System.String
• help with a C# dictionary
• How to insert trackbar into toolstrip bar ?
• Dynamically creating types (using TypeBuilder) having circular references
• System.Reflection Help Required
• Invalid Attempt when Reader closed in Execute Scalar?