Microsoft KB Archive/896147

From BetaArchive Wiki
Knowledge Base


How to re-create a deleted Site Directory in SharePoint Portal Server 2003

Article ID: 896147

Article Last Modified on 3/24/2005



APPLIES TO

  • Microsoft Office SharePoint Portal Server 2003




INTRODUCTION

This article describes how to re-create a deleted Site Directory in Microsoft Office SharePoint Portal Server 2003. The Site Directory lists the Microsoft Windows SharePoint Services Web sites that are associated with a portal site. By default, the name of the area that contains the Site Directory is the Sites area. When you click Sites on the navigation bar, you can use the Site Directory to perform the following actions:

  • Access all Web sites that are associated with a portal site.
  • Create new Web sites.
  • Search for Web sites.
  • Add a link to a Web site.

If you deleted the Site Directory, and you now want to use the features of the Site Directory, follow the steps in this article to re-create the Site Directory.

MORE INFORMATION

After you re-create the Site Directory, new Windows SharePoint Services Web sites that you create are automatically added to the Site Directory. To add existing Web sites to the Site Directory, use the Stsadm.exe command-line tool to generate a list of Web sites that were associated with the portal site before you re-created the Site Directory. Then, add the links for those Web sites to the Site Directory.

To re-create the Site Directory, follow these steps:

  1. Create a new subarea named Sites. To do this, follow these steps:
    1. Connect to the home page of the portal site.
    2. Under Actions on the home page, click Change Settings, and then click the Page tab.
    3. In the Subarea Templates section of the Change Settings: Home page, click Subareas can use any template, and then click OK.
    4. Under Actions on the home page, click Create Subarea.
    5. In the Title and Description section of the Create Area page, type SiteDirectory in the Title box.
    6. In the Template section of the Create Area page, click Site Directory area template, and then click OK.
    7. Click SiteDirectory on the navigation bar.
    8. Under Actions on the SiteDirectory page, click Change Settings, and then click the General tab.
    9. In the Title and Description section of the Change Settings: Site Directory page, type Sites in the Title box.

      Note The URL that is displayed in the URL name box is SiteDirectory. Do not modify the name of the URL that is displayed in the URL name box.
    10. Click OK.

      The Sites subarea that you created contains the Site Directory.
  2. Configure subareas to use the Contents area template. The Contents area template is the default template that subareas use. This step is optional. To configure subareas to use the Contents area template, follow these steps:
    1. Click Home on the navigation bar.
    2. Under Actions on the home page, click Change Settings, and then click the Page tab.
    3. In the Subarea Templates section, click All areas will use the following template, click Contents area Template, and then click OK.
  3. Use the Stsadm.exe command-line tool to generate a list of existing Web sites that were associated with the portal site before you re-created the Site Directory. To do this, follow these steps:
    1. Click Start, click Run, type cmd in the Open box, and then click OK.
    2. At the command prompt, change to the following folder:

      Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\Bin

    3. At the command prompt, type the following, and then press ENTER:

      stsadm.exe -o enumsites -url http://ServerName

      The Web sites that are associated with the portal site are listed in the Command Prompt window.
  4. Add links for existing Web sites to the Site Directory. To do this, follow these steps:
    1. Click Sites on the navigation bar.
    2. Under Actions on the Sites page, click Add Link to Site.
    3. In the Site Link section of the Add Link to Site page, type the title of the Web site in the Title box. Then, type the URL of the Web site in the URL box.
    4. Specify any other information that you want to add, and then click OK. For example, if you want to include a description, type a description in the Description box.
    5. Repeat step 4b to 4d for each link that you want to add to the Site Directory.


REFERENCES

For more information about how to work with the Site Directory, see the "Working with the Site Directory" section of Microsoft Office SharePoint Portal Server 2003 Help. To view SharePoint Portal Server 2003 Help, click Help on a portal site Web page, or see the User's Help.chm file. The User's Help.chm file is located in the Docs folder in the root folder of the SharePoint Portal Server 2003 CD.

For more information about the Stsadm.exe command-line tool, see the following topics in the "Reference" chapter of the Microsoft Office SharePoint Portal Server 2003 Administrator's Guide:

  • Command-Line Operations
  • Command-Line Parameter
  • Command-Line-Properties

The Microsoft Office SharePoint Portal Server 2003 Administrator's Guide (Administrator's Help.chm) is located in the Docs folder in the root folder of the SharePoint Portal Server 2003 CD.


Additional query words: sps wss

Keywords: kbhowto kbinfo kbconfig KB896147