Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    MS SQL Server


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





How To Specify Config File For Package Within A Package


I have a situation where I have Package A, which is called from Package B.  Both packages have been designed to use config files for their connections, etc.

The issues arises when executing Package B.  I can specify a config for Package B to use, but how do I tell the embedded package to use its correct config file?

By default, Package A has its config file pointed to development, but I would rather not have to save a special version of Package A that points to production.

I dont see any option within the execute package task.

Any ideas???




View Complete Forum Thread with Replies

Related Forum Messages:
Import Package W/Config File?
I have manually imported my packages into SSIS (via StoredPackages/FileSystem/Import Package command).  How can I utilize a ConfigFile with this package?  I see that the ConfigFile can be selected when it is run (in dtexecUI ), but it doesn't "stick", and is only used for that particular run.

How can I point this manually imported package to the ConfigFile so everybody who runs it doesn't have to browse for the ConfigFile every time they run it?

View Replies !
Package Not Picking Up Latest Config File Changes
Hi,

I've created a solution with 5 packages in.  I've scripted a config file for each package where I would be able to change the source file connection and the database servers (source and destination).  On the first package, I am able to change the config attributes and the affects are picked up, but the rest of the packages do no pick up the changes.

For example, if the source file is "C:Filessource.txt" and this is changed to "C:Filessource123.txt" (Just to make sure it fails) it wont pick up the new changes and still uses "C:Filessource.txt".

Also, I tried changing the name of config file itself and the package still ran as if nothing had changed.  It's as if it's not recognising the config file.

Any ideas ?

Thanks, Richie.

View Replies !
How To Supply Config File To Exec Package Task?
How do I do this ? Or is there any way to bundle Package with Config file so that they both are deployed in MSDB?

View Replies !
Package Configurations - Using One Config File For Multiple Packages
Hi All,

I am working on a project currently where we have many SSIS packages  and we want to minimize the number of config files to be used. What I was thinking was using one master config file which will have Server/Database info which will be used by all the packages. Now the thing is there are multiple packages which are being executed from within a master package and I was wondering if this will be an issue. Is there anything else that I will have to keep in mind? Any help is appreciated.

Thanks

View Replies !
Config File Already Exists Error While Building SSIS Package
Hi

While trying to build SSIS Package Project, the following error is thrown.  I have added configuration file recently to fetch the dynamic values such as connection string, output path etc.

 

I tried manually cleaned up the debug folder and tried build but still the error occurs.

 

Can any one help in suppressing this error?

 

Error 1 System.ApplicationException: Could not copy file "D:ExportExport.dtsConfig" to the deployment utility output directory "D:ExportinDebug". ---> System.IO.IOException: The file 'D:ExportinDebugExport.dtsConfig' already exists.     at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)     at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)     at Microsoft.DataTransformationServices.Project.DataTransformationsProjectBuilder.CopyFiles(ICollection fileNames, String outputPath)     --- End of inner exception stack trace ---     at Microsoft.DataTransformationServices.Project.DataTransformationsProjectBuilder.CopyFiles(ICollection fileNames, String outputPath)     at Microsoft.DataTransformationServices.Project.DataTransformationsProjectBuilder.CreateDeploymentUtility(IOutputWindow outputWindow)  0 0 


Thanks in advance,

Prabha

View Replies !
What's The Best Practice...1 Package Many Config Or Many Package W/1 Config
Hello all,

 

I'd like to know what's considered a best practice in the following scenario...

 

We're in the process of converting DTS to SSIS, our current SQL2K setup has one DTS package per database, each database and package are mirror images of each other, with the exception of connection properties and the files path's they pull from. (Occasionally there may be a one off Execute SQL Task that differs from package to package...but this will be handled in a different manner outside of the package from this point on)

 

From a administration perspective this has been somewhat cumbersome, as every time there is a schema change we need to update the transformations in each individual package...after updating 120 packages my index finger has a bad case of carpel tunnel!

 

My thought with SSIS is that I can create one package, with many configuration files (one for each database). 

 

Now my question is, 1) is this a good idea? 2)  Anytime we create a new database (New Customer = New Database) and need to create a new xml config file, do I have to create the config in BIS/SSIS package then redeploy the package?...or Can I simply add a new config file to the appropriate directory and reference this config in the scheduled job?

 

Any suggestions are greatly appreciated!

 

 

View Replies !
Passing The Xml Configuration File To The Package As An Input Parameter While Executing The Package
Hi,

I am planning to develop a single package that will download files from ftp server, move the files to internal file server and upload it in the database. But I want to run this package for multiple ftp file providers. For each provider the ftp server might be different and the transformation to upload the files into a database table might be different.

So can I create a single package and then multiple configuration files (xml), which will contain the details fo the ftp file providers and then pass the xml file as a parameter while executing the package. The reason being that the timings of fetching the files is different for each ftp file provider and hence cannot be combined into one.

Is this possible?

Thanks for your help.

$wapnil

View Replies !
DTS 2000 Package Designer 2005 Doesnt Have File--&>New Package
I just put SQL Server 2005 on a machine and the DTS 2000 Package Designer 2005 doesnt have a "File-->New DTS Package" menu item. The only way I can create a package is to import an old one and clear the contents.

