Project could not be opened because Microsoft Visual C# 2008 compiler could not be created. ...
... QueryService for '{74946829-37A0-11D2-A273-00C04F8EF4FF}' failed.
I see the message window with this text on my screen every time I try to open project in C# 2008 express. The same for new or any other project of any kind ;-). I tried to reinstall C# 2008 express few times, with the same result.
On property page in tools->options->Windows Form Designer I can see 'An error occurred loading this property page'
C++ 2008 express works fine.
Any idea???
Thank You for help in advance
Answers
;-) nobody help me -

I found in my registry
HKEY_CURRENT_USER\Software\Microsoft\VCSExpress\9.0\Packages
that there are 5 registry entries (class GUIDs) with key 'SkipLoading' set to DWORD value 0x00000001
I changed the value to 0x00000000 and now C# 2008 Express is working as expected ;-)))
Yes, it seems very easy to understand .... I am happy now and I can continue to work on my own business. What I really don't understand is why the installer wrote the value 0x00000001, because I checked the registry before (no such values where there). It is very funny!!!
Thank You Bill for self explaining name of the property ;-)))
All Replies
;-) nobody help me -

I found in my registry
HKEY_CURRENT_USER\Software\Microsoft\VCSExpress\9.0\Packages
that there are 5 registry entries (class GUIDs) with key 'SkipLoading' set to DWORD value 0x00000001
I changed the value to 0x00000000 and now C# 2008 Express is working as expected ;-)))
Yes, it seems very easy to understand .... I am happy now and I can continue to work on my own business. What I really don't understand is why the installer wrote the value 0x00000001, because I checked the registry before (no such values where there). It is very funny!!!
Thank You Bill for self explaining name of the property ;-)))
- I had the same problem, and doing that fixed it, well, half of it. Now I am still unable to load files. I can create them fine, but I can't add to project or anything. Any ideas?
- Actually, I just fixed that... Rename 9.0 in the registry to something so that you can remember it (I set it to "Hello (9.0)"),
then when you start, it will automatically create a new one, and the settings it created fixed it! Thank you! That solved the problem.
- I was having the same problem with visual studio 2008 and by changing the dword values for each skiploading key I was able to get my projects to load.
- Cara, que coisa mais louca! Mas a sua resposta me ajudou muito. Obrigado
Not only was the guid key missing but I had to change the skipLoading to 0.
Thank you guys. my job was giving me a lot of ***.
Minge,
your solution solved my problem, thax a lot .
- thanx mate u saved my day
op183 wrote: ;-) nobody help me -
I found in my registry
HKEY_CURRENT_USER\Software\Microsoft\VCSExpress\9.0\Packages
that there are 5 registry entries (class GUIDs) with key 'SkipLoading' set to DWORD value 0x00000001
I changed the value to 0x00000000 and now C# 2008 Express is working as expected ;-)))
Yes, it seems very easy to understand .... I am happy now and I can continue to work on my own business. What I really don't understand is why the installer wrote the value 0x00000001, because I checked the registry before (no such values where there). It is very funny!!!
Thank You Bill for self explaining name of the property ;-)))
Excelent, thanks a lot for you information !!!
i brith today

