Thursday, August 30, 2012

SharePoint Correlation ID

1. Run on the powershell
get-splogevent | ?{$_.Correlation -eq "<GUID>"} | select Area, Category, Level, EventID, Message | Format-List > C:\some.log
Where GUID is correlation id, and C:\some.log is written to this log file.

2. Run on SQL WSS_Logging
select [RowCreatedTime], [ProcessName], [Area],
   [Category],  EventID,  [Message] 
 from  [WSS_UsageApplication].[dbo].[ULSTraceLog] 
 where  CorrelationId='B4BBAC41-27C7-4B3A-AE33-4192B6C1E2C5'

No comments:

Post a Comment