![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a DTS package that scheduled to run nightly but it fails on SQLMail Task, I get error "MapiLogonEx Failed due to MAPI error 273:MAPI Logon failed" . This DTS package dumps data into an excel spreadsheet and e-mails spreadsheet to user in company. I'm using Outlook 2003 client with Exchange Server 2003. The SQL Server and Agent are using the same domain admin account and the scheduled task is also setup with same admin account. When I run the DTS package using DTSRunUI I get Mapi error but if I run it from Enterprise Mger on my workstation it works no errors. I logged on sql server with the admin account and the outlook profile is configured. I tested SQLMail using "EXECUTE master.dbo.xp_sendmail" from QA and user received message. Any ideas where to look from here, I stumped. Thanks in Advance Rob |
#3
| |||
| |||
|
|
Does the profile name set in the send mail task match the profile name that was created under the service account? A common issue is to set the profile to your named profile, which may not match the profile of the service account. I personally despise MAPI and do not use it. A desktop application running unattended under a service is just asking for trouble. I'd suggest you try xp_smtp_send_mail or the Send Mail SMTP task, both from SQLDev.net SMTP Mail Task (http://www.sqldev.net/dts/SMTPTask.htm) -- Darren Green http://www.sqldts.com http://www.sqlis.com "Rob" <Rob (AT) discussions (DOT) microsoft.com> wrote in message news:EF20C8FB-56AD-4A26-9FE3-88CE3CD8DE20 (AT) microsoft (DOT) com... I have a DTS package that scheduled to run nightly but it fails on SQLMail Task, I get error "MapiLogonEx Failed due to MAPI error 273:MAPI Logon failed" . This DTS package dumps data into an excel spreadsheet and e-mails spreadsheet to user in company. I'm using Outlook 2003 client with Exchange Server 2003. The SQL Server and Agent are using the same domain admin account and the scheduled task is also setup with same admin account. When I run the DTS package using DTSRunUI I get Mapi error but if I run it from Enterprise Mger on my workstation it works no errors. I logged on sql server with the admin account and the outlook profile is configured. I tested SQLMail using "EXECUTE master.dbo.xp_sendmail" from QA and user received message. Any ideas where to look from here, I stumped. Thanks in Advance Rob |
#4
| |||
| |||
|
|
I have a DTS package that scheduled to run nightly but it fails on SQLMail Task, I get error "MapiLogonEx Failed due to MAPI error 273:MAPI Logon failed" . This DTS package dumps data into an excel spreadsheet and e-mails spreadsheet to user in company. I'm using Outlook 2003 client with Exchange Server 2003. The SQL Server and Agent are using the same domain admin account and the scheduled task is also setup with same admin account. When I run the DTS package using DTSRunUI I get Mapi error but if I run it from Enterprise Mger on my workstation it works no errors. I logged on sql server with the admin account and the outlook profile is configured. I tested SQLMail using "EXECUTE master.dbo.xp_sendmail" from QA and user received message. Any ideas where to look from here, I stumped. Thanks in Advance Rob |
#5
| |||
| |||
|
|
Spoke too soon. Still having problems with MAPI. Has anyone heard of any issues with Outlook 2003 and SQL Mail. My old SQL server has Outlook 2002 and I have no issues. Any more ideas thanks rob "Rob" wrote: I have a DTS package that scheduled to run nightly but it fails on SQLMail Task, I get error "MapiLogonEx Failed due to MAPI error 273:MAPI Logon failed" . This DTS package dumps data into an excel spreadsheet and e-mails spreadsheet to user in company. I'm using Outlook 2003 client with Exchange Server 2003. The SQL Server and Agent are using the same domain admin account and the scheduled task is also setup with same admin account. When I run the DTS package using DTSRunUI I get Mapi error but if I run it from Enterprise Mger on my workstation it works no errors. I logged on sql server with the admin account and the outlook profile is configured. I tested SQLMail using "EXECUTE master.dbo.xp_sendmail" from QA and user received message. Any ideas where to look from here, I stumped. Thanks in Advance Rob |
![]() |
| Thread Tools | |
| Display Modes | |
| |