Anyone know why I am seeing this problem?

View Replies !
Configure A Child Package To Use The Configuration File Of A Parent Package?
Hi guys,

Here's the deal. I have a child package, (say, pack01.dtsx), which uses a dtsconfig file for its connection string, which can be called from other packages, but which also can be called by itself.

However I also have another package (say, pack02.dtsx) which uses the same dtsconfig file for its connection string. It calls on pack01.dtsx.

When I use DTEXECUI and run pack01.dtsx, specifying the proper .dtsconfig file, it goes well. But when I try and run pack02.dtsx, an error occurs saying pack01.dtsx connection cannot be established.

How do I pass the connectionstring being used by pack02 to pack01, without having to remove the configuration file setting of pack01? Can a Parent Package configuration and a configuration file try and map to the same property?

Hope someone could help. Thanks.

View Replies !
Depployed Package And DTExec.exe.config ?
 

Hi all,
 
Here's is the situation :
I have a script component that uses the aspnet membership provider to create users from a csv file in an aspnetdb database. In my Business Intelligence Developpement Studio (BIDS) everything works well. I added the aspnet membership provider in DtsDebugHost.exe.config and when I run the package from the BIDS it does what it have to do.
 
The problems begin when I deploy the package in file system as well as in sql server. When I run it doesn't use the DTExec.exe.config to find where are added the membership provider.
If I refer to that post : http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=541086&SiteID=1
When I run the package from SQL Server it should use the DTExec.exe.config as an app.config for my script component. But it doesn't  use it at all and stop with an error that have nothing to do with that. I'm sure that it doesn't use because even when I have a wrong DTExec.exe.config it shows the same error.
 
If some one knows something about that it will be really great. I need to force my package when it's in stored packages to use one of the *.config as an app.config file.
 
Hoep it's clear
 
Thanks in advance for all help
 

View Replies !
Indirectly Config The Package But It Didn't Affected
Dear all,
I have built an SSIS package by using the BI Dev Studio and enabled its configuration xml file.
The package have a variable called TranDate and I want to put it dynamically from a Calendar on my website (just like assigning a variable).
I have successfully change the value of that variable in the configuration files (affected to the xml file).
Then I loaded the package and executed it (through my web). It's still get the old value (which I have assigned while creating the package).
I didn't understand that where else can the package get the value of that variable so it still get the old value (that value have never appeared in the xml configuration file anymore when I changed it).
 
Thanks for reading this, and I am looking forward to seeing any helps from you guys.
 
 
 

View Replies !
Package Xml Config Files Used In Child Packages?
 I have a package that executes 3 other packages in it. From the command line I pass in which config file to use (just contains db/seerver) does this setting get carried over into the child packages as well?

View Replies !
How To Convert Dynamic Properties To SSIS Package Config?
I'm currently trying to convert over packages from SQL 2000 to SQL 2005.  The biggest obstacle at the start has to do with converting my "Dynamic Properties" control.  I use it to read an .ini file and load the user name and password to my connections.  With 2000 it's nice and easy 1 file 3 lines.  While trying to convert it I€™ve had nothing but problems.  I've tried the Registry Entry but it forces everything into the Current User and I can't use that I need local machine.  There is no documentation and I can't have a xml file with 1000 different username and password settings because 1 person has to update that file with the new passwords.  Any help would be GREATLY appreciated.

 

Thank You

Jerry

View Replies !
Error Creating Package - Failed To Save Package File &&"... Emp EmpD4B.tmp&&" With Error 0x80040154 &&"Class Not Registered&&"
I had just installed SQL 2005 dev on my laptop and got an error message when I tried to create a package using the BI IDE. I received the same error using VS2005 IDE. But the project was created regardless without any packages. When I tried to create a new package in the project, I received the same error again, but with an option to view the error details.
 
Following is the text of the error details:
 
TITLE: Microsoft Visual Studio
------------------------------
 
Error creating package
 
------------------------------
ADDITIONAL INFORMATION:
 
Failed to save package file "C:Documents and SettingsmyoungbloodLocal SettingsTemp mpD4B.tmp" with error 0x80040154 "Class not registered".
 

------------------------------
 
Failed to save package file "C:Documents and SettingsmyoungbloodLocal SettingsTemp mpD4B.tmp" with error 0x80040154 "Class not registered".
 

------------------------------
BUTTONS:
 
OK
------------------------------
I found a similar post that suggested that they try the following:
 

regsvr32 msxml3.dll
regsvr32 msxml4.dll
regsvr32 msxml6.dll
 
But msxml6.dll could not be found.
 
I did get a copy of this file from a coworker, and after copying it and registering it, I was able to add a package to the project.
 
My concern now is what is the likelyhood of this being the only file missing from the installation.
 
I'm wondering if I should reinstall, or (if it exists) do a repair on the installation.
 
Thanks.
 
Marshall

View Replies !
DTS Migration Wizard Failed To Save Package File -with Error 0x80070002 - Th System Cannot Find The File Specified.
Hi,

