d-man
d-man

Reputation: 58083

Asp.net app_data connect db

I am having sql server express edition local database in app_data folder.

How can i connect SQL Server Management Studio Expres with that db to execute sql scripts ?

Upvotes: 0

Views: 1352

Answers (2)

thitemple
thitemple

Reputation: 6059

In Management Studio, right click databases, attach database and point to your mdf file.

Upvotes: 1

Dave Swersky
Dave Swersky

Reputation: 34810

If it's an MDF file, SQL Management Studio can't open it.

This article might help: http://weblogs.asp.net/scottgu/archive/2006/12/22/recipe-deploying-a-sql-database-to-a-remote-hosting-environment-part-1.aspx

Upvotes: 0

Related Questions