Solved

Creating Admin for Specific SQL Server 2005 DB

Posted on 2015-01-19
4
94 Views
Last Modified: 2015-01-19
Hi all,

I am having issues trying to create a new login user and allow it admin priviledges to a specific DB.

I have create the new login with the db_owner as the default schema.

I have then added the user to the specific database -> under user mapping the db I want it to have access to is ticked and it has all the priviledges next to it for the db_owne checked.

However when I try and access through SQL Express interface i get the following error;

TITLE: Microsoft SQL Server Management Studio Express
------------------------------

Failed to retrieve data for this request. (Microsoft.SqlServer.Express.SmoEnum)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&LinkId=20476

------------------------------
ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.Express.ConnectionInfo)

------------------------------

The SELECT permission was denied on the object 'extended_properties', database 'mssqlsystemresource', schema 'sys'. (Microsoft SQL Server, Error: 229)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.4035&EvtSrc=MSSQLServer&EvtID=229&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------
0
Comment
Question by:flynny
  • 2
  • 2
4 Comments
 
LVL 48

Expert Comment

by:Vitor Montalvão
ID: 40557677
The database name is 'mssqlsystemresource'?
0
 

Author Comment

by:flynny
ID: 40557727
Vitor,

No the database is different. I'm not sure why this is appearing when I try to browse the tables in the db
0
 
LVL 48

Accepted Solution

by:
Vitor Montalvão earned 500 total points
ID: 40557730
That's why I asked. What's the default database for the login that you created?
0
 

Author Closing Comment

by:flynny
ID: 40557742
Vitor,

Thanks for the help. After dropping and setting the default db on creaton the issue was resolved.

Thanks again
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
I have a large data set and a SSIS package. How can I load this file in multi threading?
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

789 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