Feb 13, 2013 11:57 AM|Jay Bright|LINK
The "aspnet_regiis -i" command fixed the problem. Thanks a lot!
I had a different error message on a different machine and had submitted a different question (Type load error when trying to host an ASP.NET web app with IIS 7). However, the solution was the same: using the same command. Not sure why the error messages
One thing which still confuses me is that I had checked the .NET Framework Version for the application pool in IIS and had changed it to v4.0. But why I still got the error message until I ran the "aspnet_regiis" command?