vs.net2003的"VC软件包不可用或未注册"的提示
2004-09-04 09:32
567 查看
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
"VC Package not available or not registered" This behavior can occur even after what appears to be a successful installation.
To run the repair, follow these steps:
On the Start menu, point to Settings, click Control Panel, and then click Add/Remove Programs.
On the list of installed programs, click Visual Studio .NET, and then click Change.
Click the second item in the 1 2 3 Visual Studio Setup dialog box.
Click Repair/Re-install, and then follow the onscreen instructions.
Install Visual Studio .NET under one operating system.
Install Visual Studio .NET under the other operating system; change the default location to match the installation location of the first installation.
Both installs report as successful.
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.
这一般是安装了双系统的原因,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:
On the Start menu, point to Settings, click Control Panel, and then click Add/Remove Programs.
On the list of installed programs, click Visual Studio .NET, and then click Change.
Click the second item in the 1 2 3 Visual Studio Setup dialog box.
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.Install Visual Studio .NET under one operating system.
Install Visual Studio .NET under the other operating system; change the default location to match the installation location of the first installation.
Both installs report as successful.
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.
相关文章推荐
- VC运行时提示 "0x7c9569da"指令引用的“0x00000000”内存,该内存不能为"read"
- 技巧: 使用truss、strace或ltrace诊断软件的"疑难杂症"
- <%@ page language="C#" autoeventwireup="true" inherits="index, App_Web_vsb3n 生成网站后,发布到网站上就提示这个错误
- IT软件企业的"研究院"浅析
- DELPHI7开发Access数据库提示的"标准表达式中数据类型不匹配"
- "附加数据库"时提示无"*.ldf"文件,用同数据库名的*.ldf文件代替也不行
- <input type="text" value="">实现输入提示
- 在VC的MFC的对话框中建立ClassWizard时,提示Parsing error: Expected "=".Input Line:……
- VC里的"#define new DEBUG_NEW"
- VC++ 当我在界面上使用classwizard时,会弹出 Parsing error对话框,提示:Parsing error:Expected ")" input lin
- [VC]Visual C++ 2008(或加上Feature Pack)发行后到未装vc9上运行提示"应用程序配置不正确" 的解决方案
- WORD转PDF时提示"PDFMaker文件遗失"的解决办法
- <%@ taglib uri="http://jakarta.apache.org/taglibs/i18n" prefix="i18n" %>错误提示:找不到标签库
- 技巧: 使用truss、strace或ltrace诊断软件的"疑难杂症"
- VC2005中 提示”生成"cmd.exe"时出错 “
- "[转]以下一些使用ASP.NET和VS.NET2003的经验和技巧," 一文的评论:
- VS2008 打开"视图设计器" 和 "查看代码"提示没有可用的编辑器问题
- IT软件企业的"研究院"浅析
- 使用truss、strace或ltrace诊断软件的"疑难杂症"
- 使用truss、strace或ltrace诊断软件的"疑难杂症"