I’ve encountered a problem with SQL Mail and none of the existing KB articles seem to provide a solution. Simply put, I can’t get SQL Mail to start.
Several weeks ago I configured SQL Mail on a SQL 7 box running Windows 2000 and the latest service packs for both SQL Server and Windows. At the same time I also configured a SQL 2000 box running Windows 2000, again both had the latest service packs. At this point both servers were running SQL Mail without problem.
SQL Server and the SQL Server Agent are both running under the same account, called SQLService. This account has local administrator privileges on this box. This account is also a user of the domain and does have a mailbox on the Exchange server. When I configured this account’s exchange profile I did so by logging onto the SQL7 box as SQLService. I then configured SQL Mail while still logged on as SQLService.
Now, on to the problem.
On the 2nd of July, when attempting to start SQL Mail on SQL 7 I received the following error:
Error 22030: A MAPI error (error number: 273) occurred.: MapiLogonEx failed due to MAPI error 273: MAPI logon failed.
The SQL Logfile contained errors 17903 and 17951, both severity 18, state 1.
If I log on to the SQL7 box as SQLService I can send and receive email through Outlook.
While attempting to correct this problem I was able to get SQL Mail functioning for several minutes, but whenever I would press the “test” button on the SQL Server Agent Properties page (Mail session section) or on the SQL Mail Configuration page, I received the above MAPI error. In spite of this error I was able to start the SQL Mail service and could send mail successfully. I then rebooted the server and when it came back up I was unable to restart the service.
The SQL 2000 box does not have this problem and SQL Mail is still running properly.
Any thoughts?
Several weeks ago I configured SQL Mail on a SQL 7 box running Windows 2000 and the latest service packs for both SQL Server and Windows. At the same time I also configured a SQL 2000 box running Windows 2000, again both had the latest service packs. At this point both servers were running SQL Mail without problem.
SQL Server and the SQL Server Agent are both running under the same account, called SQLService. This account has local administrator privileges on this box. This account is also a user of the domain and does have a mailbox on the Exchange server. When I configured this account’s exchange profile I did so by logging onto the SQL7 box as SQLService. I then configured SQL Mail while still logged on as SQLService.
Now, on to the problem.
On the 2nd of July, when attempting to start SQL Mail on SQL 7 I received the following error:
Error 22030: A MAPI error (error number: 273) occurred.: MapiLogonEx failed due to MAPI error 273: MAPI logon failed.
The SQL Logfile contained errors 17903 and 17951, both severity 18, state 1.
If I log on to the SQL7 box as SQLService I can send and receive email through Outlook.
While attempting to correct this problem I was able to get SQL Mail functioning for several minutes, but whenever I would press the “test” button on the SQL Server Agent Properties page (Mail session section) or on the SQL Mail Configuration page, I received the above MAPI error. In spite of this error I was able to start the SQL Mail service and could send mail successfully. I then rebooted the server and when it came back up I was unable to restart the service.
The SQL 2000 box does not have this problem and SQL Mail is still running properly.
Any thoughts?