I use the DTS 2000 Migration Wizard to migrate one of the DTS 2000 packages to SSIS.  The migration failed with the following error message:


LogID=17
#Time=6:31 PM
#Level=DTSMW_LOGLEVEL_ERR
#Source=Microsoft.SqlServer.Dts.MigrationWizard.Framework.Framework
#Message=Microsoft.SqlServer.Dts.Runtime.DtsRuntimeException: Failed to save package file "C:Documents and SettingsfuMy DocumentsVisual Studio 2005ProjectsKORTONKORTONProcessCubesMF.dtsx" with error 0x80070002 "The system cannot find the file specified.".
 ---> System.Runtime.InteropServices.COMException (0xC001100E): Failed to save package file "C:Documents and SettingsfuMy DocumentsVisual Studio 2005ProjectsKORTONKORTONProcessCubesMF.dtsx" with error 0x80070002 "The system cannot find the file specified.".

   at Microsoft.SqlServer.Dts.Runtime.Wrapper.ApplicationClass.SaveToXML(String FileName, IDTSPersist90 pPersistObj, IDTSEvents90 pEvents)
   at Microsoft.SqlServer.Dts.Runtime.Application.SaveToXml(String fileName, Package package, IDTSEvents events)
   --- End of inner exception stack trace ---
   at Microsoft.SqlServer.Dts.Runtime.Application.SaveToXml(String fileName, Package package, IDTSEvents events)
   at Microsoft.SqlServer.Dts.MigrationWizard.DTS9HelperUtility.DTS9Helper.SaveToXML(Package pkg, String sFileLocation)
   at Microsoft.SqlServer.Dts.MigrationWizard.Framework.Framework.StartMigration(PackageInfo pInfo)

Looking at the call stack, it looks like COM wrapper fails on SaveToXML.  Can someone tell me how I should workaround this problem?

Thanks,

Bobby Fu

View Replies !
Execution Of Child Package From Parent Package In Sql Server 2005 Integration Services
Hi,

I created a package which passes some infornmations( through parameters) to its child package.

I need to do some processing in parent package based on execution status of child package.i.e.

 if child fails then some operation and if child succeeds then other operation.

To determine the status of execution of child package I am using two differnt constraint ..one constraint is having value "Success" and other having value "Failure".

My problem is that when child packge is executed successfully the constraint with value = "Success" works properly but when child fails the constraint with value "Failure" does not work.

 -Prashant

View Replies !
Package Validation Error : The Package Designer Deletes The Code From Script Task.
While Creating a script task in Control Flow, I am getting "Package Validation Error". Here is the complete message:

Error at Validate File and  Load Data: The task is configured to pre-compile the script, but binary code is not found. Please visit the IDE in Script Task Editor by clicking Design Script button to cause binary code to be generated.
 (Microsoft.DataTransformationServices.VsIntegration)

As mentioned in the message, I opened the script IDE and added the code I need. When I close the VSA IDE, package designer displays the same error message.

The worst part of whole story is that if I close the package designer and reopen it, I find that all the code I wrote in the script task has been deleted by the package designer. This is not at all acceptable as I saved the package the and still lost all my work. I did all the coding from scratch for that task.

Please respond if anyone faced similar problem.

Thanks in advance!

Anand

PS: If any one from Microsoft is reading this, please see what you guys are coding there. Due to the buggy software you deliver, I am loosing my credibility.<P< P>

View Replies !
Error Stating Package Failure While Executing SSIS Package In Standard Edition
Hi,

      I have developed an SSIS package for ETL purpose. I am invoking the SSIS package through .Net console application by referencing the ManagedDTS Assembly. I am able to execute the package in Sql Server 2005  Developer Edition and it runs fine till completion.

But when i try to execute the packahe in Sql Server 2005 Standard edition, by invoking the package  through .Net console application the status of the package is failure.

 Can any one help me how to over come this problem.

 

 

View Replies !
Package Changes Made And Saved Revert To Prior State When Package Closed And Re-opened
I copied and added an existing package as a new package to a project and have been having trouble with settings reverting to those for the original package after I modify and save the changes for the new package. Sometimes happens with the save itself, other times it happens when I close and re-open the package. Most cases are with connections that revert back to the original file reference, but there are also control flow and data flow elements that keep reverting back to either settings from the original package or defaults that result in the re-opened package being in error. Not sure how to get around this issue short of developing the new package from scratch which I'd rather not do since it is fairly complex. Any help anyone can provide is appreciated. Thanks.

View Replies !
Passing Execute DTS Package Result (success/failure) To Calling SSIS Package
I have a SSIS job, one of the last steps it performs is to execute a SQL 2000 DTS package. This has to be done as a SQL 2000 DTS package as it is performing rebuilds of SQL 2000 Analysis Services dimensions and cubes. We've found that when the DTS fails the SSIS job is happily completing showing as a success, we would prefer to know it went wrong.
 
