Solved

Execute SSIS from SQL agent job and mysterious error

Posted on 2010-11-16
5
766 Views
Last Modified: 2012-05-10
Hi,
I need help to figure an error from sql agent's job history. I created an SSIS package to pull data from Sybase into SQL server 2008 64-bit. I installed the appropriate drivers (I think) and the package runs fine when from package properties 32-bit runtime is selected. When I schedule this package in a job, first of all, I cannot get it to work unless I either specify password for sybase connection in the job step or save the connection in config file and specify that in the job. Now the job works but when I look at the job history it shows following message:

Executed as user: server\sqlagentservice. Microsoft (R) SQL Server Execute Package Utility  Version 10.0.2531.0 for 32-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  12:36:04 PM  Error: 2010-11-16 12:36:06.18     Code: 0xC001000E     Source:       Description: The connection "{E69B8062-96A8-477A-88FA-25C4746561C9}" is not found. This error is thrown by Connections collection when the specific connection element is not found.  End Error  DTExec: The package execution returned DTSER_SUCCESS (0).  Started:  12:36:04 PM  Finished: 12:36:09 PM  Elapsed:  5.272 seconds.  The package executed successfully.  The step succeeded.

What I really am trying to find out is the corresponding connection to the ID{E69B8062-96A8-477A-88FA-25C4746561C9} displayed in the error. Any idea?

Thanks for your assistance in advance.
0
Comment
Question by:Rainbow002
[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
  • 3
  • 2
5 Comments
 
LVL 16

Expert Comment

by:EvilPostIt
ID: 34144348
The connection id you are refering to will actually be specific to your package.

If you look at your package design and select properties for each of your connection manager connection one of the id's should match.
0
 

Author Comment

by:Rainbow002
ID: 34144381
That's what the problem is...none of the connection managers' ID matches with the one returned by the job history.
0
 
LVL 16

Accepted Solution

by:
EvilPostIt earned 250 total points
ID: 34144399
Ahhhh, ok. What about if you export it from SSIS and open in BIDS?
0
 

Author Comment

by:Rainbow002
ID: 34145170
Finally, resolved. When I closed the BIDS and reopened and imported the package again, while validating, it threw the same error again. I doubled clicked on the error and the entire package was shown in XML. I searched for the connection ID in question and found that it was for a task which I had disabled. Not sure if this is a bug in SSIS that it has to validate even the disabled tasks...
0
 
LVL 16

Expert Comment

by:EvilPostIt
ID: 34145185
Glad i could help.
0

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
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 to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

636 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