SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Delete permission Denied
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

dolphin123
Yak Posting Veteran

USA
54 Posts

Posted - 08/15/2013 :  09:43:54  Show Profile  Reply with Quote
Hello,

Version: SQL server 2008
I created a Windows SQL server account, not a SQL account (i.e. added an account that is on AD.

Added "public" and "db_owner" permission to a database.

when that user runs a simple "delete" command, he gets "delete permission denied" error.

When I give him "server role" sys admin, he is able to run this command.

I really thought db_owner permission should give him to run any scripts except for some hardcore permission changed on that database.

Am I wrong? Or is something wrong with this user.

I even tried deleting his accounts from the database (Database - users) and re adding him but it doesn't work.

- D

Hommer
Aged Yak Warrior

766 Posts

Posted - 08/15/2013 :  11:41:56  Show Profile  Reply with Quote
Have you mapped or added that user to the db_owner database role?
Go to Top of Page

jeffw8713
Aged Yak Warrior

USA
768 Posts

Posted - 08/19/2013 :  14:35:41  Show Profile  Reply with Quote
Is that user a part of an AD security group - where that security group has explicitly been denied delete access to the tables?
Go to Top of Page

tkizer
Almighty SQL Goddess

USA
35932 Posts

Posted - 08/19/2013 :  15:53:41  Show Profile  Visit tkizer's Homepage  Reply with Quote
Is it simple delete command or is it trying to accessing an object in another database? If the answer is no, then the issue must be what Jeff mentioned.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

Bustaz Kool
Flowing Fount of Yak Knowledge

USA
1585 Posts

Posted - 08/19/2013 :  18:18:15  Show Profile  Reply with Quote
Is there a trigger on the table?

=================================================
The cure for anything is salt water -- sweat, tears, or the sea. -Isak Dinesen
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000