Wednesday, December 5, 2012

Error while modifying Content Query Web Part

User tried to modify Content Query Web Part and got following error:

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

  • Open the page in SPD where you put the web part
  • Right click on web part and click web part properties
  • It will give you following error

  •  This is the first step where you can narrow down the issue
  • Open Style Library > XSL Style Sheets
  • There is a file called itemstyle.xsl
  • Open that file in designer
  • Press ctrl + F and select “Replace all” option type nbsp
  • Replace it with &#160
  • Save it and try again to modify the web part
  • Let me know if you have any queries on above steps
Before making any change to any file from SPD please take backup of that particular file, this will be a real SAVIER in such situations

The best link I found for customizing Content Query Web Part –

No comments:

Popular Posts


The opinions expressed on this blog are the personal views of Pratik's SharePoint Blog, and do not represent or reflect the viewpoints or policies of any past, present, or future employer, colleague, or customer, or any other entity. The posts on this blog are provided ‘as is’ with no warranties, express or implied, and confer no rights. Use of information contained within this blog, including specific technical steps mentioned herein, is at your own risk. References to specific software products, processes, resources, or companies do not imply any endorsement.