Previous Topic: 刪除 Microsoft SharePoint 網站並解除安裝 Microsoft SharePointNext Topic: 還原 Microsoft SharePoint Service


重新安裝 Microsoft SharePoint 和 MSDE

解除安裝 Microsoft SharePoint 後,您必須重新安裝 Microsoft SharePoint 和 MSDE,以便建立中繼資料庫。若要這麼做,請執行下列程序:

若要重新安裝 Microsoft SharePoint 和 MSDN

  1. 從 Windows Small Business Server 2003 安裝光碟的下列位置,重新安裝 Microsoft SharePoint Service:
    X:\SBS\CLIENTAPPS\SHAREPT\setupsts.exe
    

    其中 X 是您光碟機的磁碟機代號。

    Note:If your installation CD has the MSDE core file digital signature issue and it has expired, download the updated Microsoft SharePoint Services setup program (STSV2.exe) to reinstall Microsoft SharePoint Services.

  2. 在重新安裝的最後一個階段會出現錯誤訊息,通知您已發生 Microsoft SharePoint 安裝程式錯誤,此次安裝無法更新您的預設網站。這個錯誤訊息是 Windows Small Business Server 2003 Microsoft SharePoint 安裝特有的,可以忽略。

    關閉頁面,然後按一下 [確定]。

  3. 安裝之後,STS 會建立 Microsoft SharePoint Central Administration 網站和名為 STS_config 的 Microsoft SharePoint 配置資料庫。

    如果缺少 Microsoft SharePoint 配置資料庫 STS_config,您的 MSDE 核心檔案數位簽章可能已過期。請執行下列步驟以解決此問題:

    1. 刪除 Microsoft SharePoint 網站並解除安裝 Microsoft SharePoint。

      Note:See section Delete the Microsoft SharePoint Website and Uninstall Microsoft SharePoint for more information about deleting and uninstalling.

    2. 下載更新過的 Microsoft SharePoint Services 安裝程式 (STSV2.exe)。
    3. 回到本主題的開頭,重新安裝 Microsoft SharePoint 和 MSDE。
  4. 在 IIS Manager 的 [網站] 下,建立新的虛擬網站,將它命名為 companyweb,並選取它的主目錄路徑。預設路徑通常是 c:\inetpub\companyweb。如果您使用預設位置,在所有還原作業完成後,路徑將會還原為原始路徑。
  5. 在 STS 安裝程序中,安裝程式會隨機選取 TCP 連接埠來建立 Microsoft SharePoint Central Administration 網站。為了與您的原始設定一致,請在備份之前先使用 IIS Manager,將連接埠變更為原始設定 8081。
  6. 從 Microsoft Internet Explorer 啟動 Microsoft SharePoint Central Administration 網站:http://localhost:8081,以便建立新的 Microsoft SharePoint 網站並還原原始的 Microsoft SharePoint 內容。

    Microsoft SharePoint Central Administration 首頁隨即開啟。

  7. 按一下 [擴充或升級虛擬伺服器],再從虛擬站台清單選取 [companyweb]。
  8. 從 [虛擬伺服器清單] 選取您要更新的伺服器。
  9. 在 [擴充虛擬伺服器] 清單上,選取 [擴充並建立內容資料庫]。
  10. 在 [擴充並建立內容資料庫] 頁面的必要欄位中輸入適當的資訊。

    此時 MSDE 中已經建立一個隨機命名的新內容資料庫。