i’m currently trying to make a asp.net mvc3 app. in the sample application which is generatet when i create the project, there is a user management.
the problem is, now the app created a database in my App_Data folder, but i want to have it on my external sqlexpress server.
but i dont know how to change the app so that it works. i just have the following things from my server:
- hostname
- database name
- username
- password
i know that i have to edit the connection string in the Web.config, but must i also change some things at the sql server?
because there are no tables, its empty. does the mvc3 create all automatically?
Run aspnet_regsql.exe utility from C:\windows\Microsoft.NET\Framework\v2.0.50727 folder on your machine.
http://weblogs.asp.net/sukumarraju/archive/2009/10/02/installing-asp-net-membership-services-database-in-sql-server-expreess.aspx