Microsoft KB Archive/832811

From BetaArchive Wiki

Article ID: 832811

Article Last Modified on 10/19/2007



APPLIES TO

  • Microsoft Windows SharePoint Services 2.0
  • Microsoft Windows SharePoint Services 3.0
  • Microsoft Office SharePoint Server 2007
  • Microsoft Office SharePoint Portal Server 2003
  • Microsoft Office SharePoint Designer 2007
  • Microsoft Office FrontPage 2003




SUMMARY

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:

  1. Start SharePoint Designer 2007.
  2. On the File menu, click Open Site.
  3. In the Open Site dialog box, type <SiteName> in the Site Name box, and then click Open.
  4. In the Folder List dialog box, click to select <PageName>, and then right-click Check-Out.
  5. 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.

  1. In the Folder List dialog box, right-click <PageName>, and then click Revert to Template.

Microsoft Office SharePoint Server 2007 Site Settings

  1. Start Internet Explorer.
  2. Browse the SharePoint site to locate Site Actions.
  3. Click Site Actions, and then click Site Settings.
  4. On the Site Settings page, click Reset to site definition under the Look and Feel option.
  5. 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

  1. 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:
    1. Start FrontPage 2003, and then open the Windows SharePoint Services site that contains the corrupted home page.
    2. In the Folder List, double-click the Default.aspx file.
    3. On the File menu, click Save As.
    4. In the Save As dialog box, type Defaultold.aspx in the File name box, and then click Save.
    5. In the Folder List, right-click the Default.aspx file, and then click Delete.
    6. When you are prompted to confirm the deletion, click Yes.
  2. Create a new Windows SharePoint Services site. To do so, follow these steps:
    1. On the File menu, click New.
    2. In the New task pane, under New Web site, click SharePoint team site.
    3. In the Web Site Templates dialog box, click SharePoint Team Site, and then click OK.
    4. 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.
    5. 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.
    6. In the Folder List, double-click the Default.aspx file, and then click Copy.
    7. Change to the original site that contains the corrupted home page, right-click an empty area under the Folder List, and then click Paste.
  3. Delete any corrupted Web Parts that are located on the Default.aspx page. To do so, follow these steps:
    1. Connect to the home page (the Default.aspx page) of your original site in your Web browser.
    2. Click Modify Shared Page, and then click Design this Page.
    3. Click the down arrow next to the Web Parts that you want to delete, and then click Delete.
    4. Click Yes when you are prompted to confirm the deletion.
  4. Add the Web Parts that you deleted to the Default.aspx page. To do so, follow these steps:
    1. Click Modify Shared Page, click Add Web Parts, and then click Browse.
    2. 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.
  5. 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:
    1. In FrontPage 2003, open the site (if it is not already open).
    2. In the Folder List, double-click the Default.aspx file.
    3. In the link bar, click add link.
    4. 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.
    5. Double-click the link bar.
    6. 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.
  6. After you finish recovering the home page, delete the Defaultold.aspx file. To do so, follow these steps:
    1. In the Folder List, right-click the Defaultold.aspx file, and then click Delete
    2. When you are prompted to confirm the deletion, click Yes.


REFERENCES

For more information about FrontPage 2003, visit the following Microsoft Web site:

For additional information about how to configure and administer Windows SharePoint Services, see the Microsoft Windows SharePoint Services 2.0 Administrator's Guide. To obtain the Microsoft Windows SharePoint Services 2.0 Administrator's Guide, visit the following Microsoft Web site:

For more information about Windows SharePoint Services 3.0, visit the following Microsoft Web site:


Additional query words: MOSS2007 WSSv3

Keywords: kbhowto kbinfo kbconversion kbwebservices kbcorrupt KB832811