Microsoft Knowledge Base Email Alertz

Error message when you add invalid characters to a Content Editor Web Part in Windows SharePoint Services 3.0: An unexpected error has occurred

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 938487 - Last Review: August 14, 2007 - Revision: 1.0

Error message when you add invalid characters to a Content Editor Web Part in Windows SharePoint Services 3.0: "An unexpected error has occurred"

SYMPTOMS

Consider the following scenario. You add a Content Editor Web Part on a Microsoft Windows SharePoint Services 3.0 Web site. You edit the Content Editor Web Part. Then, you click Source Editor and add invalid characters to the Content Editor Web Part.

In this scenario, you receive the following error message:
An unexpected error has occurred.
Additionally, when you visit the Windows SharePoint Services Web site, some Web Parts are not displayed correctly.

WORKAROUND

To work around this issue, use one of the following methods:
  • Recover the broken Web site. To do this, use one of the following methods:
    • Access the Web Part Page Maintenance Web page by adding the ?contents=1 query parameter to the Windows SharePoint Services site URL. Verify the Web Part, and then click Delete or Close to remove the Web Part.
    • Visit the page library for the Windows SharePoint Services site. Typically, the URL for the page library is as follows:
      http://SiteName/pages/forms/allitems.aspx
      On the menu of the affected Web page, click Discard check out item, and then click Delete or Close.
  • Open the Windows SharePoint Services Web site by using SharePoint Designer. On the menu of the affected Web page, select the Web part, click Discard check out item, and then click Delete or Close.

APPLIES TO
  • Microsoft Windows SharePoint Services 3.0
Keywords: 
kbtshoot kbprb kbexpertiseinter KB938487
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate