Failure retrieving Diagnostics Logs location
-
08-02-2021 - |
문제
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?
해결책
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.