Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

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

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 sp_send_dbmail
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

yadhu_cse
Constraint Violating Yak Guru

India
252 Posts

Posted - 11/08/2010 :  00:46:08  Show Profile  Reply with Quote
Hi,
When i try to execute sp_send_dbmail in another stored procedure. its giving following error . can any one tel how to over come.


Problem With UpdateThe EXECUTE permission was denied on the object 'sp_send_dbmail', database 'msdb', schema 'dbo'.

pk_bohra
Flowing Fount of Yak Knowledge

India
1182 Posts

Posted - 11/08/2010 :  01:04:32  Show Profile  Reply with Quote
The message clearly indicate the login used by you doesn't have sufficient permissions.
Can you tell us what are the permissions / roles you have for the login id ?
Go to Top of Page

yadhu_cse
Constraint Violating Yak Guru

India
252 Posts

Posted - 11/08/2010 :  01:19:28  Show Profile  Reply with Quote
i hav given all permission , execute, alter etc
Go to Top of Page
  Previous Topic Topic Next 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.04 seconds. Powered By: Snitz Forums 2000