MSMVPS.COM
The Ultimate Destination for Blogs by Current and Former Microsoft Most Valuable Professionals.

VC Package not available or not registered

After reinstall VS.net,when i want to create a new project, vs.net raise a error ,it's message is "VC Package not available or not registered"?

Referrence MSDN

http://support.microsoft.com/default.aspx?scid=kb;en-us;320427

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.

and the resolution is to  run the Visual Studio .NET repair, and the setup program will re-registered the TLBs and DLLs  files.

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.

but i dislike this way,and i hopethere is a better way to do that .


Posted Oct 24 2003, 12:37 PM by ch21st

Comments

ch21st wrote re: VC Package not available or not registered
on 07-30-2004 17:55
"vc package not available or not register " --- This message displays during Open projects.
ch21st wrote re: VC Package not available or not registered
on 07-30-2004 19:01
Before repair the VS setup program,try registering
vcpkg.dll
VCProject.dll
VCProjectEngine.dll
VCProjectConversion.dll
under the \Program Files\Microsoft Visual Studio NET\Vc7\vcpackages folder

ch21st wrote re: VC Package not available or not registered
on 08-06-2004 10:35
I tried the rebuild, but it didn't work.

I found that having Infopath on my machine cause thevb.net and c# installs to hang.

I will try registering the dlls.


Thanks
Michael
ch21st wrote re: VC Package not available or not registered
on 11-17-2004 14:44
how do you register these 4 dlls with vcpackages folder?
ch21st wrote re: VC Package not available or not registered
on 03-08-2005 12:15
how can i get the solution from the comment that .net gives in the begning like "VC package not available or not registered"
ch21st wrote re: VC Package not available or not registered
on 03-08-2005 12:18
I tried all the sugession that this site says but i am not getting the solution from this problem is there any one who solve my problem "VC Package not available or not registered"
ch21st wrote re: VC Package not available or not registered
on 03-31-2005 21:47
Don't have to go to control panel and repair, I got this alternative solution from Martin Searle at http://www.dotnetmonster.com/Uwe/Forum.aspx/vs-net-setup/1109/VC-Package-not-found-or-not-available-Error-Msg-VSNet-2003

Create a batch file and put this contents:

------------START OF BATCH FILE --------------

regsvr32 /s "C:\Program Files\Common Files\Microsoft Shared\Visual Database Tools\vdt70.dll"
regsvr32 /s "C:\Program Files\Common Files\Microsoft Shared\VS7Debug\pdm.dll"
regsvr32 /s "C:\winnt\system32\msdxm.ocx"
regsvr32 /s "C:\Program Files\Common Files\Crystal Decisions\1.0\Bin\ExportModeller.dll"
rem regsvr32 /s"C:\Program Files\Common Files\Microsoft Shared\Web Folders\msonsext.dll"
regsvr32 /s "C:\Program Files\Common Files\Microsoft Shared\VS7Debug\pdm.dll"
regsvr32 /s "C:\Program Files\Common Files\Microsoft Shared\MSDesigners7\msddslm.dll"
regsvr32 /s "C:\Program Files\Common Files\Microsoft Shared\MSDesigners7\msdds.dll"
regsvr32 /s "C:\Program Files\Common Files\Crystal Decisions\1.0\Bin\Cdo32.dll"
regsvr32 /s "C:\Program Files\Common Files\Designer\MSADDNDR.DLL"
rem regsvr32 /s "C:\Program Files\Common Files\Microsoft Shared\Office10\MSO.DLL"
regsvr32 /s "C:\Program Files\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll"
regsvr32 /s "C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\VDT\vdt70p.dll"
regsvr32 /s "C:\Program Files\Common Files\Microsoft Shared\MSI Tools\mergemod.dll"
rem regsvr32 /s "C:\Program Files\Common Files\Microsoft Shared\MSEnv\vsext.olb"
regsvr32 /s "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\vcpackages\VCProject.dll"
regsvr32 /s "C:\Program Files\Common Files\Microsoft Shared\Help\hxds.dll"
regsvr32 /s "C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\VsWizard.dll"
regsvr32 /s "C:\Program Files\Common Files\Microsoft Shared\MSDN\CookDoc.dll"
regsvr32 /s "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\vcpackages\VCProjectEngine.dll"
regsvr32 /s "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\vcpackages\resedit.dll"
regsvr32 /s "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\vcpackages\bined.dll"
regsvr32 /s "C:\Program Files\Common Files\Crystal Decisions\1.0\Bin\Cdo32.dll"
regsvr32 /s "C:\Program Files\Common Files\Microsoft Shared\MSEnv\dte.olb"
regsvr32 /s "C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Packages\Compsvcspkg.dll"
regsvr32 /s "C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\vsmacros.dll"
regsvr32 /s "C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Packages\Debugger\vsdebug.dll"
regsvr32 /s "C:\Program Files\Common Files\Microsoft Shared\MSDesigners7\msddsf.dll"
regsvr32 /s "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\vcpackages\vcpkg.dll"

------------END OF BATCH FILE --------------

Cut and paste the above text.
Run the batch file.


This solution is great.
Thanks Martin.


Regards,
Albert
ch21st wrote re: VC Package not available or not registered
on 04-03-2005 1:57
Wow, that batch file rocks!
ch21st wrote re: VC Package not available or not registered
on 04-11-2005 21:58
Great! Thankyou Martin
ch21st wrote re: VC Package not available or not registered
on 04-16-2005 3:39
yes, that's its.thnx
ch21st wrote re: VC Package not available or not registered
on 04-24-2005 11:03
That batch file is awsome! Thanks
ch21st wrote re: VC Package not available or not registered
on 05-19-2005 22:58
That batch file saved me hours of re-installing...thanks!!!
ch21st wrote re: VC Package not available or not registered
on 05-26-2005 20:23
That batch file is awsome! Thanks
ch21st wrote re: VC Package not available or not registered
on 05-28-2005 3:49
Batch seemed to work great! Thanks, I still get one error though.
Once I create a web project I get an error:

Library not registered.

Any ideas?
ch21st wrote re: VC Package not available or not registered
on 07-25-2005 7:57
I encounter the same as Luis. I got this error for every project type not just web project. is there any ways to tackle this problem?

Add a Comment

(required)  
(optional)
(required)  
Remember Me?


Copyright © is the original authors. Blog site is an independent site not sponsored by Microsoft. The Yoda blog server and the Brianna SQL server would like to thank www.ownwebnow.com and www.exchangedefender.com. They wouldn't be here and broadcasting without the generosity of Vlad Mazek and his companies.

Powered by Community Server (Commercial Edition), by Telligent Systems