29 January 2010

Dataset Designer not working (Visual Studio 2008)

Recently, my development machine's VS 2008 suddenly can't open the designer view for dataset file [xsd].
If you guys facing the same problem with me, you can try to run the command below:-


Open Visual Studio Tools-> Visual Studio 2008 Command Prompt.

  1. devenv/resetskippkgs
  2. devenv /resetsettings 
  3. devenv /setup
For my case, 3rd option solved my problem without uninstall/reinstall.

32 comments :

  1. Thnaks. Had the same problem. The 3rd option fixed it.

    ReplyDelete
  2. Thanks man third option it is.

    ReplyDelete
  3. the first one works for me : )

    ReplyDelete
  4. The first one worked for me.
    Thanks for posting this.

    ReplyDelete
  5. Thanks a lot.
    The third one worked for me.

    Vinay Kumar Singh
    (software developer)

    ReplyDelete
  6. Thanks a lot, the first one solved this problem (:

    ReplyDelete
  7. Thanks a lot! The first one solved it for me (in VS 2010, which has the same problem :-( )

    ReplyDelete
  8. Thank you very much

    ReplyDelete
  9. In Vs2010 the first did the job.

    Thank you very much, I was getting gray hair from this...

    ReplyDelete
  10. Thanks a lot dude!!!

    ReplyDelete
  11. In VS2008, devenv /setup solved my problem. Thanks for the tip.

    ReplyDelete
  12. Third option did the trick. Thanks dude.

    ReplyDelete
  13. Manual set the default editor to DataSet Designer:
    1) Right click the Xsd file to access the context menu
    2) Select "Open With..." option
    3) Select DataSet Editor
    4) Select the "Set as Default" button
    5) Select OK

    Note: there is an "Automatic Editor Selector (XML)" option that should make these steps redundant, however...

    ReplyDelete
    Replies
    1. Thanks. Your manual setup work for me.

      Delete
  14. Thanks. Third option works....

    ReplyDelete
  15. thanx...
    3 rd option worked for me

    ReplyDelete
  16. it worked

    initially didnot notice

    Open Visual Studio Tools->

    was searching in tools menu in the ide, then figured it it is start program

    ReplyDelete
  17. Thank you very much

    ReplyDelete
  18. Thank you very much.. You saved my day..

    ReplyDelete
  19. As the others, thanks a lot, you save my day too !

    ReplyDelete
  20. Excellent Boss, first one worked for me thanks a lot

    ReplyDelete
  21. Thanks, first one is working.

    ReplyDelete
  22. Thanks, first option worked for me in VS 2010.
    I was thinking to quit using DataSet, and go back to code, but your help made me to continue.

    Regards.

    ReplyDelete
  23. thanks, first one worked for vs2010 fior me

    ReplyDelete
  24. Thanks Alot.
    Third one worked for me.
    Saved my lot of time....
    Keep posting your findings....

    ReplyDelete
  25. Thanks First option worked for me
    VS 2010 Version 10.0.40219.1 SP1Rel

    .NET Framework Version 4.0.30319 SP1Rel

    ReplyDelete
  26. when I run the 3rd command it gives a error. the operation could not be completed, it requires elevation

    ReplyDelete
  27. Thank you so much. Third option worked for me.

    ReplyDelete
  28. Try C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Visual Studio 2008\Visual Studio Tools and run devenv /setup, worked for me

    ReplyDelete