07-30-07, 11:03 #1Registered User
- Join Date
- Jan 2007
Unanswered: 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?
07-30-07, 11:43 #2Annie's Dog Walker
Provided Answers: 6
- Join Date
- Nov 2004
- on the wrong server
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.If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry. Earnest Hemingway, A Farewell To Arms.