解決安裝SQL2000提示PackageForTheWeb Error


 
    昨天幫同事安裝SQL2000數據庫,可安裝到“安裝程序正在安裝Microsoft數據訪問組件(MDAC)”後,提示錯誤如下:PackageForTheWeb Error,This program is used internally by PackageFromTheWeb. It should not be executed directly.安裝程序配置服務器失敗。參考服務器錯誤日誌和C:\WINNT\sqlstp.log 瞭解更多信息。
    隨後,sql2000會繼續安裝一段程序,但完畢後,菜單里根本沒有sql菜單,安裝失敗。重複安裝了很多次,結果一樣無法正常安裝。
    很多方法試過了,包括清理註冊表,清空安裝目錄等等,都不能解決這個錯誤。最後,偶在國外的網站上看到一篇文章-URL:

If you really are installing just the components then providing you have
done a dependancy check within InstallShield, things should be OK.
If however, you are trying to deploy MSDE as part of your package then
everything I can find on the matter says "Just Don't Do It". Instead
either:
1. Give the users instructions to install the MSDE package from the CD
if required and then a little application to setup and configure your
database requirements.
2. Or, download the MSDE / SQL Deployment Toolkit and build a separate
installation for your requirements using the templates provided. You can
then call that package from within your own InstallShield project.

   意思就是兩個建議:
   一是從CD光盤重新安裝;
   二是從微軟官方網站重新下載mssql2000安裝原程序,重新安裝。
   也就是說本地備份的sql2000安裝程序已經被病毒感染並破壞了,需要重新下載或從CD光盤裏安裝。
   建議你立即掃描本地硬盤,包括移動U盤,移動硬盤,進行全面殺毒;病毒殺完後再重新安裝。
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章