Posted on: 7/11/2014 9:40:56 AM | Views : 664

Using Visual Studio Professional 2012
I created a new website -> ASP.NET Web Site (Razor v1) -> Using C#
When the template loads I automatically have 2 errors and 1 warning. It will not allow me to run or debug the website.
The message for the 2 errors is :
"One or more types required to compile a dynamic expression cannot be found. Are you missing a reference?"
The message for the warning is :
"C:\Users\Stephen\Documents\Visual Studio 2012\WebSites\Website1\Default.cshtml: ASP.NET runtime error: Them pre-application start initialization method Start on type WebMatrix.WebData.PreApplicationStartCode threw an exception with the following error message: Could not load file or assembly 'MySql.Web Version=6.7.4.0, Culture=neutral, PublicKey Token=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified. (C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config line 252).& ...

Go to the complete details ...