As far as I'm aware SSIS merely starts the DTS off and doesn't care about it's result. I've taken a look in to turning on the logging for the execute DTS package and thought that the ExecuteDTS80PackageTaskTaskResult would give me the answer I need...but is merely written to the log not available as an event-handler. It also looks like it is not safe to put a SQL task in as the next item to go look at the SQL 2000 system tables to look at the log for the DTS package as the SSIS documentation warns that the DTS package can continue to run after the execute DTS package task has ended.
 
Ideally I want any error raised within the DTS package to cascade up to be an error in the SSIS job, I can then handle it appropriately. I cannot find a way to do this. Is there a way?
 
If not, can anyone suggest how in the remainder of the SSIS tasks I can be sure that the DTS has completed before I start any other tasks that will check for the SQL 2000 log of its execution?

View Replies !
Passing A Variable Value (Package Scope) To A DTS Package Embedded Into Execute DTS 2000 Task
Hi friends,

I have a for each loop that populates from a set of flat files into a  Sql Server table,  I run the Flat file Import via  a dts package embedded into  Execute DTS 2000 Task. I want to pass the Sourcefile Name that is fetched by the For Each Loop to assign it Global Variable in DTS. how this can be made ?

 

Thanks

Subhash Subramanyam

View Replies !
Does Not Work --ETL Package Tutorial (Lesson 1: Creating The Project And Basic Package )
Hi,

I am new to SSIS. I followed the direction of the tutorial Creating Simple ETL Tutorial package in BooksOnline.  I have tried more than five times and have done exactly as suggested in the tutorial but it does not work.

The URL is:

http://msdn2.microsoft.com/en-us/library/ms169917.aspx

I get these warnings and finally fails:

1)[Lookup [30]] Error: Row yielded no match during lookup.

2) [Lookup [30]] Error: The "component "Lookup" (30)" failed because error code 0xC020901E occurred, and the error row disposition on "output "Lookup Output" (32)" specifies failure on error. An error occurred on the specified object of the specified component.

3) [DTS.Pipeline] Error: The ProcessInput method on component "Lookup" (30) failed with error code 0xC0209029. The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.

4) [DTS.Pipeline] Error: Thread "WorkThread0" has exited with error code 0xC0209029.

Can someone  help me with this tutorial error? or Am I doing something wrong.

Thank you,

 

 

 

 

View Replies !
How To Pass Parent Package Parameters To A Package Executed By SQL Server Job Agent
Hi,

I'd like to know if there's a way to pass parent package parameters to a package executed by SQL Server Job Agent? It appears that sp_start_job doesn't have any variable that could accomodate this.

Hope to hear your ideas.

View Replies !
Several Different Errors When Creating And Running SSIS Package. Package Runs Successfuly Sometimes.
Hi All,

 

I am in the process of moving from a 32-bit SQL Server 2005 Enterprise (9.0.3054) to a 64-bit SQL Server 2005 Enterprise (9.0.3054  with 4 CPUs and 8GB of memory on Win 2003 SP2) and the process has been very frustrating to say the least. I am having a problem with packages that I created on my 64-bit SQL Server. I am importing a few tables from the 32-SQL Server into the 64-bit SQL Server using the Task --> Import to create the package.

 

Sometimes when I am creating a package I get the following error in a message box:

 

SQL Server Import and Export Wizard

The SSIS Runtime object could not be created. Verify that DTS.dll is available and registered. The wizard cannot continue and it will terminate.

Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (System.Windows.Forms)

 

 

Other times when I run a package that has run successfully before I get the following error:

 

Faulting application dtexecui.exe, version 9.0.3042.0, stamp 45cd726d, faulting module unknown, version 0.0.0.0, stamp 00000000, debug? 0, fault address 0x025d23f0.

 

 

Other times I get this error message:

 

.NET Runtime version 2.0.50727.1433 - Fatal Execution Engine Error (79FFEE24) (80131506)

 

 

And still other times

 

The package appears to hang when running. By this I mean that the Package Execution Progress shows progress up to a point then it just stops. (The package takes about 17 seconds to run normally) CPU usage is at 1% and the package cannot be stopped.  

 

 

I have deleted and re-created the package several times and I have also re-installed the service pack on the SQL Server (9.0.3054) but that did not help.

 

 

Does anyone have any other suggestions to try?

 

 

Thanks.

 
 
 

View Replies !
Package Path Filename Not Found Package Instalation Wizard : Warning
 

I have small package , using Package Configuration i select XML Configuration file and select some path like c:SSIS Configuration in the developemnt. While instalaing the Package in Test Eniveronment i got warning package configuration filename c:SSIS ConfigurationpackageCFG.dtsconfig not found.It takes the developemt machine path. How to configure this different environment ?
 
Thanks
Sam K
 
 

