Creating project <projectname>... project creation failed!
-
3 iunie 2009 10:23Hi!
I know that this question has been asked many times before, and I have been searching on the net for solutions for a very long time now, and I have tried to solve this problem in many ways, without the desired result.
When I try to create a new project in VC++ Express Edition 2008 (any project), a message is shown in the status bar saying "Creating project <projectname>... project creation failed". Nothing that I finds on the internet works for me. I'm running Vista, and I have seen that IE7 has caused problems to many. However, I was able to create projects with Vista earlier when IE7 was installed. So I thought that it might be due to IE8. I uninstalled IE8, but the error remained. Belows a list with things I've tried:
• Reinstall VC++ template to registry
• Change permissions of template in registry
• Change permissions of project folder
• Reinstall VC++ Express Edition
Today, I decided to have a look in the Windows Log. First, I made Visual C++ generate the error for me, then I looked in the log. The error message which was logged was "One or more templates do not match any installed project packages.". Any idea what this might mean?
This same thing happens in Visual Studio 2010 Professional Edition Beta when I'm trying to create any new project which has to do with VC++.
Toate mesajele
-
3 iunie 2009 10:41ModeratorYour registry is damaged, probably beyond repair if you already tried to reinstall. Doing things like "reinstall VC++ template to registry" is a good way to get in trouble like this. Next thing to try is restoring a Restore Point.
Hans Passant. -
3 iunie 2009 10:49Would that be the only way? I've had this problem quite a while and I have done pretty much since then. Or will it be impossible for me to use Visual C++ anymore otherwise?
-
5 iunie 2009 14:01The following post addresses the same issue, which has been solved already. I hope it helps.
Project creation failed with VS2008, only on C++ projects
Good luck. -
9 iunie 2009 07:48I did everything that was suggested in that thread, but nothing worked.
-
28 iulie 2009 17:31I got the same problem. I've looked at all the solutions online about editing registry, none of them work. What the ____ is wrong with it??
-
23 iunie 2010 19:17Does anyone have a solution for this? I am using visual studio 2010 and getting the project creation failed message. Kindly help.
-
25 septembrie 2011 08:26Hi.. did u receive any solution to your problem so far? I am also stuck with the same issue and have got a huge workload pending.. :(
-
26 octombrie 2011 01:24Same issue in 2010...any help anyone?
-
2 noiembrie 2011 14:37A system restore is most likely the only way at this point and short of a complete reinstall of your opperating system. I'm not sure what else to say other than Don't Ever Install Anything To The Registry! (unless it is one of those programs that has to of course)
-
20 noiembrie 2011 13:48I was having this exact problem with Visual Studio 2010 Ultimate (Windows 7 64 bit) which had installed correctly but when I tried to create a new project, I always got the message project creation failed. I couldnt find a solution any where on the internet which worked for me. After debugging, I got the following solution:
- First try the solution steps mentioned in http://masteranza.wordpress.com/2008/12/27/solution-vs-c-2008-project-creation-failed-bug
- If the above steps solve your problem well and good or move to step 3
- Run Regedit as an Administrator. Go to HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{f414c260-6ac0-11cf-b6d1-00aa00bbbb58}\InprocServer32
- Right click on InprocServer32 .You will notice that only the system account is present. Give Full Control access to the System account if not already present. Now, add your Administrator account (or the account with which you are trying to create the project) and give it Full Control access. Close the Regedit
- Now try to create a project again.
Visual Studio tried to open the above registry key which belongs to McAfee (the antivirus on my system), when creating a project. Not sure why it does this, but as the key has a permission issue, it cannot open it. -
30 ianuarie 2012 20:09
Thank you very much for this solution.
I had the same problem with Visual C++ 2010 Express. Nothing worked until I found your suggestion.
-
8 noiembrie 2012 15:36
Hi dear autwwi
I have this problem in my windows 7 x64 and non of solutions on web worked for me. but very accidentally I faced with a problem in my another user on the same computer which was very strange when I want to open any explorer window in that user an error tells me "no such interface supported" and when I looked for the solution it repaired the visual studio problem, too.
the problem was from unregistered .dll files. you have to register them again. in the solution I have found it hints you to re-register all of the dll files on your system again and don't worry I have tested it and worked fine. you may encountered many errors during the process and just neglect them and go forward.
The link which I have found this solution is here:
http://www.joejoe.org/forum/topic/18364-no-such-interface-supported-error/page__st__20
below you can see the solution
"Register all dll files within registry
1) First go Start/Run, and type in 'cmd' to bring up the Command Prompt.
2) Type 'CD \' and hit enter.
3) Type 'DIR *.dll /s /b > regdll.bat' and hit enter.
4) Type 'Notepad regdll.bat' and hit enter.
Now Notepad is going to bring up a list of your .dll files, never mind that for a moment.
5) Now type 'Path' and hit enter to see your current path. It will bring up something like: Path=c:\Windows;c:\windows\Command
6) (supplement your Windows Version, ex: C:\WINNT, or C:\Windows) Now type: 'Path=c:\windows;c:\windows\Command;c:\Windows\Pro g
ram~\Accessories' and hit enter.
7) Verify again by typing 'Path' and hitting enter, and then type: 'C:\WINNT\System32\Regsvr32.exe /s C:\' and hit enter again.
Now, go back to Notepad and if you have Win98 use the replace feature in Wordpad (CTRL + H) or notepad to search for 'C:\' and replace it with this: 'C:\Windows\System\Regsvr32.exe /s C:\'
If you have Win2000, etc. use the replace command in note pad to search for 'C:\' and replace it with this: 'C:\WINNT\System32\Regsvr32.exe /s C:\'
*Be sure to type the replace string exactly like above or it won't work*
9) Use "Replace All" to make the changes to the entire file.
10) When it finishes, save it, exit notepad or wordpad, and return to the Command Prompt.
11) Type 'regdll' and press enter. If you followed the above steps correctly it will now go through and re-register all your .dll files.
An example of a line from my bat is below
"C:\Windows\System32\regsvr32.exe /s C:\Program Files\Common Files\Microsoft Shared\ink\IPSEventLogMsg.dll"
You may receive numerous errors during this mass registration, simply clear them by clicking OK or whatever you need to to clear the error and the bat file should continue to run. The process may also seen to hang and become unresponsive. Be patient, go get a cup of coffee, a bawlz or smoke a cigarette. I am confident this will resolve your issue. It solved three for me, one involving media player, one involving the right click screen resolution option in the context menu and one involving the personalize context menu option."