• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 808
  • Last Modified:

Event 0,DataCollectorsvc

Hi guys

Environment : SBS2011 Std Edition
Migrated : Yes, several months ago
MSUpdates : Fully updated, until now

The problems that i am having are listed below :

Event 0, DatacollectorSvc occurs in the event logs and that Windows SBS Manager service doesn't start, please see 1.PNG:

I recently updated the server with one update which was KB2862330 and after deploying that update the below started happening.

I've tried uninstalling the update and restarted the server but nothing has changed since.

I'm not sure if the update has caused this but would like your input on how to resolve.
The service that Windows SBS Manager is dependant on - SQL Server (SBSMonitoring) is started however event 103 SQLAgent$SBSMonitoring also doesn't start, please see 2.png.

Event 0, DatacollectorSvc

Service cannot be started. System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.Collections.ArrayList.get_Item(Int32 index)
   at System.DirectoryServices.ResultPropertyValueCollection.get_Item(Int32 index)
   at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.ADUtil.GetUsers(String query)
   at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.ReportConfiguration.UpdateDomainEmailAddresses(String domainEmailAddressesXML)
   at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.MonitoringSQLDataStore.GetOneReportConfiguration(SqlConnection conn, SqlDataReader reader)
   at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.MonitoringSQLDataStore.GetReportConfigurations()
   at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.DataCollectorSvc.InitializeReportGenerationTask()
   at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.DataCollectorSvc.InitializeTaskList()

Thank you.
1 Solution
Lee IngallsDirector of IT/TS, Quality and FinanceCommented:
I've had instances of SQL Server Agent failing to start... view your SQLAGENT.out with Notepad to see what's causing the failure.

Reference this article first:

Then look at this Microsoft KB article specific to 2008 but very similar to what you're experiencing:
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
Probably easiest to just repair/reinstall SBS Monitoring:

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now