Microsoft KB Archive/829114

From BetaArchive Wiki

Article ID: 829114

Article Last Modified on 12/12/2007



APPLIES TO

  • Microsoft Windows Small Business Server 2003 Standard Edition
  • Microsoft Windows Small Business Server 2003 Premium Edition
  • Microsoft Windows SharePoint Services 2.0




SUMMARY

This step-by-step article describes how to remove and how to reinstall the Microsoft Windows SharePoint Services 2.0 companyweb Web site for Microsoft Windows Small Business Server 2003. These steps may be needed if the original installation of the Windows Small Business Server 2003 Intranet component is not completed successfully, or if a problem with Microsoft Internet Information Services (IIS), Microsoft SQL Server, or the Microsoft SQL Server Desktop Engine (also known as MSDE) causes the companyweb Web site to stop working correctly.

MORE INFORMATION

This article discusses changes to IIS, Windows SharePoint Services 2.0, Microsoft SQL Server Desktop Engine (WMSDE), SQL Server, and the registry. You may want to back up these components before you start this process. For example, create a system state backup for the registry, the COM+ database, and other important components. Create a metabase backup for IIS settings. If you have data on the http://companyweb site or on any other Windows SharePoint Services 2.0 sites on the Windows Small Business Server computer, make sure to back up the SQL Server and WMSDE databases. For example, back up the sts_config and sts_Servername_1 databases. Back up the Windows SharePoint Services 2.0 site by using the stsadmn or smigrate tools.

For more information about how to back up http://companyweb data, click the following article number to view the article in the Microsoft Knowledge Base:

829112 How to back up and restore http://companyweb data in Windows Small Business Server 2003


Remove the Windows SharePoint Services 2.0 companyweb Web site for Windows Small Business Server 2003

Note The steps in this article instruct you to look for and manually remove any SharePoint Web sites, application pools, files, and registry keys that are left over after you uninstall the Windows SharePoint Services 2.0 program and the SharePoint MSDE. If the steps say to remove one of these components, and you discover the component was removed already, just go to the next step.

Uninstall the Windows Small Business Server 2003 Intranet component

  1. Click Start, click Control Panel, and then click Add or Remove Programs.
  2. Select Windows Small Business Server 2003, and then click Change/Remove. The Setup Wizard appears.
  3. Click Next to start the wizard.
  4. On the Windows Configuration page, click Next.
  5. On the Component Selection page, in the Action column, change Server Tools to Maintenance, change Intranet component to Remove, and then click Next.


Note If the Intranet component previously did not install successfully, the option to remove the Intranet component may be unavailable. In that case, go to the "Uninstall Microsoft SQL Server Desktop Engine (SHAREPOINT) and Windows SharePoint Services 2.0" steps.

  1. On the Component Summary page, click Next.
  2. Click Finish.

back to the top

Uninstall Microsoft SQL Server Desktop Engine (SHAREPOINT) and Windows SharePoint Services 2.0

  1. In Add or Remove Programs, select Microsoft SQL Server Desktop Engine (SHAREPOINT), and then click Remove.
  2. Click Yes when you are prompted to confirm.
  3. If Microsoft Windows SharePoint Services 2.0 appears in the list of currently installed programs, select this program, and then click Remove.
  4. Click Yes when you are prompted to confirm.

back to the top

Delete the companyweb and SharePoint Central Administration Web sites

  1. Click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
  2. In IIS Manager, expand servername, and then expand Web Sites.
  3. Under Web Sites, right-click SharePoint Central Administration, and then click Delete.


Note Do not delete the Microsoft SharePoint Administration Web site because this site is part of the FrontPage Server Extensions component.

  1. Click Yes when you are prompted to confirm.
  2. Under Web Sites, right-click companyweb, and then click Delete.
  3. Click Yes when you are prompted to confirm.

back to the top

Delete the Application Pool

  1. In IIS Manager, expand servername, and then expand Application Pools.
  2. Right-click StsAdminAppPool, and then click Delete.
  3. Click Yes when you are prompted to confirm.
  4. If any other StsAdmin application pools exist, delete these too. For example, if there is an application pool named StsAdminAppPool1, delete it.


Note Do not delete MSSharePointAppPool because this application pool is part of the FrontPage Server Extensions component.

back to the top

Rename the Sharepoint and companyweb folders

  1. Start Windows Explorer, and then find the MSSQL$SHAREPOINT folder. By default, this folder is in the following location:

    C:\Program Files\Microsoft SQL Server\MSSQL$SHAREPOINT

  2. Right-click the MSSQL$SHAREPOINT folder, and then click Rename.
  3. Rename the folder to MSSQL$SHAREPOINT.old, and then press ENTER.
  4. Find the companyweb folder. By default, this folder is in the following location:

    C:\Inetpub\companyweb

  5. Right-click the companyweb folder, and then click Rename.
  6. Rename the folder to companyweb.old, and then press ENTER.

back to the top

Delete the registry keys for the Intranet component

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

  1. Determine the Web site identifiers for all the Web sites that are configured in IIS. To do this, follow these steps:
    1. Click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
    2. In IIS Manager, expand servername, and then click Web Sites.
    3. In the right pane, examine the Identifier column for all the Web sites that are configured, and write these values down.
  2. Start Registry Editor.
  3. Backup and then delete the following subkeys:
    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\SHAREPOINT
    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SmallBusinessServer\Intranet


    To back up a registry key, right-click the key, and then click Export. To delete a registry key, right-click the key, click Delete, and then click Yes to confirm.
  4. Expand the following subkey:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\Ports



    Under Ports, you will see one or more subkeys named Port /LM/W3SVC/n:. In the subkey name, n is an identifier for a SharePoint or FrontPage Server Extensions-enabled Web site. For example, if the Default Web Site is extended with the FrontPage Server Extensions, and the Default Web Site identifier is 1, you will see a subkey named Port /LM/W3SVC/1:.
  5. Delete any subkey under Ports that does not correspond to one of the Web site identifiers that you wrote down in step 1c. For example, if a subkey named Port /LM/W3SVC/3: exists, but no Web site is configured with this identifier in IIS, delete the Port /LM/W3SVC/3: subkey.

