Groups | Blog | Home
all groups > sql server (microsoft) > december 2006 >

sql server (microsoft) : Moving SQLExpress database to SQLServer?


dgk
12/20/2006 11:50:55 AM
I've been developing an ASP.NET app using the default user and profile
provider, which is SQLExpress. But to go live we are going to use
SQLServer2005. I know I can use the ASPNET_REQSQL tool to prime
SQL2005, which apparently just creates an ASPNETDB.MDF file. However,
since I already have a local ASPNETDB.MDF file which has all the user
data already entered, I'd rather just use that.

But when I move it to the appropriate location on the drive (under the
MSSQL/Data directory) and try to attach it, it keeps wanting to use
the one back in the development directory.

How can I tell it to use the one in the Data directory for now on? Or
am I approaching this wrong? Should I just use the tool to create the
dgk
12/20/2006 12:25:14 PM
[quoted text, click to view]

Ok, pounding away. I can attach it and export the data to a new
AddThis Social Bookmark Button