I recently just started learning .NET, and more specifically I've been playing around with the MVC framework quite a bit and loving it. I'm running into a bit of a frustrating problem though. I can't add a database to my App_Data folder.
I'm running SQL Server 2008 R2 on my machine. When I go to add a new database to the App_Data folder I get a message "Connections to SQL Server database files (.mdf) require SQL Server 2008 Express to be installed and running. I did a little poking around and found this blog post describing how to set up a regular SQL Server database with mvc3. (http://blogs.lessthandot.com/index.php/WebDev/ServerProgramming/ASPNET/setting-up-sql-server-with-asp-net-mvc)
That works just fine, but after I do that when I try to add the newly created database to the App_Data folder I simply get an "Access is denied." error. I'm the admin on my machine and I can access the database just fine using SQL Server Management Studio.
Anyone know what I'm doing wrong?