Note In a typical Windows Small Business Server 2003 installation, the companyweb site uses 4 as its identifier in IIS. If the Windows Small Business Server 2003 Intranet component could not be installed, there may be a Port /LM/W3SVC/4: subkey left over from the failed installation, even if the companyweb site was not created.

back to the top

Change the TCP port for the Symantec Mail Security for Microsoft Exchange Web site

If the server is running Symantec Mail Security for Microsoft Exchange 4.5, you must change the TCP port for the Mail Security Web site before you reinstall the Windows Small Business Server Intranet component. This is because the Mail Security Web site uses TCP port 8081 by default. This TCP port is the same port that the SharePoint Central Administration Web site uses.

Important Do not use the IIS Manager snap-in to change the TCP port for the Mail Security Web site. Doing this may cause the Mail Security program to stop working. Instead, install the Symantec Mail Security for Microsoft Exchange console, and then use this console to change the TCP port for the Web site.

For information about installing the Symantec Mail Security for Microsoft Exchange console, see the how-to topic titled "To install the Symantec Mail Security for Microsoft Exchange console" in the Symantec Mail Security for Microsoft Exchange Help.

For information about changing the TCP port, see the how-to topic titled "To change the TCP port and use SSL" in the Symantec Mail Security for Microsoft Exchange Help.

back to the top

Install the Windows SharePoint Services 2.0 companyweb Web site for Windows Small Business Server 2003

Determine whether your copy of Windows Small Business Server 2003 Disk 3 is an original copy or an updated copy

Original copies of Windows Small Business Server 2003 Disk 3 contain a DLL with an expired digital certificate. Therefore, when you install Windows Small Business Server 2003 with an original Disk 3, the Intranet component does not install successfully. To determine whether your copy of Windows Small Business Server 2003 Disk 3 is an original copy or an updated copy, follow these steps:

  1. Load Windows Small Business Server 2003 Disk 3 in the CD drive.
  2. Open Drive:\SBS\CLIENTAPPS\SHAREPT. In this path name, Drive is the drive letter for the CD drive.
  3. In the SHAREPT folder, open the Sts.cab file, and then extract the Sqmcfg.dll file to the hard disk drive. The Sts.cab file is a hidden file, and you will have to enable the Show hidden files and folders setting in Folder Options, if this setting is not enabled already.
  4. Open the folder where you extracted the Sqmcfg.dll file, right-click Sqmcfg.dll, and then click Properties.
  5. Click the Digital Signatures tab.
  6. Click to select the digital signature, click Details, and then click View Certificate.
  7. On the General tab, find the valid to date.


If the valid to date is 11/24/2003, you have an original copy of Disk 3. If the valid to date is 11/24/2009 or a later date, you have an updated copy of Disk 3.

If you have an original copy of Disk 3, you can still use this disk for the installation. However, after the Windows Small Business Server 2003 Setup program has finished running, you will have to install the 832880 update.

For more information about the 832880 update, click the following article number to view the article in the Microsoft Knowledge Base:

832880 You cannot successfully install the intranet component or connect to http://companyweb in Windows Small Business Server 2003


back to the top

Use the Windows Small Business Server Setup 2003 program to install the Intranet component

  1. Click Start, point to Control Panel, and then click Add or Remove Programs.
  2. In the Currently installed programs list, click Microsoft Windows Small Business Server 2003, and then click Change/Remove.
  3. In the Microsoft Windows Small Business Server Setup Wizard, click Next repeatedly until the Component Selection page is displayed.
  4. In the Server Tools list, click Maintenance.
  5. In the Intranet list, click Install.
  6. At the Logon Information screen, click Log on automatically, and then type your password for the user account that you currently are logged on with. Your password is temporarily stored until the Setup process is completed or canceled.
  7. Click Next, and then follow the instructions that appear on the screen to complete the installation of the Intranet component. Realize that if you are using an original copy of Windows Small Business Server 2003 Disk 3, you will receive the following error message on the Component Summary page:

    An error occurred while installing Windows SharePoint Services 2.0 and creating your Intranet site.

    This message is expected when you are using an original Disk 3.
  8. On the Component Summary page, click Next, and then click Finish.
  9. Restart the server when you are prompted.
  10. If you are using an original Disk 3, install the 832880 update after the restart. For additional information about this update, visit the following Web site:

    http://go.microsoft.com/fwlink/?LinkId=21951
  11. Visit the companyweb Web site (http://companyweb) to verify that you can access the site.
  12. If you have to restore the companyweb databases, these database files are located in the MSSQL$SHAREPOINT.old folder.

    For more information about restoring the companyweb databases after reinstalling the Windows Small Business Server 2003 Intranet component, click the following article number to view the article in the Microsoft Knowledge Base:

    829113 How to restore a Windows SharePoint Services companyweb database after the intranet component and SQL Server or MSDE 2000 have been removed on Windows Small Business Server


back to the top

REFERENCES

For more information about the Windows SharePoint Products and Technologies 2003 software development kit (SDK), visit the following Microsoft Web site:


For more information about the Windows SharePoint Services Administrator's Guide, visit the following Microsoft Web site:

back to the top

Keywords: kbhowto KB829114