Sunday, June 12, 2011

SharePoint 2010: Unexpected error for Site Settings after creating site based on custom site template with alternate CSS

After creating a new site based on a custom site template that is using an alternate CSS file, you receive "An unexpected error has occurred" when trying to access Site Settings:


To fix this issue, run the following command in SharePoint 2010 Powershell:

$w = Get-SPWeb http://site/subsite; $w.AlternateHeader = $null; $w.Update()

Appears to be yet another bug in SharePoint 2010. Sigh...

4 comments:

  1. We're not getting an error, but we are getting a blank page when we try to access site settings on a new site based on a template. Do you think this fix will work for us as well?

    ReplyDelete
  2. Thank you for great tips. It was simple to read, but I'd like to add that if your company needs to be updated try outsource software development.

    ReplyDelete
  3. Thanks this saved me a lot of time!

    ReplyDelete
  4. this works - thanks heaps

    ReplyDelete