469,326 Members | 1,600 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,326 developers. It's quick & easy.

Error executing DTS from vb.net app

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
Nov 22 '05 #1
4 3439
Chris,

Because of the fact that the difference is the VBNet application, than it is
maybe wise to give the code you use in that part. Not that I probably can
help you with this (you never know when it is a more general problem).
However others will need that most probably as well.

Because that it only exist if it happens from vbnet. I would in your place
sent this message as well to the newsgroup languages.vb. (With the code of
course). When you have this kind of questions next time, than I would (again
in your place) sent them crossposted to this newsgroup, the newsgroup
framework.adonet and languages.vb.

Cor
Nov 22 '05 #2
Chris,

Because of the fact that the difference is the VBNet application, than it is
maybe wise to give the code you use in that part. Not that I probably can
help you with this (you never know when it is a more general problem).
However others will need that most probably as well.

Because that it only exist if it happens from vbnet. I would in your place
sent this message as well to the newsgroup languages.vb. (With the code of
course). When you have this kind of questions next time, than I would (again
in your place) sent them crossposted to this newsgroup, the newsgroup
framework.adonet and languages.vb.

Cor
Nov 22 '05 #3
Looks like permission problem.Make sure ASPNet user has enough permission to
those mapi objects

"Chris" wrote:
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

Nov 22 '05 #4
Looks like permission problem.Make sure ASPNet user has enough permission to
those mapi objects

"Chris" wrote:
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

Nov 22 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Ike | last post: by
1 post views Thread by yanwan | last post: by
7 posts views Thread by kk | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Gurmeet2796 | last post: by
reply views Thread by mdpf | last post: by
reply views Thread by listenups61195 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.