Error details from SharePoint correlation ID

Error details from SharePoint correlation ID
5 votes, 4.20 avg. rating (85% score)

Introduction

Got the correlation id in SharePoint and want to get what is the information/error details related to the correlation id, then this is quick way

Skill Level – Medium


View details from the logs with correlation id

Assuming you are having below error and you want get the logs with the correlation id from all the servers (WFE, AppServer), then use the script

image

Open the powershell and execute the below command with correlation id from the error. It will get all the information from all the servers of the farm and create file error.log. Open this file in ulsviewer to see the error information.

Merge-SPLogFile -Path ".\error.log" -Correlation "5ca5269c-8de5-4091-3f1b-f179af4d5121"
 


Conclusion

Do not worry which server to open and see if the log file has information of the error. Just open any server and run the above script which will present the required information, very good and efficient way :)

September 13, 2014 В· Adi В· No Comments
Tags:  В· Posted in: Debugging and Testing, Powershell, Sharepoint 2010, SharePoint 2013, Uncategorized

Leave a Reply

What is 15 + 12 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)