visual-studio-2010crashstrongly-typed-dataset

Can't load dataset after Visual Studio 2010 crash


Here's my problem : Visual studio crashed while I was writing some code. After restarting, I got an error message "failed to load dataset because of the following error : column requires a valid datatype". I'm using 2 typed dataset and none of them want to open in the designer. I tried Restarting VS, rebooting computer, loading an old and working version of the project, open the project on another computer (using Team Foundation), deleting sources files and replace them with ones from an old and working version. Nothing worked.

Any help would be greatly appreciated.


Solution

  • I solved this issue a while ago but I didn't find any solution online so here's my solution if someone ever needs it :

    The issue come from the custom data type I use in one of the datatable. After the crash Visual studios was unable to recognize this type I created. This caused the Dataset to fail when loading (because of the unknown datatype) thus preventing me to rebuild the whole solution. Being unable to rebuild the solution prevented to compile my custom datatype and so on.

    In order to solve this loop of fails, you can either :