Question

I've been getting these Unexpected ULS entries from Timer Job hourly-all-sptimerservice-health-analysis-job:

Failure retrieving Diagnostics Logs location:
System.ArgumentException: Object must be a root directory ("C:\") or a drive letter ("C").
at System.IO.DriveInfo..ctor(String driveName)
at Microsoft.SharePoint.Administration.Health.AppServerDrivesAreNearlyFull. GetDrivesForValidation()

Does anyone know what is this about?

Was it helpful?

Solution

Did you change the default Diagnostics Logs location? By default, SharePoint log files are saved to the following location: "C:\Program files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS".

From the error message, it showed there was something wrong with the logs location, check it and make sure it matches the correct format.

Configure diagnostic logging in SharePoint Server

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top