We have a SharePoint 2010 feature that works fine on my development machine, but won't activate on the staging system. It's SiteCollection scoped, the containing solution was successfully deployed on one WebApplication.

When we try to activate the feature, we get an error message with a Correlation ID. But we can't find this ID or the name of the feature in the SharePoint Logs nor in the Windows Event Log.

Maybe logging wasn't configured right or there is an error with ULS on the machine, but we haven't changed the SharePoint Logging options from the state they were after installation. Where can I find exception / error messages that happen in ULS? How must Logging be configured to allow the failed feature activation to be logged?

3 Answers 3


If you have multiple servers make sure you either check each of the servers or use the following powershell function to extract the error.

Get-SPLogEvent | ?{$_.Correlation -eq ""} | ft Category, Message -Autosize

Here is a great post from Wictor on the logs: http://www.wictorwilen.se/Post/Working-with-SharePoint-2010-Correlation-ID-in-PowerShell-and-code.aspx

  • Thx, we tried Get-SPLogEvent and Merge-SPLogFile, but couldn't find anything for the Correlation ID ...
    – Hinek
    Jun 29, 2010 at 14:56
  • I have seen the same behaviour when for example Organization mapping failed with correlation ID in Central admin. There were no trace of it in the log files either.. Jun 30, 2010 at 21:13
  • Hi, now I've found the log message in the log file on another one of the frontend servers. Somehow Get-SPLogEvent and Merge-SPLogFile couldn't find it. If you have a PowerShell example to successful search the logs from all frontends, I would happily accept your answer.
    – Hinek
    Jul 1, 2010 at 11:52
  • Same here did not find the proper correlation ID
    – Raymund
    Aug 22, 2011 at 4:28

In Central Administration, you can set the level (Error, Info, Debug, None, etc.) of the errors to be logged.

  • I've tried to set both of the dropdown boxes to verbose ... but it didn't help.
    – Hinek
    Jul 1, 2010 at 8:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.