Microsoft Developer Network > Forums Home > Visual Studio Express Editions Forums > Installing and Registering Visual Studio Express Editions > Project could not be opened because Microsoft Visual C# 2008 compiler could not be created. ...
Ask a questionAsk a question
 

AnswerProject could not be opened because Microsoft Visual C# 2008 compiler could not be created. ...

  • Monday, November 26, 2007 10:02 AMop183 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    ... 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

  • Tuesday, November 27, 2007 2:16 PMop183 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    ;-) nobody help me -Smile

     

    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

  • Tuesday, November 27, 2007 2:16 PMop183 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    ;-) nobody help me -Smile

     

    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 ;-)))

  • Sunday, December 16, 2007 6:33 PMMinge014 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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?
  • Sunday, December 16, 2007 6:51 PMMinge014 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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!
  • Tuesday, February 12, 2008 7:14 PMgrumlin2006 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Thank you! That solved the problem.

  • Wednesday, March 12, 2008 6:28 PMRyan Means Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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.

     

  • Friday, March 28, 2008 7:35 PMalexandresn Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Cara, que coisa mais louca! Mas a sua resposta me ajudou muito. Obrigado

     

  • Monday, April 07, 2008 10:43 PMkingcomtech Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    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 ***.

  • Tuesday, April 08, 2008 9:33 PMsamicalgary Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Minge,

     

    your solution solved my problem, thax a lot .

     

     

     

  • Monday, April 21, 2008 1:02 AMDTheDeveloper Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    thanx mate u saved my day
  • Friday, May 09, 2008 11:59 PMdejavumaster Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
     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 Smile

  • Tuesday, June 10, 2008 4:08 PMDrake Campbell Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    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

     

  • Saturday, July 05, 2008 1:59 PMBroken Pipe Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Proposed Answer
    I found easer way.

    devenv /ResetSkipPkgs
    • Proposed As Answer byMicah Martin Tuesday, December 16, 2008 3:14 AM
    •  
  • Tuesday, July 08, 2008 3:02 AMAlexeiOst Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    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!

     

  • Friday, September 05, 2008 11:57 AMa_-__Chris__-_ Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks a lot, that solved my problem!

    Regards
    Chris
  • Sunday, September 07, 2008 10:42 PMNeo 07 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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


  • Thursday, September 11, 2008 8:29 AMmartca Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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.
  • Tuesday, September 23, 2008 3:51 AMWJohnS Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    That was back in 2007...and this trick still works in 2008! Thanks for the help. This happened after initial install of VS2008 Express.

  • Friday, October 17, 2008 6:35 PMKrushnak Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Proposed Answer

     

    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
    •  
  • Monday, October 20, 2008 6:00 PMDumboo Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks a ton!!!!

    -Haris
  • Wednesday, October 22, 2008 9:48 AMAalokB Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    devenv /ResetSkipPkgs

     

    this worked fi9..

    thanks..

     

  • Wednesday, November 19, 2008 3:23 AMorlandomon Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     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

  • Wednesday, November 19, 2008 4:38 AMRyoki Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     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 /ResetSkipPkgs


    Hi, 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?

  • Wednesday, November 19, 2008 8:02 AMMunish Kumar Sehgal Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     

    Thanks a lot....
  • Tuesday, December 02, 2008 12:35 PMJon R Warren Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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.
  • Monday, December 15, 2008 4:34 AMSandeep Nakarmi Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    thanks a lot.. you saved my time when it was very hectic.

    thanks again


    Kryptonite
  • Thursday, December 25, 2008 2:53 PMannalippel Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    op183 u r  def the boss! solved my problem and saved my life!!!
  • Friday, January 02, 2009 10:53 PMMSDN Guy Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks a bunch!!!!
  • Thursday, February 26, 2009 11:53 AMalfalui Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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!
  • Friday, April 10, 2009 2:25 PMJMitten Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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.
  • Monday, April 13, 2009 9:13 AMlgsscout Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Proposed Answer
    Thank you!

    I have this error and i have fixed
    • Proposed As Answer bylgsscout Monday, April 13, 2009 9:14 AM
    •  
  • Saturday, April 25, 2009 8:08 PMMustafa Nöbet Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    u're perfect, Thanks a lot, I just fixed that...
    u saved my 3 hours ;)



    MuS_tAfn
  • Saturday, June 27, 2009 6:51 AMDeepak Anmol Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    ;-) nobody help me -Smile

     

    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
  • Wednesday, July 15, 2009 10:39 AMbaddkabee Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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
  • Monday, August 17, 2009 11:07 PMsmallrinilady Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    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.

  • Wednesday, August 26, 2009 12:51 AMSathiyanath Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi I also face the same problem. after i did the changed in registry as you said, the problem solved. Thanks for your info

  • Tuesday, September 15, 2009 3:48 PMGillesMichard Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks I just had the problem.
    I found something about devenv, but it seems missing in the Express edition
  • Saturday, September 19, 2009 10:16 PMjh1507 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks Alot!

    You really helped me i had that same problem
    Thanks.
  • Wednesday, September 23, 2009 2:41 AMNguyen Ba QuangMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I agree with smllrinilady. Just deleted all under HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Packages.
    It work for me.
  • Thursday, October 01, 2009 4:16 AMSamir Adhikari Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks a lot. i came across the same problem and ur solution made my problem solved!!! Thanks again
  • Wednesday, October 07, 2009 6:32 AMsh4 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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.
  • Monday, October 12, 2009 3:08 PMFab Sr Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    "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 is

    HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Packages

    I set all 5 to 0 and worked.


    I walk the line
  • Friday, October 16, 2009 9:49 AMRabiul Rahaman Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    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

  • Friday, November 06, 2009 7:06 PMfintech Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks alot, after 2 reinstalls with no luck this did the trick on Windows 7, VS 2008
  • Friday, November 06, 2009 8:14 PMPatibandha Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    This is GR8

    i was having this problem.. 

    this solve my problem.. 

    thanks man..  many thanks..