View Replies !
Is It Possible To Change Or Replace The Default Package Template Named New SSIS Package?
I would like to standardize SSIS development so that developers all start with the same basic template. I have set it up so it is an available template ( http://support.microsoft.com/kb/908018 ) but I would like it to be the default when a new project or package is created. Is this an option?

View Replies !
Variable In A Foreach Loop Becomes NULL When Package Executed As Child Package
I have created a SSIS package with a Foreach Loop including a Data Flow Task, which in turn include a Row Count component which pass the row count value to variable with package scope. The variable is used in an Execute SQL Task following the Data Flow Task.

 

The package executes successfully when executed on its own, but when executed as a child from a parent package (which only include an Execute Package Task) the variable from the Foreach Loop becomes NULL.

 

There are a lot of other variables in the package receiving values dynamically without any problem, the row count variable however is the only variable in the package that receives a value as part of a Data Flow (and used in following tasks within the Foreach Loop).

 

Why does the variable become Null? For your information,  I am using a variable with package scope and no variables from the parent package are used or passed from the child package to the parent package.

 

(For your information, we are running the 64 bit version)


 

View Replies !
Import Package, Update Trigger, Export Package... Am I Thinking Correct?
 

Hello!
 
I´m currently trying to learn SSIS and I´m really starting to like it. It felt strange for starters, but now that I´m getting the hang of it I really appriciate all the nice features it has to offer.
 
I´m currently setting up a database for a new application of ours. This database will pretty much be a mirror of another production database that we have that has been built upon a 4GL platform from the eighties...
 
So, one system will update the 4GL database, and another will update the new SQL server 2005 database, which is what I´m currently working on.
 
So far, this is what I´ve done.
1) Set up a database with tables to match the 4GL database.
2) Created an update trigger to know when our new application updates the SQL database.
    When an update happens and the data is actually changed, copy the changed rows to a temporary table.
3) Created an import package, which will do upserts based on transaction files from the 4GL database to the SQL database.
 
Now I need to create an export package, which create transaction files from the SQL database to the 4GL database, getting data from the temporary table fed by the trigger I created.
 
What I realize is that my import package will cause the update trigger to fire, which I don´t want. I only want the trigger to fire when our new application changed the data, not my import package.
 
So I´m thinking the simplest way to do this is to simply disable the trigger at the beginning of my import package, get an exclusive lock on the tables that I upsert, and the enable the trigger again at the end of the import package... Any other ideas? What would be the easiest way to accomplish this? OLE DB Command component?
 
Hope you guys can help me out!
 
 
 

View Replies !
Fix To BUG: You Receive An Error Message When You Use The Package Migration Wizard To Migrate A DTS Package
 


 






Article ID
:
917420
CAUSE
This problem occurs when one of the following conditions is true:



€˘
The name of the DTS package starts with a space.

€˘
The name of the DTS package ends with a space.

€˘
The name of the DTS package contains a character that is invalid in SQL Server 2005 Integration Services (SSIS).

My Workaroud was execute the follow script in MSDB in SQL 2000

Update sysdtspackages

set name = rtrim(ltrim(name))


This script fix all DTS Package with names with spaces at start and ends.

Jose G. Yovera

MCSE MCDBA

Consein C.A.

Venezuela

 

View Replies !
BUG: You Receive An Error Message When You Use The Package Migration Wizard To Migrate A DTS Package
 


 






Article ID
:
917420
CAUSE
This problem occurs when one of the following conditions is true:



€˘
The name of the DTS package starts with a space.

€˘
The name of the DTS package ends with a space.

€˘
The name of the DTS package contains a character that is invalid in SQL Server 2005 Integration Services (SSIS).

My Workaroud was execute the follow script in MSDB in SQL 2000

Update sysdtspackages

set name = rtrim(ltrim(name))


This script fix all DTS Package with names with spaces at start and ends.

Regards

Jose G. Yovera

MCSE MCDBA

Consein C.A.

Venezuela

 

View Replies !
Problem When Running A SSIS Master-package-child Package On Non Default Sql-server Instance
Hi there
 
We have a SSIS run which runs as follows
 

The master package has a configuration file, specifying the connect strings
The master package passes these connect-strings to the child packages in a variable
Both master package and child packages have connection managers, setup to use localhost. This is done deliberately to be able to test the packages on individual development pc€™s.
We do not want to change anything inside the packages when deploying to test, and from test to production. All differences will be in the config files (which are pretty fixed, they very seldom change). That way we can be sure that we can deploy to production without any changes at all.

The package is run from the file system, through a job-schedule.
 
We experience the following when running on a not default sql-server instance (called dkms5253uedw)
 
Case 1:
The master package starts by executing three sql-scripts (drop foreign key€™s, truncate tables, create foreign key€™s). This works fine.
 
The master package then executes the first child package. We then in the sysdtslog get:

Error   - €ścannot connect to database xxx€?
Info     - €śpackage is preparing to get connection string from parent €¦€?
 
 The child package then executes OK, does all it€™s work, and finish. Because there has been an error, the master package then stops with an error.
 
Case 2:
When we run exactly the same, but with the connection strings in the config file pointing to the default instance (dkms5253), the everything works fine.
 
Case 3:
When we run exactly the same, again against the dkms5253uedw instance, but now with the exact same databases defined in the default instance, it also works perfect.
 
Case 4:
When we then stop the sql-server on the default instance, the package faults again, this time with
 

Error   - €śtimeout when connect to database xxx€?
Info     - €śpackage is preparing to get connection string from parent €¦€?
 
And the continues as in the first case
 
