Share via


Fixing an error with a correlation ID:

Question

Thursday, June 19, 2014 2:00 PM

I am trying to add a user and am getting an error a correlation ID.  Is there a way to fix this without going to server directly?

All replies (3)

Friday, June 20, 2014 9:05 AM âś…Answered

Hi  ,

For your issue, you can configure diagnostic logging in SharePoint  Server 2010:

$path = "C:\Logs\MSS\Diagnostics"

#Check if the directory exists and create it otherwise

if (!(Test-Path $path))

{

    New-Item $path -Type Directory

}

 

#Configure SharePoint 2010 diagnostics logging

Set-SPDiagnosticConfig -DaysToKeepLogs 5 -LogLocation $path -LogMaxDiskSpaceUsageEnabled -LogDiskSpaceUsageGB 5

This script sets the diagnostics logging settings to keep logs for 5 days, for a maximum of 5 gigabytes, and to store the log files in the folder "C:\Logs\MSS\Diagnostics".

By default, diagnostic logging is configured to write logs to the same drive and partition that SharePoint Server 2010 was installed on. Because diagnostic logging can use lots of drive space and writing to the logs can affect drive performance, you should configure logging to write to a drive that is different from the drive on which SharePoint Server 2010 was installed.

Reference: http://technet.microsoft.com/en-us/library/ee748656(v=office.14).aspx

Best Regards,

Eric

Eric Tao
TechNet Community Support


Thursday, June 19, 2014 2:29 PM

All errors are tracked with Correlation IDs, so we can track the series of events that happened immediatly before and after the exception.

If you don't want to be invasive at the server, you can fileshare the ULS logs folder, access those logs remotely and diagnose the problem. But most fixes are completed from within the server.


Friday, June 20, 2014 9:15 AM

Hi

that's  depends based on error . Please provide more details about that error

Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.