Solved

Scheduling DTS Package execution error

Posted on 2004-04-12
5
1,403 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need sql in string 2 28
I need help using SQL case statements in where clauses 3 23
Upgrading to SQL Server 2015 Express 2 29
Searching a barcode number within a string. 7 24
Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how the fundamental information of how to create a table.

740 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