首先谢谢两位回复。yarshray:能告诉我RegSvr32怎么注册DLL?注册哪个DLL?zero8223:我刚刚才装好啊?安装过程中没有出现异常啊?
解决方案 »
- 关于Form 闪屏的问题 求解..
- 请问大量数据是用ARRAY好还是LIST好呢?
- <在线等>垃圾回收问题
- C#.net VS2005 把数据绑定到ComboBox下拉列表的时候 怎么去除掉每项空白字符
- 有人会flash as吗
- ToolStripContainer 能否实现控件的拖动?
- .Net DataWindow有没人用?
- VS2005,有什么最新发现都来说说哦
- sharepoint的search web service怎么使用啊?急
- 1.如何禁止编辑Combobox的内容? 2.可不可以在Combobox中困定两列,一列用于显示,一列用于获取值?
- C#项目下PBD文件,是一个什么文件,有什么用?怎么打开?
- .net新建项目弹出这样的对话框:VC软件包不可用或未注册!
重装又要得1个多小时,苦呀...
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.
简单的说就是你的.net安装时没有对一些TLB and DLL文件进行注册,最简单的方法就是用修复功能!最方便的就是重新安装,但一定不能再原文件存在的目录安装!