Introduction:
Here I will explain how to solve the Service on local computer started and then stopped, some services stop automatically if there are not in use by other services or programs
In previous article I explained clearly how to create windows service and how to run windows service in scheduled intervals and how to install windows service in system. In my system I tried to install windows service completion writing the code but at that time I was unable to install windows service I got error like this
|
If you enjoyed this post, please support the blog below. It's FREE! Get the latest Asp.net, C#.net, VB.NET, jQuery, Plugins & Code Snippets for FREE by subscribing to our Facebook, Twitter, RSS feed, or by email. |
|||
Subscribe by RSS
Subscribe by Email
|
|||
|
|



Subscribe by RSS
Subscribe by Email
18 comments :
Good Suresh......:)
@mis solutions
Please don't post spam comments
@Priyanshu
Please don't post spam comments
can you please help me whhy i am gettign this error
Windows could not start the Documentservice on local computer
Error 1053: the service didnot respond to the start or control request in a timely fashion
here Documentservice is my window service name
can you please help me whhy i am gettign this error
Windows could not start the Documentservice on local computer
Error 1053: the service didnot respond to the start or control request in a timely fashion
here Documentservice is my window service name
Guys no need of looking into logs and all
just put VIA protocol disabled from configuration manager. And try with restarting those services..
more details at
www.parigh.com
please check the properties of service
I have done the same thing but its not working still the same error when i check the appl log file it shows the below error
Service cannot be started. System.Configuration.ConfigurationErrorsException: The binding at system.serviceModel/bindings/netTcpBinding does not have a configured binding named 'TCPBindingBasicExample.WCFServiceHost.MyServiceBehaviour'. This is an invalid value for bindingConfiguration. (E:\My-VS-Project\TCPBindingBasicExample\WCFServiceHost\bin\Debug\WCFServiceHost.exe.Config line 44)
at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)
at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at Sys...
have any idea ??
this solution doesn't work for me...Any one with other solution????????????
Service cannot be started. System.Web.HttpException: The transport failed to connect to the server.
---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x80040213): The transport failed to connect to the server.
--- End of inner exception stack trace ---
at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, CultureInfo culture)
at System.Web.Mail.SmtpMail.LateBoundAccessHelper.CallMethod(Type type, Object obj, String methodName, Object[] args)
at System.Web.Mail.SmtpMail.LateB...
super :) it worked...
Not working for me,it is still showing same message
not working for me as well.
First way worked perfectly. Thank you!