Posted on: 2/26/2012 8:33:09 PM | Views : 756

I'm working on a project in MVC 3.
The name of my database is:  SchoolIn.Models.SchoolIn.dB
Here's my connectionString:
<connectionStrings>       <add name="ApplicationServices"        connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true"        providerName="System.Data.SqlClient" />
      <add name="SchoolInDB"         connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI; Database=SchoolIn.Modles.SchoolInDB; Trusted_Connection=True;User Instance=true; MultipleActiveResultSets=true"         providerName="System.Data.SqlClient" /> </connectionStrings>
...

Go to the complete details ...