Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 71
  • Last Modified:

Is there access restriction to attached database?

I attached to a database that was sent to me in form of mdf and log files.  I put these 2 files in the sql 2012 express' data folder.  I then was able to attach to the file.  It's just odd that the database would show up with name as c:\.....\its-database-name in Sql Management Studio.  It doesn't just show the database name.

I am able to open the database tables in Management Studio.

In the Security, my login, User Mapping, I can't give my self any permission except fore "Connect Sql".  

where can I enable remote connection?  I am not able to use C# code to open this database.
0
lapucca
Asked:
lapucca
  • 2
  • 2
1 Solution
 
Vitor MontalvãoMSSQL Senior EngineerCommented:
What's the size of the .mdf?
You can always try to detach and attach it again. Maybe something went wrong at the first time.
0
 
lapuccaAuthor Commented:
Very small database with 2 tables and less than 100 rows each.
In the Security, my login, User Mapping, I can't give my self any permission except fore "Connect Sql".  
Why this so?  Is it because this database wasn't originally created on my PC?
0
 
Vitor MontalvãoMSSQL Senior EngineerCommented:
There's no "Connect Sql" permission.
Can you post a screenshot of that, please?
0
 
lapuccaAuthor Commented:
Yes, I will post the screenshot this evening.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now