Microsoft KB Archive/938487

From BetaArchive Wiki
Knowledge Base


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

Article ID: 938487

Article Last Modified on 8/14/2007



APPLIES TO

  • Microsoft Windows SharePoint Services 3.0



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.


Keywords: kbtshoot kbprb kbexpertiseinter KB938487