Solved

Is there access restriction to attached database?

Posted on 2014-11-09
4
56 Views
Last Modified: 2015-01-06
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
Comment
Question by:lapucca
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 50

Expert Comment

by:Vitor Montalvão
ID: 40432236
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
 

Author Comment

by:lapucca
ID: 40433964
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
 
LVL 50

Accepted Solution

by:
Vitor Montalvão earned 500 total points
ID: 40434454
There's no "Connect Sql" permission.
Can you post a screenshot of that, please?
0
 

Author Comment

by:lapucca
ID: 40435322
Yes, I will post the screenshot this evening.
0

Featured Post

Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
encrypt SQL Server 2008 port 1433 3 47
SQL Server 2012 to SQL Server 2016 24 54
Question about Common Table Expressions 3 43
Do not display comma when no last name 8 48
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question