Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select Permission Denied on owner "dbo" on SQL Server 2000

Status
Not open for further replies.

Bluegirl

IS-IT--Management
Joined
Oct 4, 2002
Messages
6
Location
GB
Hi

(Select Permission Denied on owner "dbo" on SQL Server 2000)

Running SQL Server 2000. I copied a database to be test/dev db. Configured the users on the db to be the same as the live db however the following error occurs whenever a login attempt is made.

Error: System.Data.SqlClient.SqlError: SELECT permission denied on object 'SysUsr', database 'BSSDEV', owner 'dbo'.

I have checked the account config on that user (dbo) and it shares the same settings as its counterpart in the live DB. can you help please?

Thanks

Blue Girl
 
What might of happened is that the dbo user on the server and the dbo user on the database might be seen as two "users" by sql server.

Try executing the follwoing stored procedure with the syntax below:

EXEC sp_change_users_login 'Update_One', 'dbo', 'dbo'

This will map the existing dbo user in the dataabase to the dbo user on the actual server.

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top