Friday, June 10, 2011

Unable to edit Content Editor Webpart – Error on page

While moving the Content Editor Webpart from one place to another We get the following error message “Error On page” on the Bottom left of the IE.
After moving the content Editor Webpart, when we click Exit edit mode. It gives “Unexpected error has occurred”
This usually happens whenever we copy the HTML code from one Content Editor webpart to another, due to which the Webpart ID is also copied and it conflicts.
Modify the Content Editor Web part
Open the Source Code
Remove the following Tag from the code for e.g.:- ”id=WebPartWPXX WebPartID=”XXXX-XXXX-XXXX-XXXX-XXXXXXXX
Let me know in case of any doubts.


Bhavik Jain said...

Hi Pratik,

I am having below issue with content editor web part:

- Added a content editor web part on the site
- Edit the web part
- Insert a image from computer or sharepoint
- Get an error "Unexpected Error"

This was migrated from 2007 version
This is happening only on one site

Any Ideas on this ! ! !

Pratik Vyas said...

Hey Bhavik,
What is the image extension ?
Is site added to the trusted zone ?
Which browser you are using ?
Please let me know your findings, Thanks.

Rajib Mridha said...

Well, this is a very valuable post. Thanks for the information you provided. It would be great if got more post like this. I appreciate it.
Web content editor

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.