Archived Forums
>SharePoint 2013 - Setup, Upgrade, Administration and Operations
Question
-
0
Sign in to vote
The service starts, then stops immediately [The Office Web Apps service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs].
The service properties are for Local System as the log on account.
Here is more of the Event log message: Service cannot be started. System.InvalidOperationException: The farm settings are invalid, so the AgentManager cannot start successfully. at Microsoft.Office.Web.Environment.WacServer.AgentManager.AgentController.ValidateFarmSettings[] at Microsoft.Office.Web.Environment.WacServer.AgentManager.AgentController.StartAgents[] at Microsoft.Office.Web.Environment.WacServer.AgentManager.AgentManagerApplication.OnStart[String[] args] at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback[Object state]
Any assistance would be very helpful.
Monday, August 10, 2015 10:49 AM
Archived Forums
>.NET Framework Class Libraries
Question
0
Sign in to vote
Hi
I installed a Windows Service which worked fine,untill i attached my source code [VS2005] and tried debugging and kept changing the trigger time in the datatbase, which infact worked servel times and now all of a sudden stopped working.
I checked the service and it seems to have stopped and cannot restart it.
I tried resintalling it with different name , rebooted the machine, added a code to sleep for some seconds on the OnStart[] event nothing seems to be working. There is no Exception message in the event log.
Anyone has a clue to sort this out??
Following is the message
the service on Local Computer started and then stopped. Some service stop automatically if they have no work to do, for example the Performance logs and Alert Service
Thanks,
Regards,
Gauls
Answers
1
Sign in to vote
Hi Gauls,
I had the same problem for a long time and finally find the solution that is to clear the Application Log. It might help you to resolve this problem as well.
Mehrdad- Marked as answer by
0
Sign in to vote
Use the debugger and trace the execution of the OnStart[] method.
All replies
0
Sign in to vote
Use the debugger and trace the execution of the OnStart[] method.
1
Sign in to vote
Hi Gauls,
I had the same problem for a long time and finally find the solution that is to clear the Application Log. It might help you to resolve this problem as well.
Mehrdad- Marked as answer by
0
Sign in to vote
Hi Biglari,
Yes after quite a struggle i did fiqured out clearing does help most of the times.
Cheers
Gauls
gauls1
Sign in to vote
Hi All,
One of the causes of the error is "Check if you have enough disk space where the service is installed". If the disk space left is very less or No disk space it throws the same error. Free some disk space, then the service will start,[if it's not relating to programming issue] like your service was running fine suddenly it stops and whenyou try to start again it shows this message.That is the reason why when you clear Application Log you're able to start service again. i.e[When clearing Application log it gets enough disk space required]
Cheers,
mathew
2
Sign in to vote
HI I got same problem but i solved my problem to follow below steps
Here is the complete solution
//srinivasganaparthi.blogspot.com/2011/02/service-on-local-computer-started-and.html
It may usefull.
Thanks
1
Sign in to vote
Hi
It is not necessary to use local account on production box new user account could be used. This kind of error could occur if the user doesn't have proper rights on the database/file depends what's servicedoes. Cache and logs are also a gud point to look at as mentioned in previous posts.
Thanks,
Gauls
gauls0
Sign in to vote
Check the 'Event' logs as Gauls suggested. I was using a wrong 'Service behaviour' name. The issue resolved just like a charm after the change. Restarting the service may not sometimes help you, uninstall and install service again.
Error: Service cannot be started. System.Configuration.ConfigurationErrorsException: There is no service behavior named
0
Sign in to vote
Hi guys,
i have this problem with squid,when i start squid,this error appeare:
"
—————————
Services
—————————
The Squid service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.
—————————
OK
—————————"
i am using windows 7.
any clean solution?
Regars.
Sam
- Edited by
0
Sign in to vote
I also got the same issue, while i m try to start the service.
solution is if you use event log to store service log then clear that all log before start the service.
i have tried and it's working for me.
Regards,
Mayur Moradiya
//freeonlinehindimovie.org.in
0
Sign in to vote
...tks Biglari. It's my problem...best wish...:]
“The [Service name] Service on Local Computer Started and Then Stopped. Some Services Stop Automatically If They Are Not in Use By Other Services or Programs” – Windows Error Message [TEKLYNX Software]
Bookmark[0]
Please login to bookmark
Username or Email Address
Password
Remember Me
The Service on local computer started and then stopped ,Some services stop automatically if there are not in use by other services or programs
Reason: Event Viewer log files are probably full.
Solution:
- right click on “My Computer”
- choose Manage
- -----------------------------
- System tools > Event Viewer
- right click on Application
- choose Properties
- Diagnostics > Event Viewers
- click on Application and Services Logs
- choose Properties on the right panel
- -----------------------------
- change Maximum log size to bigger value
- check “Overwrite events when needed”
- reboot computer
Windows Server 2003/XP
Windows Server 2008/Windows 7
Loading
tuan.nguoianphu.com © Vo Hung Tuan Blogs 2022 | la.plume
The Windows Search Service on Local Computer started and then stopped
This happens if there are missing subkeys or registry entries under the following registry location:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search\CrawlScopeManager\Windows\SystemIndexOr if there are corrupted log files at the following location:C:\Windows\System32\Config\TxRTo resolve this issue, KB2484025 recommends that you delete all files with .BLF and .REGTRANS-MS extension in the following directory:
C:\Windows\System32\Config\TxRSince the files in the folder location above are hidden and will thus not be visible unless you set the system to not Hide Protected Operating System Files under Tools – Folder Options.
Once these files are deleted, reboot the machine. On reboot, you may observe a high CPU indicating that the Windows Search service has already started and is in process of rebuilding the Index.
If you receive an error message:
- Search Failed to Initialize, Waiting to receive indexing status or
- Microsoft Windows Search Indexer Stopped Working And Was Closed or
- Windows could not start the Windows Search on Local Computer
then you may want to see this post on Windows Search not working.
How to repair broken Windows Search using the Windows Search Troubleshootermay also interest you.