This article describes how to restore the corrupted home
page of a Microsoft Windows SharePoint Services 2.0 site or a Microsoft Windows SharePoint Services 3.0 site when you use Microsoft
Office FrontPage 2003 or Microsoft Office SharePoint Designer 2007 to author a Windows SharePoint Services site. You can
follow the steps in this article to revert to a functional home page if you
accidentally corrupted the home page of your Windows SharePoint Services site
during an edit or an author operation.
Windows SharePoint Services 3.0
Windows SharePoint Services 3.0 includes a feature that you can use to re-ghost a page. The option to re-ghost a page lets you revert to the template that does not contain any errors which is stored in the database. Follow these steps:
- Start SharePoint Designer 2007.
- On the File menu, click Open Site.
- In the Open Site dialog box, type <SiteName> in the Site Name box, and then click Open.
- In the Folder List dialog box, click to select <PageName>, and then right-click Check-Out.
- On the Edit menu, click Check-In.
Note A Green circle next to the page is displayed to indicate that the page is un-ghosted. - In the Folder List dialog box, right-click <PageName>, and then click Revert to Template.
Microsoft Office SharePoint Server 2007 Site Settings
- Start Internet Explorer.
- Browse the SharePoint site to locate Site Actions.
- Click Site Actions, and then click Site Settings.
- On the Site Settings page, click Reset to site definition under the Look and Feel option.
- On the Reset Page to Site Definition Version page, type <SiteURL> URL for the home page, and then click Reset.
Restore a corrupted Windows SharePoint Services 2.0 home page
- Copy the Default.aspx file in the Windows SharePoint Services site that contains the corrupted home page, rename the copy Defaultold.aspx, and then delete the Default.aspx file. To do so, follow these steps:
- Start FrontPage 2003, and then open the Windows
SharePoint Services site that contains the corrupted home page.
- In the Folder List, double-click the
Default.aspx file.
- On the File menu, click Save
As.
- In the Save As dialog box, type
Defaultold.aspx in the File name box,
and then click Save.
- In the Folder List, right-click the
Default.aspx file, and then click
Delete.
- When you are prompted to confirm the deletion, click
Yes.
- Create a new Windows SharePoint Services site. To do so,
follow these steps:
- On the File menu, click
New.
- In the New task pane, under
New Web site, click SharePoint team
site.
- In the Web Site Templates dialog box,
click SharePoint Team Site, and then click
OK.
- Under Options, type the URL of the new
Windows SharePoint Services site.
For example, you can create the new
site as a subsite of the site that contains the corrupted home page. If the URL
of the site that contains the corrupted home page is
http://ServerName/Sites/TeamSite, you can specify a
URL such as
http://ServerName/Sites/TeamSite/SubsiteName
for your new site. - Open the new site that you created.
To do so,
on the File menu, click Open Site, in the
Site name box, type the URL of the new site that you created
earlier in step 2, and then click Open. - In the Folder List, double-click the
Default.aspx file, and then click Copy.
- Change to the original site that contains the corrupted
home page, right-click an empty area under the Folder List,
and then click Paste.
- Delete any corrupted Web Parts that are located on the
Default.aspx page. To do so, follow these steps:
- Connect to the home page (the Default.aspx page) of
your original site in your Web browser.
- Click Modify Shared Page, and then
click Design this Page.
- Click the down arrow next to the Web Parts that you
want to delete, and then click Delete.
- Click Yes when you are prompted to
confirm the deletion.
- Add the Web Parts that you deleted to the Default.aspx
page. To do so, follow these steps:
- Click Modify Shared Page, click
Add Web Parts, and then click
Browse.
- Add the Web Parts that you want to your home
page.
For example, drag the Announcements Web Part
and the Events Web Part to the page.
- If the Home link is missing from the top
link bar, add the link to the home page back to the top link bar. To do so,
follow these steps:
- In FrontPage 2003, open the site (if it is not already
open).
- In the Folder List, double-click the
Default.aspx file.
- In the link bar, click add
link.
- In the Add to Link bar dialog box,
type Home in the Text to display box, click
the Default.aspx file, make sure that
Default.aspx is displayed in the Address box,
and then click OK.
- Double-click the link bar.
- In the Link Bar Properties dialog box,
click the General tab, and then in the Links
box, make sure that Home link appears at the top of the
list.
- After you finish recovering the home page, delete the
Defaultold.aspx file. To do so, follow these steps:
- In the Folder List, right-click the
Defaultold.aspx file, and then click
Delete
- When you are prompted to confirm the deletion, click
Yes.