Default MVC Web Application Database

Posted by wows on Stack Overflow See other posts from Stack Overflow or by wows
Published on 2009-02-10T20:28:25Z Indexed on 2010/04/11 17:13 UTC
Read the original article Hit count: 232

Filed under:
|

When setting up a new ASP.NET MVC Web Application, the default connection string inside Web.Config is something like this:

connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true"

I'm just wanting to play around with logging in and registering, etc but when I run the app it obviously can't find a SQL database. What database with what tables do I need to setup to do this?

I have SQL Server 2005 Standard installed on my system, is that enough?

Thanks.

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about datadirectory