Solved

Creating Admin for Specific SQL Server 2005 DB

Posted on 2015-01-19
4
96 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
[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 49

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 49

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL query for highest sequence 4 65
help converting varchar to date 14 25
sql server cross db update 2 23
Need SQL Update 2 11
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
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.
Viewers will learn how the fundamental information of how to create a table.

696 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