Error 22022 The Sqlserveragent Mail Session Is Not
Contents |
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About error 22022 sql server 2012 Us Learn more about Stack Overflow the company Business Learn more about hiring developers error 22022 sql server 2008 or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question sql server error 22022 job is already running and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are sql server error 22022 job suspended voted up and rise to the top How do I enable e-mail alerts in SQLServer? up vote 1 down vote favorite I'm trying to enable e-mail alerts for an operator in SQL Server (2000). When I try to test the e-mail, I get the following message: Error 22022: SQLServerAgent Error: The SQLServerAgent mail session is not running; check the mail profile and/or the SQLServerAgent service startup account in
Error 22022 Sql Server 2008 R2
the SQLServerAgent Properties dialog. When I open [Server].Management.[SQL Server Agent] in Enterprise Manager, The only option that seems at all relevant is the "Mail Session" section; but the "Mail Profile" field (and everything else in the box) has been grayed out. How do I get those fields enabled? email sql-server share|improve this question edited Aug 24 '09 at 13:12 Alex Angas 1,53312234 asked Jul 13 '09 at 20:49 BIBD 92452137 add a comment| 2 Answers 2 active oldest votes up vote 4 down vote accepted You need to install Outlook on the server, log on as the account you use to run SQL server under and configure Outlook. See also, KB311231. share|improve this answer answered Jul 13 '09 at 20:54 ThatGraemeGuy 11.2k73873 add a comment| up vote 2 down vote Right-click on the server, click on Properties, then verify that your mail profile shows up on the Server Settings tab. More info here: http://www.databasejournal.com/features/mssql/article.php/10894_3345091_4/SQL-MAIL-and-SQL-Agent-Mail-using-POP3-and-SMTP.htm share|improve this answer answered Jul 13 '09 at 20:55 Adam Brand 5,03222134 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Na
your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that
Microsoft Sql Server Error 22022
you want to visit from the selection below. Results 1 to 4 of 4 Thread: microsoft sql server error 22022 replication Not able to send Mails using SQL Mail Tweet Thread Tools Show Printable Version Subscribe to this Thread… Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 05-21-09,09:31 #1 venubabu View Profile View Forum Posts Registered User Join Date May 2009 Posts 13 Unanswered: Not able to send Mails using SQL Mail Hi i am http://serverfault.com/questions/40139/how-do-i-enable-e-mail-alerts-in-sqlserver not able to send emails in MS Sql server 2000. Following are the steps i did while configuring sql mail: 1. Created one domin account (Administrator) 2. Login into the system with domain account (OS:Windows Server 2003) 3. Installed MS Office 2003 4. Configured one email account with "SQLMailService" as profile name 5. Opened Enterprise Manager from Start > Programs > Microsoft SQL Server > Enterprise Manager. Next, right-clicked on SQL Server and chosen Properties, then choose http://www.dbforums.com/showthread.php?1642837-Not-able-to-send-Mails-using-SQL-Mail the Security tab. Under the Startup Service Account, given the domain account user name and password EX: User name: domain-name\ password: xxxxxxxx 6.Next expanded SQL Server > Management, then right-click on SQL Server Agent and chosen Properties . On the General Page, under the Service Startup Account given the domain account user name and password. And in the Mail Session given the out look profile name and clicked on "Test", Successfully started ( and stopped) a mail session with this profile message came. 7. Expanded Support Services folder and clicked on Properties of SQL Mail. Here also given the same Out look profile name and clicked on Test button, Successfully started ( and stopped) a MAPI session with this profile message came. 8. Expanded Management -> SQL Server Agent, right click on Operators and selected new operator. Here email address given and clicked on Test button immediately one message is coming "This will send the message ---- the group with the address ----- ok to send?. when i clicked on OK, ERROR 22022: SQLSERVERAGENT ERROR: THE SQLSERVERAGENT MAIL SESSION IS NOT RUNNING; CHECK THE MAIL PROFILE AND/OR THE SQLSERVERAGENT SERVICE STARTUP ACCOUNT IN THE SQLSERVERAGENT PROPERTIES DIALOG. message is displaying. i checked many times that all the services are running. can any body plz help me where i did wrong? Reply With Quote 05-22-09,12:58 #2 burkular View Profile View F
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 http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=14999 the ability to create new threads on these forums. SQL Server Forums Profile | ActiveTopics | Members | Search | ForumFAQ Register Now and get your question answered! Username: Password: Save Password Forgot your http://www.tek-tips.com/viewthread.cfm?qid=932800 Password? All Forums SQL Server 2000 Forums SQL Server Administration (2000) Error 22022: SQLServerAgent Reply to Topic Printer Friendly Author Topic AskSQLTeam Ask SQLTeam Question USA 0 Posts Posted-04/17/2002: 09:35:50 error 22022 Tim writes "Hi,Im getting the following error and struggling to find a resolution on the web. MSSQL2000SP2, Terminal Services running on server also.Microsoft SQL-DMO(ODBC SQL State: 42000) Error 22022: SQLServerAgent Error: The SQLServerAgent mail session is not running; check the mail profile and/or the SQLServerAgent service startup account in the SQLServerAgent Properties dialog.THis only appears when I create the operator and try to test the sql server error email, the mailprofile, SQLServerAgent and SQLServer all start with the same user.When I test the Mail Prilfe via the SQL Server Agent props/General Tab it works...responds with no errors.Any pointers appreciated.....ThankxTim" Kevin Snow Posting Yak Master 149 Posts Posted-04/23/2002: 16:51:00 SQL mail is more than a little flaky. It is possible for it to test successfully, but not be in a state to send mail, or even be operating. You may wish to try restarting the service -HOWEVER- be careful! More often than not, I find that shutting down SQL mail just locks it up. I then have to restart SQL Agent, which is also likely to lock up. When I try to restart SQL Server, IT LOCKS UP. We've even had problems where the server failed to come back up on the first reboot. Be certain you are willing and able to physically reboot the server before shutting down SQL Agent. karlsd Starting Member 2 Posts Posted-07/26/2002: 14:49:18 i am getting the same exact error. Restarting the SQL Services only temporarly relieves the issue. After logging off and then back on the issue arrises again. I am seriously thinking that intalling Terminal Servic
Join INTELLIGENT WORK FORUMSFOR COMPUTER PROFESSIONALS Log In Come Join Us! Are you aComputer / IT professional?Join Tek-Tips Forums! Talk With Other Members Be Notified Of ResponsesTo Your Posts Keyword Search One-Click Access To YourFavorite Forums Automated SignaturesOn Your Posts Best Of All, It's Free! Join Us! *Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting Guidelines Promoting, selling, recruiting, coursework and thesis posting is forbidden.Tek-Tips Posting Policies Jobs Jobs from Indeed What: Where: jobs by Link To This Forum! Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.Just copy and paste the BBCode HTML Markdown MediaWiki reStructuredText code below into your site. Microsoft SQL Server: Setup and Administration Forum at Tek-Tips HomeForumsProgrammersDBMS PackagesMicrosoft SQL Server: Setup and Administration Forum error 22022 thread962-932800 Forum Search FAQs Links MVPs error 22022 error 22022 joeythelips (IS/IT--Management) (OP) 12 Oct 04 10:05 Hi,i am trying to configure my sql server to email me when a maintenance plan finishes. I installed outlook client on the server, can open the mail box, but when i go to the properties of the operator i have setup and pick a name from out outlook list, and click test, i get the following error:error 22022:sqlserver agent error. The SQLSERVERAgent Mail session is not running; check the mail profile and/or the sqlserver agent service startup account.The mail profile is fine and the sqlserver agent service is started so i am a little bit stumped at the moment.Anyone any ideas?Joe RE: error 22022 cooperman1275 (Programmer) 12 Oct 04 10:34 Hi JoeOne sure way to get this working is to have an account with Domain Admin permissions for your network etc. and it should also be given a valid MAPI profile so that it can be used to send and receive emails.The account can then be configured as the startup account for the MSSQLSERVER and SQLSERVERAGENT services and put into the SQL Mail Configuration as the required profile name.Then re-boot the server so that the account starts the services.Only drawback is to remember to change the all the passwords held separately against the service start ups should the password need to be be changed in the future.Hope this helpsDave RE: error 22022 joeythelips (IS/IT--Management) (OP) 13 Oct 04 04:17 Hi Dave.i log onto the sql server as administrator but have the outlook configured for my own email accou