Error No 1053
Contents |
timely fashion" when attempting to start, stop or pause a service Modified on: Tue, 26 Apr, 2016 at 12:13 PM PROBLEM When attempting to start, stop or pause
Error 1053 Windows Server 2008 R2
a service, one of the following error messages is encountered: "Error 1053: error 1053 apple mobile device The service did not respond to the start or control request in a timely fashion.""Error 7000: The
Error 1053 Windows 8
failed to start due to the following error: The service did not respond to the start or control request in a timely fashion.""Error 7009: Timeout (30000 milliseconds) waiting for the error 1053 apple mobile device won't start
360 games PC games
Error 1053 Print Spooler
Windows games Windows phone games Entertainment All Entertainment error 1053 windows update Movies & TV Music Business & Education Business Students & educators
Error 1053 Print Spooler Windows 7
Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security Internet https://support.threattracksecurity.com/support/solutions/articles/1000071019-error-1053-the-service-did-not-respond-in-a-timely-fashion-when-attempting-to-start-stop-or-pause 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
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 http://stackoverflow.com/questions/1673545/error-1053-the-service-did-not-respond-to-the-start-or-control-request 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 http://www.codeproject.com/Questions/462632/Error-The-service-did-not-respond-to-the-star 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 error 1053 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 error 1053 windows 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; ServicesToRun = new ServiceBase[] { new PurchaseOrderDispatcher() }; ServiceBase.Run(ServicesToRun); #else //debug code PurchaseOrderDispatcher service = new PurchaseOrderDispatcher(); service.processPurchaseOrders(); #endif } private void InitializeComponent() { this.CanPauseAndContinue = true; this.ServiceName = "Crocus_PurchaseOrderGenerator"; } private void InitTimer() { timer = new System.Timers.Timer(); //wire up the timer event timer.Elapsed += new ElapsedEventHandler(timer_Elapsed); //set timer interval var timeInSeconds = Convert.ToInt32(ConfigurationManager.AppSettings["TimerIntervalInSeconds"]); timer.Interval = (timeInSeconds * 1000); // timer.Interval is in milliseconds, so times above by 1000
Tips/Tricks Top Articles Beginner Articles Technical Blogs Posting/Update Guidelines Article Help Forum Article Competition Submit an article or tip Post your Blog quick answersQ&A Ask a Question View Unanswered Questions View All Questions... C# questions Linux questions ASP.NET questions SQL questions VB.NET questions discussionsforums All Message Boards... Application Lifecycle> Running a Business Sales / Marketing Collaboration / Beta Testing Work Issues Design and Architecture ASP.NET JavaScript C / C++ / MFC> ATL / WTL / STL Managed C++/CLI C# Free Tools Objective-C and Swift Database Hardware & Devices> System Admin Hosting and Servers Java .NET Framework Android iOS Mobile SharePoint Silverlight / WPF Visual Basic Web Development Site Bugs / Suggestions Spam and Abuse Watch features Competitions News The Insider Newsletter The Daily Build Newsletter Newsletter archive Surveys Product Showcase Research Library CodeProject Stuff communitylounge Who's Who Most Valuable Professionals The Lounge The Insider News The Weird & The Wonderful The Soapbox Press Releases Non-English Language > General Indian Topics General Chinese Topics help What is 'CodeProject'? General FAQ Ask a Question Bugs and Suggestions Article Help Forum Site Map Advertise with us About our Advertising Employment Opportunities About Us Ask a Question All Questions All Unanswered FAQ "Error 1053: The service did not respond to the start or control request in a timely fashion" Rate this: Please Sign up or sign in to vote. See more: IIS6 ASP.NET IIS Hi Friends, Quote:"Error 1053: The service did not respond to the start or control request in a timely fashion" These days, im facing above problem while working with windows server 2003. When i upload precompiled file to IIS and run command iisreset then it's stop working and my application is giving me an error like "Internet cannot display web page." Now, if i do stop it and restart then its giving above error (quoted text) and showing me cross red mark (X) on websites folder. One solution i got is to restart the server.. but dont want to do it everytime in future. thanks Posted 20-Sep-12 2:30am Dev.Vikas.S1.5K Add a Solution Comments Wes Aday 20-Sep-12 9:09am Then find out which service is failing to start and fix it. 4 solutions Top Rated Most Recent Rate this: Please Sign up or sign