If you are using MVC5 in VS 2013 Update 2 RC and getting this error:
An exception of type ‘System.Data.Entity.Core.ProviderIncompatibleException’ occurred in EntityFramework.dll but was not handled in user code
Additional information: An error occurred accessing the database. This usually means that the connection to the database failed. Check that the connection string is correct and that the appropriate DbContext constructor is being used to specify it or find it in the application’s config file. See http://go.microsoft.com/fwlink/?LinkId=386386 for information on DbContext and connections. See the inner exception for details of the failure.
Check to see you haven’t uninstalled SQL 2012 Express LocalDB, since it is used in the connection strings, by default, in MVC, as you can see from this excerpt from web.config:
To fix this of course you could change all the connection string to a different data source, but the easiest is just reinstall SQL Express 2012 LocalDB, so that the out-of-the-box MVC templates will work.
the latest (at time of writing) version of SQL Server 2012 Express LocalDB is SP1, downloadable from here: http://www.microsoft.com/en-au/download/details.aspx?id=35579