dbTalk Databases Forums  

DTS Package with Send Mail task error

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss DTS Package with Send Mail task error in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Chris
 
Posts: n/a

Default DTS Package with Send Mail task error - 06-15-2005 , 02:01 PM






Hi,
I have a simple SQL Server DTS package with a Send Mail task. The package
executes successfully when I manually run the package. However, when I
access the package through a VB.NET app, it fails at "MapiLogonEx Failed due
to MAPI error 273: MAPI Logon failed". The package runs successfully without
the Send Mail task through app. Any ideas or help would be greatly
appreciated. This is the actual error




Step "DTSStep_DTSExecuteSQLTask_1" Succeeded



Step "DTSStep_DTSExecuteSQLTask_2" Succeeded



Step "DTSStep_DTSSendMailTask_1" Failed

Error: -2147220352

Source: Microsoft Data Transformation Services (DTS) Package

Description: Logon failed: MapiLogonEx Failed due to MAPI error 273: MAPI
Logon failed.

any ideas?

Thanks




Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: DTS Package with Send Mail task error - 06-15-2005 , 03:06 PM






Have you had a read of this document. Maybe it will help

http://support.microsoft.com/default...;en-us;Q315886

--



Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - You thought DTS was good. here we show you the new stuff.
www.konesans.com - Consultancy from the people who know


"Chris" <Chris (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,
I have a simple SQL Server DTS package with a Send Mail task. The package
executes successfully when I manually run the package. However, when I
access the package through a VB.NET app, it fails at "MapiLogonEx Failed
due
to MAPI error 273: MAPI Logon failed". The package runs successfully
without
the Send Mail task through app. Any ideas or help would be greatly
appreciated. This is the actual error




Step "DTSStep_DTSExecuteSQLTask_1" Succeeded



Step "DTSStep_DTSExecuteSQLTask_2" Succeeded



Step "DTSStep_DTSSendMailTask_1" Failed

Error: -2147220352

Source: Microsoft Data Transformation Services (DTS) Package

Description: Logon failed: MapiLogonEx Failed due to MAPI error 273: MAPI
Logon failed.

any ideas?

Thanks






Reply With Quote
  #3  
Old   
Chris
 
Posts: n/a

Default Re: DTS Package with Send Mail task error - 06-16-2005 , 11:40 PM



Thanks for the info. I see there is a lot of trouble using the mapi client to
send email via sql server so I am looking into other alternatives.

"Allan Mitchell" wrote:

Quote:
Have you had a read of this document. Maybe it will help

http://support.microsoft.com/default...;en-us;Q315886

--



Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - You thought DTS was good. here we show you the new stuff.
www.konesans.com - Consultancy from the people who know


"Chris" <Chris (AT) discussions (DOT) microsoft.com> wrote in message
news:0238FE07-A0C6-4D33-A816-9C705C49E3A0 (AT) microsoft (DOT) com...
Hi,
I have a simple SQL Server DTS package with a Send Mail task. The package
executes successfully when I manually run the package. However, when I
access the package through a VB.NET app, it fails at "MapiLogonEx Failed
due
to MAPI error 273: MAPI Logon failed". The package runs successfully
without
the Send Mail task through app. Any ideas or help would be greatly
appreciated. This is the actual error




Step "DTSStep_DTSExecuteSQLTask_1" Succeeded



Step "DTSStep_DTSExecuteSQLTask_2" Succeeded



Step "DTSStep_DTSSendMailTask_1" Failed

Error: -2147220352

Source: Microsoft Data Transformation Services (DTS) Package

Description: Logon failed: MapiLogonEx Failed due to MAPI error 273: MAPI
Logon failed.

any ideas?

Thanks







Reply With Quote
  #4  
Old   
dm4714
 
Posts: n/a

Default Re: DTS Package with Send Mail task error - 06-17-2005 , 09:33 AM



Yeah, MAPI sucks. Use SMTP.

Check out nice XSP from http://www.sqldev.net/


"Chris" <Chris (AT) discussions (DOT) microsoft.com> wrote

Quote:
Thanks for the info. I see there is a lot of trouble using the mapi client
to
send email via sql server so I am looking into other alternatives.

"Allan Mitchell" wrote:

Have you had a read of this document. Maybe it will help

http://support.microsoft.com/default...;en-us;Q315886

--



Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - You thought DTS was good. here we show you the new
stuff.
www.konesans.com - Consultancy from the people who know


"Chris" <Chris (AT) discussions (DOT) microsoft.com> wrote in message
news:0238FE07-A0C6-4D33-A816-9C705C49E3A0 (AT) microsoft (DOT) com...
Hi,
I have a simple SQL Server DTS package with a Send Mail task. The
package
executes successfully when I manually run the package. However, when I
access the package through a VB.NET app, it fails at "MapiLogonEx
Failed
due
to MAPI error 273: MAPI Logon failed". The package runs successfully
without
the Send Mail task through app. Any ideas or help would be greatly
appreciated. This is the actual error




Step "DTSStep_DTSExecuteSQLTask_1" Succeeded



Step "DTSStep_DTSExecuteSQLTask_2" Succeeded



Step "DTSStep_DTSSendMailTask_1" Failed

Error: -2147220352

Source: Microsoft Data Transformation Services (DTS) Package

Description: Logon failed: MapiLogonEx Failed due to MAPI error 273:
MAPI
Logon failed.

any ideas?

Thanks









Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.