Solution: VS C++ 2008 “Project creation failed” bug
27Dec08
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)):
- Go to Start -> All Programs -> Accessories -> Run, and type “RegEdit.exe”
- Locate the following folder/key: “HKEY_LOCAL_MACHINE\SOFTWARE\Classes\VsWizard.VsWizardEngine.9.0”
- Right click -> Permissions -> Advanced -> Owner (Should be getting alot of “No permission to do that” likely-errors)
- Click one time on “Administrators”, then click “OK”.
- 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.)
- Right Click “VsWizard.VsWizardEngine.9.0” and click “Delete”, choose yes if you get an confirmation window.
- Right Click “VsWizard.WizCombo.9.0” and set permissions for that folder and subfolders, and delete that one too.
- If everything went fine, you shouldn’t have any folder called “VsWizard.WizCombo.9.0” or “VsWizard.VsWizardEngine.9.0” anymore.
- Goto: Start-> All Programs -> Accessories, Right Click “Command Promt” and click “Run as administrator”.
- 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”)
- Type “RegSvr32.exe VsWizard.dll”. You should get a window telling that you’ve registered that dll file (or something like that).
- 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.
- Right Click -> Permissions, you should see “Administrators” and “SYSTEM” or something, click them both and enable Full Control and Read.
- 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.
- Close RegEdit.exe
- Start the version of visual studio you have, create a new project, and watch how it works!
uff… I hate Microsoft software…
Filed under: Informatics, Programming, Tips | 43 Comments
Tags: 2008, bug, c++, microsoft, project creation failed, solution, studio, visual, vs
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.
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)
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.
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 )
Good luck!
I also cannot find the VsWizard.VsWizardEngine.9.0. What should I do?
Hey! This worked for me. Thanks for doing this research and helping everyone out.
Thanks very much. This worked great!
Cool, works now thanks. Oh and make sure you check “allow” for owner permission “full control” so you can delete them.
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
I do exactly what u write here. But I also have project creation error. What should I do ?
It works! thanks a lot 😀
I did everything it says. Everything worked but I’m still getting the project error.
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?
I did all the steps but unfortunatedly I couldn’t create C++ projects. Same problem.
спасибо огромное!
thanks, man. This solution hellped me with that а error on my windows7 & express c++.
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.
man .. i love u thxxxxxxxxx 😀
it still doesnt work, does anyone else know how?
after I tried several times with
finding the CLSID folders (“expand” was grey at first)
and
deleting “VsWizard.WizCombo.9.0″ or “VsWizard.VsWizardEngine.9.0″
It totally worked with both of the 2008 and 2010 express editions, following the steps you gave.
Thank you soooooo much! good job!
All the time i’ve got error while delting file, anybody knows why? help please
Your solution helped me to solve the big problem troubled me two days. Thank you very much!
P.s. I hate Microsoft software too …..
You said I shall Expand de Vswizard data but where I shall expand the data??? at the desktop? or where is the best place for this datas??? pls help
A key in registry editor naturally.
oh… ok and before I delete the Wizard Combo 9.0 shall I expand this too? (like the wizard engine 9.0)
Damn, I’m getting an error when inputing the VsWizard DLL. I check the directory and the DLL is there.
The error states
“The Module “VsWizard.dll” failed to load.
Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent .DLL files.
The specified module could not be found.”
Why can RegSvr32 not find the DLL, I double checked and I’m definately linking to the right directory.
When I used the RegSvr32.exe VsWizard.dll
I got that
The Module “VsWizard,dll” failed to load
not working((((((((((((((((((((((((((
doesn’t work for VS2010
Worked for me perfectly ! MSVC 2008
sooo glad its fixed. If people do not see the sub folders of the registery keys they should add full control to the parent folder. Then you will see the contents.
For those who have the problem “The Module “VsWizard,dll” failed to load”, make sure you use the correct directory.
For my Windows 7, I should use “cd C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE”, after that, it should work already!
Its such as you learn my mind! You appear to know so much approximately this, like you wrote the book in it
or something. I believe that you just can do with some percent to power the message house
a bit, but instead of that, this is great blog. A great read.
I will definitely be back.
i changed the permissions for VsWizard.VsWizardEngine.9.0 and still can’t expand it!! what should i do?
I guessed that should update to VsWizard.VsWizardEngine.11.0 for VS 2012… but not working. 😦
Hey There. I found your blog using msn. This is a really well written article.
I will make sure to bookmark it and return to read more of
your useful info. Thanks for the post. I’ll certainly return.
What’s up to all, how is the whole thing, I think every one is getting more from this site, and your views are nice in support of new viewers.
I couldn’t execute this on my CMD… RegSvr32.exe VsWizard.dll 😦
Nope, no luck same problem still
Link exchange is nothing else however itt is onpy placing thhe other person’s webpage
llink on your page at proper place and other persoon will also do same in support oof you.
Hi, I configure Illustrator sdk templates with visual studio 2008,
but when I creating a Illustrator plugin ,it gives a message ,project creation is failed.
so please help me.
Regards
Kundan