From all this we conclude, that the child package tries to connect to the database before it knows the connection string it gets passed in the variable from the master package. It therefore tries to connect to the default instance, and this only works if the default instance is running and has the same databases defined. As far as we can see, the child package does no work against the default instance (no logging etc.).
 
We have tried delayed validation in the packages and in the connection managers, but with the same results (error).
 
So we are desperately hoping that someone can help us solve this problem.
 

Thanx,
/Nils M - Copenhagen

View Replies !
Execute Package Task: Error 0x80070005 While Preparing To Load The Package. Access Is Denied.
I am having problems executing a child package from a parent package using the Execute Package Task. I am attempting to run the master package through a SQL Server Agent job.

The SQL Server Agent job is owned by sa. The step that runs the parent package is configured to load the package from the SSIS Package Store on the same server that the job is running.

I have the Execute Package Task configured as follows:

Location: SQL Server
ExecuteOutOfProcess: True
Connecting as a SQL Server login (let's say TestEtl)

I have added the db_dtsoperator database role to both the TestEtl login and the login that SQL Server Agent connects through. I have also configured the child package's reader role to include db_dtsoperator. Per http://msdn2.microsoft.com/en-US/library/ms141053.aspx, this should allow these logins to run the child package.

I have enabled logging of all events in both the parent and child packages. I see the following in the logs when the Execute Package Task executes (omitted portions unrelated to the execution of the child package task):

450939 OnPreExecute ChildPackage 2007-06-08 13:35:17.000 2007-06-08 13:35:17.000 450940 OnPreValidate ChildPackage 2007-06-08 13:35:17.000 2007-06-08 13:35:17.000 450941 OnPostValidate ChildPackage 2007-06-08 13:35:17.000 2007-06-08 13:35:17.000 450942 User: Diagnostic ETL 2007-06-08 13:35:17.000 2007-06-08 13:35:17.000 ExternalRequest_pre: The object is ready to make the following external request: 'IDataInitialize::GetDataSource'.450943 User: Diagnostic ETL 2007-06-08 13:35:17.000 2007-06-08 13:35:17.000 ExternalRequest_post: 'IDataInitialize::GetDataSource succeeded'. The external request has completed.450944 User: Diagnostic ETL 2007-06-08 13:35:17.000 2007-06-08 13:35:17.000 ExternalRequest_pre: The object is ready to make the following external request: 'IDBInitialize::Initialize'.450945 User: Diagnostic ETL 2007-06-08 13:35:17.000 2007-06-08 13:35:17.000 ExternalRequest_post: 'IDBInitialize::Initialize succeeded'. The external request has completed.450946 User: Diagnostic ETL 2007-06-08 13:35:17.000 2007-06-08 13:35:17.000 ExternalRequest_pre: The object is ready to make the following external request: 'IDBCreateSession::CreateSession'.450947 User: Diagnostic ETL 2007-06-08 13:35:17.000 2007-06-08 13:35:17.000 ExternalRequest_post: 'IDBCreateSession::CreateSession succeeded'. The external request has completed.450948 OnError ChildPackage 2007-06-08 13:35:17.000 2007-06-08 13:35:17.000 Error 0x80070005 while preparing to load the package. Access is denied. . 450949 OnError ParentPackage 2007-06-08 13:35:17.000 2007-06-08 13:35:17.000 Error 0x80070005 while preparing to load the package. Access is denied. . 450950 OnTaskFailed ChildPackage 2007-06-08 13:35:17.000 2007-06-08 13:35:17.000 450951 OnPostExecute ChildPackage 2007-06-08 13:35:17.000 2007-06-08 13:35:17.000 450952 OnWarning ParentPackage 2007-06-08 13:35:17.000 2007-06-08 13:35:17.000 SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors. 450953 OnPostExecute ParentPackage 2007-06-08 13:35:17.000 2007-06-08 13:35:17.000 450954 PackageEnd ParentPackage 2007-06-08 13:35:17.000 2007-06-08 13:35:17.000 End of package execution.

I am sure that what I am doing is quite common, and I obviously have something misconfigured somewhere - but I'm not sure what my misconfiguration is. Can anyone enlighten me?

View Replies !
Passing Value From A Child Package To The Parent Package That Calls It In Ssis
hi,

 

I am interested in Passing value from a child Package variable to the Parent package that calls it in ssis.

 

I am able to call the Child package using the execute package task and use Configurations to pass values from the parent variable to the child, but I am not able to pass the value from the child to the parent.

 

I have a variable called datasetId in both the parent and child. it gets computed in the child and needs to be passed to the parent...

 

 

Any suggestions?

 

Thanks for any help in advance..

 

smathew

View Replies !
Parent Package Variable Assignment Issue In Child Package.
   
We
have one main package from which 7 other child packages are called. We are using
ParentPackage variables to assign values for variables and database connections.



While the values from ParentPackage variable get assigned to some of the
packages properly, to others it doesn€™t assign the value.

For example:
Except for one of the packages the database connection string gets assigned
properly to all other packages.

Similarly, in another package one of the
variables doesn€™t get assigned. In other packages it is assigned properly.

We
have checked all the other property values and they are exactly the same. 


We cannot make any head or tail of this erratic behavior.

Please Help.

View Replies !
Execute Package Task Can't Continue When The Child Package Failed?
I use a execute package task to run a child package in which I run some sql task.

as the error handle I insert a script task and link a line from execute package task to script task

of course the line is red,

but I found when the child package failed, the execute package task turns red,it stopped

the script task  can't be run, I don't konw why?

 

View Replies !
How To Compose The Connection String Of A SSIS Package That Execute Another Package?
Dear All,

I now have two SSIS package, "TESTING" and "LOADING". The "TESTING" package have an execute package task that call the "LOADING" package. When I want to execute the TESTING package, how can I setup the connection string so that I can edit the password of the database connected by the "LOADING" package?

Regards,

Strike

View Replies !
One Package Two Configurations; App.LoadFromSqlServer(); Package.ImportConfigurationFile(Dev/Prod.dtsconfig);
Hi all,
I need one more help!
we can select the dtsconfig file with the Environment variable(indirect configuration);
but i need to select the configuration file at runtime; i've to load the package from the server and apply local configuration file to the package and run in a web server;
 
Requirements;
1. i have packages with its xml configurations for connection strings alone!
2. i deployed it on the server
3. Trying to execute the packages in a web page onclick event;
 
We have ASP.net WebPage; in On_Click Event, i have this code;

Application ap = new Application();
Package pk = ap.LoadFromSqlServer("\PROJECT", "itsssqldb", "pmo_package_user", "password", null);
pk.ImportConfigurationFile(@"Packagesdev_staging.dtsConfig");
pk.Execute();
here PROJECT is the Package name; i'm loading the package from the Common Sequel Server 2005; and applying the configuration file to that package and trying to execute this;
but its not using the config file what i mentioned; its returning failure!!
 
Can you please help me to resolve this issue!,
 
(The intention of doing this job is to select the configuration file( prod, dev) at runtime)
 

View Replies !
Run Dts Package From Visual Studio(user Will Trigger The Running Of Dts Package)
 

Hi all,
I am creating a dts package to export files from one database to another database.
I tried to search for ways to execute the files and found out that i need to add
reference to Microsoft.Sql.managedDts. However, I cannot find this reference from
my reference. Do i have other alternatives to run this file?

View Replies !
Restructure Of Package Cause Package Not Running Anymore (permission Issue)
 

I have restructured of my package( moving ssis project folder into diffirent directory, and rename package) for the purpose of source control management. But when I open project from studio and run from there. It yeild following error message in ssis logging:
 
Failed to acquire connection "GisPortalDB". Connection may not be configured correctly or you may not have the right permissions on this connection.
 
It look like permission issue. But I don't know how to fix it.
 
My Package ProtectionLevel property is EncryptSensitiveWithPassword.
 
Anyone has suggestion?
 
Thanks!

View Replies !
Report With SSIS Package Having Indirect Package Configuration Setup
Deployed Report having SSIS package as source do not work when Indirect Package configuration is used in ETL package. It seems ETL package when called/executed from Report manager does not recognize environment variable to pick up the dtsconfig file.
 
The Report works when Direct package configuration is used to same dtsconfig file. 
 
What could be the reason? Any solution for this?  This will cause our build/deployment to QA and Prod very difficult.
 
 

View Replies !
Use A DTS Package To Create An Excel, Which Has In The Filename The Date The Package Is Ran
I am trying to create a DTS Package which will run a SQL query and export the results to an Excel file.  I would like to the name of the excel to be "dynamic".  What I would like is for the name to be ChronicDownSiteReport - mmddyy.xls.  The mmddyy is the date which the package is executed.
 How can I do this? 
Also, I want this package to be excuted at 1am every Sunday Morning.  I have attempted to schedule this to run, but when I come to work on Monday, the excel file is not present and the email, which is sent telling me that the file was created is not in my mailbox. 

View Replies !
Run Package On Server CPU Is Done Through SQL Agent: How To Set User Variable In Package Then?
Hi,

 

I have packages stored in SQL store. I was letting users run the packages from a .net app that I made with

Microsoft.SqlServer.Dts.Runtime

Now I have noticed this causes the packages to run on the client pc cpu, as well as the network traffic is done via the client pc, in my particular case this is slow.

From the doc and in this forum I have found that you can run a package on the Server cpu through sql agent, let packages be run in a sql job. after that you can start a package from an application with the SQL sp_start_job .

But How do you set a user::varibale in a package if you have to start the package from a sql agent job ?

 

View Replies !
Problem Setting Package Variables In SSIS Package
Hi,

I am making use of the DtUtil tool to deploy my package to SQL Server.
Following is my configuration:
32-bit machine and 32-bit named instance of Yukon.

I have some package variables which need to be set in the code.

Previously I did it as follows:

Set the package variables in the code. For example:

pkgFile.Variables["User::DestinationServerName"].Value = <myvalue>

Deploy the package as follows:

applnObj.SaveToSqlServer(pkgFile, null,
     destinationServer, null, null);

Here the package was successfully deployed and when i open those packages using BIDS, I am able to see that the variables are set to the values as doen in teh code.


Because of oen problem I am not using SaveToSQLServer method. So I switched to DTUtil tool.
Now I am doing it this way:

Set the package variables as before.
Deploy the package to SQL Server using DTUtil tool.

Now is the problem:
The package is successfully deployed. But the variables are not set to the value that I have specified in the code.

I also tried DTexec utility to set the package variable. Even that does n't work.
Can anyone help me out? Is there any alternate method to set package variables?

Thanks,
Sandhya

View Replies !
Setting Connection String For The Package To Execute From Another Package
I am using execute pacakge task to execute another package . I am giving the Connection string for the package to execute. It works fine in my development machine but when i try to run in another server after i deployed it. It looks for the datasource path of the DTSX file in the same location.

how do i set  the path according to each server where the dtsx file is stored. or any other method of storing it like connection string.

if i store it in theparent package variable where should i point to...

thanks

aa

View Replies !
Schedule A SSIS Package Which Execute DTS 2000 Package
 

I have successfully created a SSIS package which execute a DTS 2000 package and with no problem to execute the task. But I failed to schedule this package. I was not success in setting the logging. When running the package in command line:





 
 
dtexec file "C:Documents and SettingslyangMy DocumentsVisual Studio 2005ProjectsTraingDTSTraingDTSDTSTraining.dtsx"
 

Error: 2008-03-24 08:03:24.36
   Code: 0xC0012024
   Source: Execute DTS 2000 Package Task
   Description: The task "Execute DTS 2000 Package Task" cannot run on this edit
ion of Integration Services. It requires a higher level edition.
End Error
Warning: 2008-03-24 08:03:24.38

   Code: 0x80019002
   Source: DTSTraining
   Description: The Execution method succeeded, but the number of errors raised
(2) reached the maximum allowed (1); resulting in failure. This occurs when the
number of errors reaches the number specified in MaximumErrorCount. Change the M
aximumErrorCount or fix the errors.
End Warning
DTExec: The package execution returned DTSER_FAILURE (1).
 
 
Any help will be greatly appreciated.
 
(32 bit machine, standartd edition of SQL 2005)

 

View Replies !
Resume Parent Package After Child Package Failure...
Hello All,

 

I have a SSIS Package with a "Execute Package Task" to call a child package. I am trying to have the master/parent package complete its execution regardless the outcome (failure or success) of the child package. The overall structure of the master package is:

 

1. Perform Pre-load tasks (stored procedure).

2. Execute Package Task (call child package)

3. Perform Post-load Tasks (stored procedure)

 

I have try everything and cannot get the results that I want... I have tried the combination of "failparentonfailure", "forceexecutionvalue", etc. The master package stops at childs failure. I would like to resume to completion

 

Any ideas out there?

 

Rohan

View Replies !
How To Pass Parameters To A Package Using A Execute Package Task
Hi,
 
I am calling one SSIS package from another using the Execute Package Task.
I also need to pass a parameter to the called SSIS package.
Can I do this? If yes, how? If no, then what will be the work-around for this?
 
Thanks in advance.
 

View Replies !
SSIS Parent Package Can Not Find The Child Package
I have two  SSIS packages in a project, one calling the other. The parent  package works fine  in my local mechine. After they are deployed to the production, I schedeul  jobs to run the packages in the SqlServer. The child package works fine if I run it alone, but the parent package could not find its child package if I run the parent package . As I checked, all xml config files and the connection string pointing to the child package were set correctly. It seems the parent package did not use the xml config file. Can someone help me? Thanks in advance.

View Replies !
How To Deploy A Single Package Of A Multiple Package Solution
Hi,
 
I have a multiple package solution that I've deployed using the manifest file produced with the development environment. If I need to make a change to a single package, how do I then deploy this package? Is it a case of rebuilding the entire solution and re-running the manifest file, or is there a simpler way?
 
Any help would be much appreciated, cheers.

View Replies !
Package Running(Package Import In Sql Server 2005)
 

hi friends ,
is it a package file name(FlatFile)
FlatFile.dtsx
if package file name
 
in sql server i connected integration services
 
-> in stored packages
   -> file system
           -> i selected (r.clcik) import package
 
 
in this FlatFile.dtsx file exist C:WROXWROXFlatFile.dtsx
now i was added
 
steps
 
package location : SSIS Package storage
 server       :  local
pak path   :  C:WROXWROX
package name : FlatFile.dtsx
 
 
when i click on the ok
ERROR : the path is not valid
 

View Replies !
Package Is Not Able To Create Process To Execute Child Package.
 Hi,
In my application, i have two package, parent package and child package. the parent package is executing child package using a Execute Package Task.
"Execute Out Of Process" property of Execute Package Task is set to TRUE. means the child package will be run in separate process not in the process of Parent package.
this was working fine, but at a particular client location. its failing the error is "not able to load child package".
for me it seems some setting on server restricting to create separate process for child package execution.
when "Execute Out Of Process" property of Execute Package Task is set to FALSE. its working fine.
 
can anyone help what could cause its failure with property set to TRUE.
 
 
Appreciate any help.

 

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved