[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

sp_send_dbmail says access is denied

Posted on 2011-09-19
1
Medium Priority
?
1,662 Views
Last Modified: 2012-05-12

I received and error message below:

Duration            00:00:00
Sql Severity            14
Sql Message ID            229
Operator Emailed            
Operator Net sent            
Operator Paged            
Retries Attempted            0

Message
Executed as user: domain1\userA. The EXECUTE permission was denied on the object 'sp_send_dbmail', database 'msdb', schema 'dbo'. [SQLSTATE 42000] (Error 229).  The step failed.



But User domian1\userA has following privilled in msdb database, I even add him as db_owner but the same error message seems to be exist again and again
sp_send_dbmail            ALTER
sp_send_dbmail            CONTROL
sp_send_dbmail            DELETE
sp_send_dbmail            EXECUTE
sp_send_dbmail            INSERT
sp_send_dbmail            RECEIVE
sp_send_dbmail            REFERENCES
sp_send_dbmail            SELECT
sp_send_dbmail            TAKE OWNERSHIP
sp_send_dbmail            UPDATE
sp_send_dbmail            VIEW CHANGE TRACKING
sp_send_dbmail            VIEW DEFINITION
0
Comment
Question by:motioneye
1 Comment
 
LVL 31

Accepted Solution

by:
James Murrell earned 2000 total points
ID: 36561852
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
This shares a stored procedure to retrieve permissions for a given user on the current database or across all databases on a server.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

834 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