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

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Dbmail

Author  Topic 

yadhu_cse
Constraint Violating Yak Guru

252 Posts

Posted - 2011-01-08 : 07:44:27
Hi,


i am scheduling stored procedure using job in ssms. when i execute exec sp_send_dbmail with out attachent its scheduling . when i attach file its giving following eror


The EXECUTE permission was denied on the object 'xp_sysmail_attachment_load..

i am not getting how to set permission. and i am not getting how to give permission xp_sysmail_attachment_load
.pls help me in this regard

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2011-01-08 : 13:33:44
is account you're using for job having sufficient priviledges? worth trying restarting agent service i think.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

yadhu_cse
Constraint Violating Yak Guru

252 Posts

Posted - 2011-01-09 : 23:23:05
i restarted it and it has privileges also. but..NOt Getting
Go to Top of Page
   

- Advertisement -