Friday, February 24, 2012

error 22022 sqlserveragent error: permissions

When I try to send an email using sqlserver agent (SQL Server 2000-> Management->SQL Server Agent-> Operators), I am getting the following error:

error 22022 sqlserveragent error: you don't have sufficient permissions to do this operations.

I know I have administrator privilege on this machine.

So, why is it reporting this error?the account that runs the sql and sql agents services must have an exchange account mapped to the network account.

also to execute xp_sendmail, you have to be a sysadmin in sql server or a dbo owner in master.

No comments:

Post a Comment