473,395 Members | 1,919 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Error When Adding New Class in VS 2003

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\..\CShar pAddClassWiz.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.
Jul 21 '05 #1
4 2505

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/PrintSear...asp?LINKID=574

With Best Regards
Naveen K S


"Chris Fairall" wrote:
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\..\CShar pAddClassWiz.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.

Jul 21 '05 #2
In article <31**********************************@microsoft.co m>,
Na****@discussions.microsoft.com says...

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.
To change registry settings..check here..
http://www.eggheadcafe.com/PrintSear...asp?LINKID=574

With Best Regards
Naveen K S


"Chris Fairall" wrote:
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\..\CShar pAddClassWiz.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

Jul 21 '05 #3
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.
"Chris Fairall" wrote:
In article <31**********************************@microsoft.co m>,
Na****@discussions.microsoft.com says...

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.
To change registry settings..check here..
http://www.eggheadcafe.com/PrintSear...asp?LINKID=574

With Best Regards
Naveen K S


"Chris Fairall" wrote:
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\..\CShar pAddClassWiz.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

Jul 21 '05 #4
> > > 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".


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?
Jul 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Tony Wright | last post by:
Hi, I am having a problem installing an msi for a web site. The error message I am getting is: "The specified path 'http://mipdev05/features/Fas2' is unavailable. The Internet Information...
17
by: Steve Jorgensen | last post by:
If you've ever employed custom error numbers and messages in you programs, you've probably ended up with code similar to what I've ended up with in the past something like... <code> public...
6
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much...
9
by: Ben Dewey | last post by:
Project: ---------------------------- I am creating a HTTPS File Transfer App using ASP.NET and C#. I am utilizing ActiveDirectory and windows security to manage the permissions. Why reinvent...
10
by: Gary Hughes | last post by:
I'm getting the following error when attempting to link a managed C++ dll. I can't find any reference to these errors with google. Can anyone help? I've included the class definition causing the...
2
by: Boni | last post by:
Dear all, I am trying to dynamically create the instance (withActivator.CreateInstance) of cManop class This class uses as reference Dep4Man class. But somehow at the invokation time I get a...
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
3
by: MovnOn | last post by:
I've created an installation package for my program. Before installation, I use the User Interface to get values that are added to the registry. One of the values that the user must add is a path...
4
by: Chris Fairall | last post by:
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.