Consider this scenarion in SharePoint webpart:
"An unexpected error occured"
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:
1. 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.
2. 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.aspxOn the menu of the affected Web page, click Discard check out item, and then click Delete or Close.
3. 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.