473,395 Members | 1,815 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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 3583
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ike | last post by:
Anyone knows what cuases this under 6.0 ? -Ike
4
by: David Moore | last post by:
Hello I am using the System.DirectoryServices namespace classes to access Active Directory. We connect using the LDAP://DOMAIN method. The code works on local dev boxes, and in staging, but...
1
by: yanwan | last post by:
I met this problem in executing a c++ project in visual studio. Does anyone have suggestions to resolve "error lnk 2001"? --------------------Configuration: reconstruction - Win32...
7
by: kk | last post by:
Hi Guys, i am posting a cpp program contains runtime error, memory not allocated to char *x in class B. while accessing showx function it doesn't print values. if anybody knows send a reply plz....
0
by: NOSPAM | last post by:
Guys, I get the 'There was an error executing the command' error message. I an using win xp & Access 2002. I created a database using the MS Access template 'Order Entry' I have entered...
0
by: rilian | last post by:
For those encountering the 'Error executing child request for...' error, the following may bring some light on the problem. It is possible that the page you are transfering/executing to is...
5
by: snicks | last post by:
I'm trying to exec a program external to my ASP.NET app using the following code. The external app is a VB.NET application. Dim sPPTOut As String sPPTOut = MDEPDirStr + sID + ".ppt" Dim p As...
11
by: Tempo | last post by:
Hello. I am getting the error that is displayed below, and I know exactly why it occurs. I posted some of my program's code below, and if you look at it you will see that the error terminates the...
2
by: teddybyte | last post by:
my script below is: #include "stdafx.h" int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, ...
21
by: comp.lang.tcl | last post by:
set php {<? print_r("Hello World"); ?>} puts $php; # PRINTS OUT <? print_r("Hello World"); ?> puts When I try this within TCL I get the following error:
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.