Error When Adding New Class in VS 2003

C

Chris Fairall

Hi all
I am using Visual Studio 2003 Enterprise Architect, and for them most
part, everything has been working fine.
However, in the last few days, I have been experiencing a weird error,
and I was hoping someone might be able to shed some light on the cause,
and a cure.

When I have an existing solution with projects open, and I right-click
on a project, and choose Add -> New Class..., I get the following error:

"Could not run the 'C:\Program Files\Microsoft Visual Studio .NET 2003
\VC#\CSharpProjectItems\LocalProjectItems\..\CSharpAddClassWiz.vsz'
wizard."

I get similar errors for all items under the add menu, and also when
creating a new project or solution.

I have tried uninstalling VS, MSDN help, and the .NET SDK (which is
installed with VS, but not uninstalled with it). I manually deleted the
Software\Visual Studio related entries in the registry under
HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE. I deleted the files in the VS
install directory which weren't uninstalled. Then I rebooted (cold boot
- switched the machine off and then booted up). I then reinstalled
everything, but the problem persists.
After all that, as you can understand, I am getting a little frustrated.
Has anyone else found this problem? Has anyone found a solution???

Thanks
Chris.
 
G

Guest

Hi...

An errant uninstaller can unregister a COM DLL or TLB typelibrary file and
cause all kinds of IDE problems. Common problems could be "library not
registered" or unable to run "CSharpAddClassWiz.vsz". There are a number of
others.

There are 2 options available for you

1. You can try the Repair option available in the Visual Studio .NET
installer or
2. Modify all registry scripts by yourself..but before you change I wouuld
suggest to have a copy of registry..

To change registry settings..check here..


http://www.eggheadcafe.com/PrintSearchContent.asp?LINKID=574

With Best Regards
Naveen K S
 
C

Chris Fairall

Hi...

An errant uninstaller can unregister a COM DLL or TLB typelibrary file and
cause all kinds of IDE problems. Common problems could be "library not
registered" or unable to run "CSharpAddClassWiz.vsz". There are a number of
others.

There are 2 options available for you

1. You can try the Repair option available in the Visual Studio .NET
installer or
2. Modify all registry scripts by yourself..but before you change I wouuld
suggest to have a copy of registry..
Thanks for the quick response. Unfortunately, neither of your solutions
seem to work. I have repaired it about a dozen times, to no avail. I
also went through and registered every dll I could find (using regsvr32
and regasm). But this has had no effect either.

Are there any other solutions out there?

Thanks
Chris.
 
G

Guest

I just installed VS 2003 last week and I'm getting this error trying to add
anything to the project. I've run the repair (twice), uninstalled &
reinstalled the whole thing - STILL getting the error. How did you fix it?

Could not run the 'C:\Program Files\Microsoft Visual Studio
..NET\VC#\CSharpProjectItem\LocalProjecrtItems\..\CSharpAddWinFormWiz.vsz'
wizard'

The general symptom is: "Could not run the + some .vsz file + wizard." when
you try to add a class, form, or whatever to your VS.NET project.
 
G

Guest

An errant uninstaller can unregister a COM DLL or TLB typelibrary file
and
I too have experienced this problem, but in this case believe that one of my
own addins is responsible.

The addin installer was created by the VS.NET custom addin wizard - what
should I do to make sure it behaves correctly?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top