SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
  1. Configured the Document Conversions services in Central Admin.
  2. Enabled document conversion on the "Document" content type from the site collection settings.

Now when I try to open ANY document library I get the following error message:

An unexpected error has occured.
Web Parts Maintenance Page: If you have persmission, you can use this page 
to  temporarily close Web Parts or remove personal settings. For more 
information, contact your site administrator.

When I check the ULS it is logging a System.NullReferenceException: Object reference is not set to an instance of an object.

To troubleshoot:

  • I created a fresh site collection and still had the same problem so it has nothing to do with my custom code.
  • From the Web Part Maintenance Page I deleted the XsltListViewWebPart and the page loads fine, but with no control of the library.

Something must be configured wrong. Any help?

share|improve this question
up vote 0 down vote accepted

I found the answer to this and will post it here for anyone else that runs into this SharePoint bug. Source:

Its works finally, by keep the 4 options of configuring the conversion checked without click on apply button, since the ExcludedTransformers then will not be added to the xmldoucment element inside the xmlscheme for the content type. which not result of raising error when the function: PrepareContentTypeFilter(SPList list, Hashtable[] excludedTransformers) called to loop through unchecked options.

it seems for me a bug from Microsoft when adding the ExcludedTransformers to the hashtable excludedTransformers[index].Add(key, type.Id.ToString());.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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