Author Archive

Parser Error Message: Could not load type ‘_Default’

Written by Leif Stenfeldt. Posted in Diverse, Tips

Parser Error Message: Could not load type ‘_Default’

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

433 views