Error 1053 Net 4.0
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 1053 the service did not respond to the start or control request up vote 27 down vote favorite 1 I've written a Windows Service in C# that basically checks my db every minute for orders, generates a PDF from these orders, and emails it. The logic works perfectly in my tests etc.. When i create the service, and install it using the setup project, when I go to start the service in the services mmc, I get: error 1053 the service did not respond to the start or control request in a timely fashion My OnStart method looks like this: protected override void OnStart(string[] args) { //writeToWindowsEventLog("Service started", EventLogEntryType.Information); timer.Enabled = true; } Basically, just enables the timer... so theres no process intensive call there. Where am I going wrong? I've tried setting the startup account to local system, network service etc... nothing works! Edit: Here is my code: (processPurchaseOrders is the method where the db is queried and pdf's are generated etc...) public partial class PurchaseOrderDispatcher : ServiceBase { //this is the main timer of the service private System.Timers.Timer timer; public PurchaseOrderDispatcher() { InitializeComponent(); } // The main entry point for the process static void Main() { #if (!DEBUG) ServiceBase[] ServicesToRun; Servi
360 games PC games Windows games Windows phone games Entertainment All Entertainment Movies & TV Music Business & Education Business Students & educators Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security Internet http://stackoverflow.com/questions/1673545/error-1053-the-service-did-not-respond-to-the-start-or-control-request 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 Lumia All https://support.microsoft.com/en-us/kb/886695 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
Favorite Rating: "Error 1053: The service did not respond to the start or control request in https://www.novell.com/support/kb/doc.php?id=7011402 a timely fashion" when starting WECSThis document (7011402) is provided subject http://communities.bentley.com/products/licensing/w/licensing__wiki/selectserver-gateway-error-1053 to the disclaimer at the end of this document. Environment NetIQ Sentinel Windows Event Collection Service Microsoft Windows 2008 R2 64-bit Situation Message appears when trying tostart the Sentinel Windows Event Collection Service (WECS) on Windows machine: Error 1053: The service did not respond error 1053 to the start or control request in a timely fashion Resolution Make sure that the .NET 4.0 is installed on the machine where the service is running. Create the registry entry for the Services Pipe Timeout and give it higher than the default value: Start the registry editor (regedit.exe) navigate to the following key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control Right-click error 1053 net on the above key and choose New, then DWORD Value Type ServicesPipeTimeout as the name for it and press ENTER Right-click on the ServicesPipeTimeout value and choose to Modify it In the Base section click Decimal In the Value data text box type for example 60000 as the value of timeout period and click OK Restart the computer Note: The computer needs to be restarted for the Service Control Manager to apply this change. Cause By default a service has 30000 milliseconds (30 seconds) to respond to the Service Control Manager which controls the states of installed services. Sometimes performance issues or some configurations may cause the service to require more than default 30 seconds to start. Additional Information Value of 60000 in step 7 is just an example. If the service requires longer than 60000 milliseconds (60 seconds) to start, increase that value appropriately. DisclaimerThis Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire informat
Product Activation +Application Usage TechNotes and FAQs +Product Activation TechNotes and FAQs +Recommendation Engine -SELECTserver TechNotes and FAQs "An Error Has Occurred" when manually transmitting usage logs using a preconfigured URL About SELECTserver Connecting to the Bentley servers through Firewalls and Proxy Servers [FAQ] Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel...' Data Update Service Warning [TN] Database Maintenance Database Setup Tool Configuration and Explanation [FAQ] Deployed SELECTserver Database and Internet Connectivity Insight [TN] Deployed SELECTserver issue with new Bentley SSL certificate Deployed SELECTserver Knowledge Requirements [TN] Deployed SELECTserver Technical Requirements [TN] Enabling Diagnostic Logging for SELECTserver Error 1068: Cannot start the Bentley SELECTserver service Error 417 : in SELECTserver and GateWay logs Glossary Of Licensing Terms [FAQ] Group Policy Administration (ADM) files How do I keep usage reports current? How do I set up or prevent license checkouts? How to create a new website in IIS7 How to create a Virtual Directory in IIS7 How To Install a Gateways on Vista and Windows 7, Server 2008 How to Install the SELECTserver application How to migrate users to a custom activation group HTTP Error 404.13 "The request filtering module is configured to deny a request that exceeds the request content length" when importing response file HTTP Error 500.21 - Internal Server Error on SELECTserver Administrative Site Import xml File on Deployed Server IP Address Hosted Server License and SELECTserver Administration [FAQ] License Tool Command Line Options Manual Installation of SQL Express (2008 - 2012) Moving (relocating) the SELECTserver application to a new server. Moving Your SELECTserver Database +Older SELECTserver Versions Opening Admin site pager starts (runs) installer process Opening Administration Site Restricting access to a deployed SELECTserver Administration Site. Configuration example (video). Running the Data Update Service and restarting IIS in order to immediately update a deployed license Schedule Report - no Parameter selectable Security [FAQ] SELECT Server 08 11 Series [CS] +SELECTserver SELECTserver 9 Known Issues SELECTserver 9.xx.xx.xx Gateway Update Process [FAQ] SELECTserver 9.