Hello,
Like the above posts this did fix my problem. My question is why does this fix the problem and what made you think to look in the registry and change some values? I would be interested in the technical details to the solution.
Thanks
- I found easer way.
devenv /ResetSkipPkgs- Proposed As Answer byMicah Martin Tuesday, December 16, 2008 3:14 AM
Fantastic! Works for 2005 as well. Thanks a ton!
One detail...
My VS 2005 stoped working when I installed 2008. 2008 was working fine though. I uninstalled 2005 but could not wait untill SAs reinstall it, so installed 2005 C# express. I saw that mentioned by someone else..
Anyway, THANK YOU!
- Thanks a lot, that solved my problem!
Regards
Chris - I had the same problem, and I tried the following at the VS 2008 command prompt, and I was able to open and compile solution files.
devenv /ResetSkipPkgs - I had this problem this morning and did a search and found this forum!Just as I was about to open regedit, a message came up saying "update complete would you like to restart your computer?"I said no, but tried loading the project again and Voila! it loaded!So in some circumstances it could be that windows is doing and updating whilst you are working.
That was back in 2007...and this trick still works in 2008! Thanks for the help. This happened after initial install of VS2008 Express.
I had the same issue, I tried the below command and it solved the issue.
devenv /ResetSkipPkgs
- Proposed As Answer byMicah Martin Tuesday, December 16, 2008 3:14 AM
- Thanks a ton!!!!
-Haris devenv /ResetSkipPkgs
this worked fi9..
thanks..
Broken Pipe..
Thanks for the resolution of this, I can't beleive after a new install and VS2008 SP1 that this needs to be completed but non the less thanks again..
orlandomon
Neo 07 wrote: I had the same problem, and I tried the following at the VS 2008 command prompt, and I was able to open and compile solution files.
devenv /ResetSkipPkgsHi, I'm really new to C# so I don't even know how what or how to access the VS 2008 command prompt.
Can you walk me through step by step as to how I can fix the error of the compiler?
Any help is appreciated.
Thanks.
I really need a step by step explanation. For example, where can I find the 5 registries and where is HKEY_CURRENT_USER?
Thanks a lot....- For those who don't know how to navigate to the system registry (I had to look it up), go to START>>>RUN, type in REGEDIT, hit enter, and the registry editor will open up, then just expand the folders until you find the values you want to change. Right click a value, choose modify, and your home free.
By the way, this regedit fix solved my C# problem also. thanks a lot.. you saved my time when it was very hectic.
thanks again
Kryptonite- op183 u r def the boss! solved my problem and saved my life!!!
- Thanks a bunch!!!!
- Hi everybody!
I've the same problem and first of all I tried the way of registry editing but in HKCU/Software/Windows the folder VCSExpress in not present.
So I tried to find the Key in HKCU/Software/Windows/VisualStudio/9.0/Packages but there are no keys there!
Then I tried the command devenv /ResetSkipPkgs but I've the same error.
Any ideas?
Thanks!
- Thanks so much. I was having this problem and I thought it was because I had Express edition installed prior to installing the full version (VS2008). It opened my project with no issues after changing the registry key.
- Thank you!
I have this error and i have fixed- Proposed As Answer bylgsscout Monday, April 13, 2009 9:14 AM
- u're perfect, Thanks a lot, I just fixed that...
u saved my 3 hours ;)
MuS_tAfn ;-) nobody help me -

I found in my registry
HKEY_CURRENT_USER\Software\Microsoft\VCSExpress\9.0\Packages
that there are 5 registry entries (class GUIDs) with key 'SkipLoading' set to DWORD value 0x00000001
I changed the value to 0x00000000 and now C# 2008 Express is working as expected ;-)))
Yes, it seems very easy to understand .... I am happy now and I can continue to work on my own business. What I really don't understand is why the installer wrote the value 0x00000001, because I checked the registry before (no such values where there). It is very funny!!!
Thank You Bill for self explaining name of the property ;-)))
Great .................. what a ans.....
Good Keep it up....
I also have the same prob.... & now solved
-- With Regards Deepak Anmol Sr Developer MCTS, MCP- Thank you all for solving my problem. I thought I will be spending the night reinstalling Visual Studio.... I used devenv /ResetSkipPkgs to fix it! Thanks again. badd
Using your suggestions I just deleted all under HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Packages and my problem was fixed when it created the new ones.
- Hi I also face the same problem. after i did the changed in registry as you said, the problem solved. Thanks for your info
- Thanks I just had the problem.
I found something about devenv, but it seems missing in the Express edition - Thanks Alot!
You really helped me i had that same problem
Thanks. - I agree with smllrinilady. Just deleted all under HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Packages.
It work for me. - Thanks a lot. i came across the same problem and ur solution made my problem solved!!! Thanks again
I found easer way.
devenv /ResetSkipPkgs
Yoy saved my job, thank you!!!!!!!!!
Colabora con la comunidad, si éste mensaje te ha sido de utilidad, márcalo como respuesta correcta.- "I found in my registry
HKEY_CURRENT_USER\Software\Microsoft\VCSExpress\9.0\Packages
that there are 5 registry entries (class GUIDs) with key 'SkipLoading' set to DWORD value 0x00000001
I changed the value to 0x00000000 and now C# 2008 Express is working as expected ;-))) "
For VS 2008 the path isHKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Packages
I set all 5 to 0 and worked.
I walk the line
For VS 2008 the path is
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Packages
Thanks, i save my whole day, great article, keep it up
----- Rabiul- Thanks alot, after 2 reinstalls with no luck this did the trick on Windows 7, VS 2008
- This is GR8i was having this problem..this solve my problem..thanks man.. many thanks..

