title: connecting to SQL Server 2008 using MVC 3 ASP.net
body: <p>I am new to ASP.net's MVC 3 (using VB) and I am trying to create an application that would connect to an SQL 2008 server database.  I have gone through a tutorial (Microsoft ASP.net's Movie DB tutorial) but the tutorial uses SQL compact edition.  I am having a hard time connecting.  Am I correct in assuming that once I create a model, I should be able to just connect to SQL 2008 by changing the connection string in the Web.config file, found at the root of the application folder?  I deleted the sql ce database from the App_Data folder.  In Microsoft SQL Server Management Studio I created a new database.  I then added this to my Web.config file:</p>
  
  <pre><code>      &lt;connectionStrings&gt;
  &lt;add name="ConnectionName"
       providerName="System.Data.SqlClient"
       connectionString="Data Source=DELERIUM-PC;Initial Catalog=iDjItDb;Integrated         Security=True" /&gt;
         &lt;/connectionStrings&gt;
  </code></pre>
  
  <p>The when I run the app, and try to view the controller associated with the model, i get this error:</p>
  
  <blockquote>
    <p>The model backing the 'iDjItDBContext' context has changed since
    the database was created. Either manually delete/update the database,
    or call Database.SetInitializer with an IDatabaseInitializer instance.
    For example, the DropCreateDatabaseIfModelChanges strategy will
    automatically delete and recreate the database, and optionally seed it
    with new data.</p>
  </blockquote>
  
  <p>What must I do to connect and work with a 2008 SQL database?</p>
  
  <p>Thanks
  jason</p>