God damn. I took me about a half of an hour to Google that out…

 

Things to do to fix Visual Studio C++ Express (Probably in most cases you don’t have to delete those entries first. (worked for me)):

 

  1. Go to Start -> All Programs -> Accessories -> Run, and type “RegEdit.exe”
  2. Locate the following folder/key: “HKEY_LOCAL_MACHINE\SOFTWARE\Classes\VsWizard.VsWizardEngine.9.0″
  3. Right click -> Permissions -> Advanced -> Owner (Should be getting alot of “No permission to do that” likely-errors)
  4. Click one time on “Administrators”, then click “OK”.
  5. Expand “VsWizard.VsWizardEngine.9.0″, Right Click CLSID and do the same. (Do that to all subfolders which is under “VsWizard.VsWizardEngine.9.0″ aswell, if any.)
  6. Right Click “VsWizard.VsWizardEngine.9.0″ and click “Delete”, choose yes if you get an confirmation window.
  7. Right Click “VsWizard.WizCombo.9.0″ and set permissions for that folder and subfolders, and delete that one too.
  8. If everything went fine, you shouldn’t have any folder called “VsWizard.WizCombo.9.0″ or “VsWizard.VsWizardEngine.9.0″ anymore.
  9. Goto: Start-> All Programs -> Accessories, Right Click “Command Promt” and click “Run as administrator”.
  10. Navigate to your Microsoft Visual Studio IDE folder, by using the “cd” command. (usually “cd C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE”)
  11. Type “RegSvr32.exe VsWizard.dll”. You should get a window telling that you’ve registered that dll file (or something like that).
  12. Start RegEdit.exe again (if you haven’t), and locate to “HKEY_LOCAL_MACHINE\SOFTWARE\Classes\VsWizard.VsWizardEngine.9.0″. This should have been added again.
  13. Right Click -> Permissions, you should see “Administrators” and “SYSTEM” or something, click them both and enable Full Control and Read.
  14. Do the same for subfolders (should’ve been done automatically), and then do it for “VsWizard.WizCombo.9.0″ and subfolders, which should’ve been added again.
  15. Close RegEdit.exe
  16. Start the version of visual studio you have, create a new project, and watch how it works!

 

uff… I hate Microsoft software…



18 Responses to “Solution: VS C++ 2008 “Project creation failed” bug”  

  1. I’m also getting this problem, but when I try to do step five, right click the CLSID, I can’t find anything that says CLSID. All I see is (default). What can I do? By the way I’m running Windows Vista.

  2. I probably also had it like this but I wasn’t sure. Try to make some new project, save it or restart something – probably then it’ll appear. (I haven’t done more experiments by myself)

  3. Okay I fixed that previous problem, but now it wont let me delete VsWizard.VsWizardEngine.9.0. I right click the folder and select delete. But it says error while deleting key.

  4. be sure that you have admin priviladges opening regedit and then play in Permissions trying to add your username and administrator everywhere where’s possible (Vista says there strange things that it cannot be done while indeed it does O_o )
    Good luck!

  5. 5 Danielle

    I also cannot find the VsWizard.VsWizardEngine.9.0. What should I do?

  6. 6 Ousama

    Hey! This worked for me. Thanks for doing this research and helping everyone out.

  7. 7 Grayson

    Thanks very much. This worked great!

  8. 8 Hero

    Cool, works now thanks. Oh and make sure you check “allow” for owner permission “full control” so you can delete them.

  9. 9 fromPortugal

    MAN!!!

    THANK YOU VERY MUCH!!!

    I searched almost all the internet, to find a solution for this bug. Nor microsoft’s forum help me.
    only yours solution works to me.

    It amazing how microsoft plays against himself… LOL

  10. 10 Can

    I do exactly what u write here. But I also have project creation error. What should I do ?

  11. 11 Eru

    It works! thanks a lot :-D

  12. 12 NB

    I did everything it says. Everything worked but I’m still getting the project error.

  13. 13 ATZ

    Navigate to your Microsoft Visual Studio IDE folder, by using the “cd” command. (usually “cd C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE”)

    ?

    I don’t understand this.
    What should I exactly write in the command prompt?

  14. 14 NEK

    I did all the steps but unfortunatedly I couldn’t create C++ projects. Same problem.

  15. 15 МММ

    спасибо огромное!

  16. 16 Sam

    thanks, man. This solution hellped me with that а error on my windows7 & express c++.

  17. 17 Blukkie

    I had to manually download the .dll file; for some reason it was not there. But now it added:
    - VsWizard.VsWizardEngine
    - VsWizard.VsWizardEngine.1
    - VsWizard.WizCombo
    - VsWizard.WizCombo.1

    There’s also a VsWizard.TestWizard.9.0 in the Register-editor. Leave untouched?
    I gave the above full permissions but my express 2008 still refuses to create a project…

    It’s probably my .dll. For those where it worked: could you upload it perhaps?

    Thanks in advance.

  18. 18 haitham

    man .. i love u thxxxxxxxxx :D


Leave a Reply