vs.net2003的"VC軟件包不可用或未註冊"的提示

ghost恢復win2003,dotnet又出了這個問題,有個blog的解釋如下:


這一般是安裝了雙系統的原因,windows installer發現TLBs 和DLLs已經存在,就不再註冊,可以通過調用控制面板中的vs.net安裝程序,選擇2中的修復,就可以了. 可以參考MS Support Q320427.

查了一下msdn,原因不是由於雙系統,而是由於多次安裝,tlbs,dlls存在引起的,我的雙系統是win2003,suse linux,

把q320427引用如下:

PRB: "VC Package Not Available or Not Registered" Error Message

適用於

This article was previously published under Q320427

SYMPTOMS

When you create a WinForms application, you may receive the following error message:
"VC Package not available or not registered"
This behavior can occur even after what appears to be a successful installation.

CAUSE

This behavior seems to occur because the Windows Installer does not register TLBs and DLLs if the installer finds that these items already exist. In most cases, a previous version of Visual Studio .NET causes this behavior, even if the previous installation was under a different operating system.

RESOLUTION

To resolve the problem, run the Visual Studio .NET repair. A repair is more effective for fixing this issue because the repair process forces registration of items that are not re-registered during an install.

To run the repair, follow these steps:
  1. On the Start menu, point to Settings, click Control Panel, and then click Add/Remove Programs.
  2. On the list of installed programs, click Visual Studio .NET, and then click Change.
  3. Click the second item in the 1 2 3 Visual Studio Setup dialog box.
  4. Click Repair/Re-install, and then follow the onscreen instructions.

MORE INFORMATION

Steps to Reproduce the Behavior

To reproduce the problem, it is best to have two operating systems installed on separate partitions. Two installations of Windows XP Professional will work.
  1. Install Visual Studio .NET under one operating system.
  2. Install Visual Studio .NET under the other operating system; change the default location to match the installation location of the first installation.
  3. Both installs report as successful.
  4. Start the copy of Visual Studio .NET that you installed in step 2.
This type of installation is never recommended. Even if the installation selections are exactly the same, and you can save disk space by performing this type of installation, the potential for problems is high. If one installation changes files and registry entries, these changes are not recorded by the other installation, which creates a substantial risk for unexpected results.

 

發佈了26 篇原創文章 · 獲贊 3 · 訪問量 10萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章