Parser Error Message: Could not load type ‘_Default’

20 12 2006

While developing a .Net web app in C# with Visual Studio 2005, I got this error:

Parser Error Message: Could not load type ‘_Default’

The reason: My website configuration was using the wrong .NET framework version (1.1.4322).

The solution: Change it to use a .NET 2.0 version. In my case, 2.0.50727

The result: a nicely displayed page :)

If you’re experiencing something similar, I hope this sheds some light ;)






LiveSTRONG