How to open this database in Sql express?
Posted on 2014-11-08
I'm given a sql mdf file and its log file. I tried to right clicking on the "Database" in Sql Management Studio, selecting attach and selected to add the mdf file from my Drive. The database and log file shows up in the lower window. But when I click okay it gives me error. Attached is a screen shot. How can I fix this?
Looks like I was denied access to open this database. Do I get user id or password from person who owns the database to open it? How is that done? I usually just restore database backup file. This is the first time attaching to one. I didn't know I need to be given access but the sql express is running on my local pc. the database is on my local drive. I'm not sure how to setup access for this.
I'm using sql express 2012