Author: newbie2C# | Posted on: 11/20/2009 3:19:46 PM | Views : 983

I just ran a project and got the following error: System.BadImageFormatException: Field token out of range.  I did a little reading online.  One article  in the msdn library said "A BadImageFormatException exception is thrown when the file image of a DLL or executable program is not valid."  
This project ran fine a couple days ago.  I don't recall doing anything that would cause this type of error.  I don't know what would be causing this error or how to fix it.  Does anyone have any ideas?  Thanks.


This is from the stack trace of the error page:
[BadImageFormatException: Field token out of range.] Microsoft.VisualStudio.WebHost.Host.GetProcessTok ...

Go to the complete details ...