Solved

Scheduling DTS Package execution error

Posted on 2004-04-12
5
1,404 Views
Last Modified: 2013-11-30
I have a DTS Package.The package sends mail.

When I execute the package interactively, it sends the mail with out error. However, when the package is scheduled through SQLAgent, I get the error.

The problem seems to be when a DTS package is executed from the Scheduler. The use is getting a MAPI 273 error. See below:
DTSRun: Loading...

DTSRun: Executing...

DTSRun OnStart: DTSStep_DTSSendMailTask_1

DTSRun OnError: DTSStep_DTSSendMailTask_1, Error = -2147220352 (80040480)

Error string: Logon failed: MapiLogonEx Failed due to MAPI error 273: MAPI Logon failed.

Error source: Microsoft Data Transformation Services (DTS) Package

Help file: sqldts80.hlp

Help context: 9100

Error Detail Records:



Error: -2147220352 (80040480); Provider Error: 0 (0)

Error string: Logon failed: MapiLogonEx Failed due to MAPI error 273: MAPI Logon failed.

Error source: Microsoft Data Transformation Services (DTS) Package

Help file: sqldts80.hlp

Help context: 9100

0
Comment
Question by:yilmazonur
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 13

Accepted Solution

by:
danblake earned 500 total points
ID: 10804543
However, when the package is scheduled through SQLAgent, I get the error.
This is one of two problems: (Specific to MAPI logon failing:...)
http://support.microsoft.com/default.aspx?scid=kb;en-us;288438&Product=sql2k


When running interactivly you will be using your current Loged in credentials, when scheduled you use the security account as defined by SQL Agent.  (I suspect your problem is the first one of these two, and not the second article for a fix..)
http://support.microsoft.com/default.aspx?scid=kb;en-us;269074&Product=sql2k
0
 
LVL 3

Expert Comment

by:edwardsearch
ID: 10804566
Yes. Please check your security accounts
- Edward
0
 
LVL 6

Expert Comment

by:JaffaKREE
ID: 12226872
Just a followup...

I had this same problem on a SQL Server here.  After exhausting every possibility and checking every configuration, on a hunch I went into the DTS SendMail task, and just re-selected the same profile (making sure to actually click it in the drop-down, even though it was the only one on the list).  This solved the problem, despite the fact that I didn't *really* change anything.

0

Featured Post

Microsoft Certification Exam 74-409

VeeamĀ® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have a large data set and a SSIS package. How can I load this file in multi threading?
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question