I have created a sample MVC application from here:
I am using Visual Studio 2010 IDE.
See the Setting the Connection String section.
Instead of SQL Server Compact Edition I want to directly work with SQL Server 2008 that is installed on my system so when I put following connection string in web.config i got an error message:
<add name="SchoolContext" connectionString="server=(local);database=School;user id=sa;password=1234;" providerName="System.Data.SqlClient" />

How to resolve this error?
Does the School database already exist? If so, delete it and let Code First recreate it.