DM package task

Hi Experts
I just want to know how will i be able to filter Company in my "Load from Infoprovider"
I am loading data from BW the data is consist of all companies in my members
But i just want  to upload only the company that i will be choosing when i run my package
Can anyone help me wid this thanks
CSD

Hi CSD,
There is nothing to do with the Dynamic Scripts of the LoadInfoProvider Package. You Just need to update the Transformation file with
SELECTION=<TECH_NAME of Source Dimension>,<Member Name>
At last In the OPTION of Transformation file.
Example,
*OPTIONS
FORMAT = DELIMITED
HEADER = YES
DELIMITER = ,
AMOUNTDECIMALPOINT = .
SKIP = 0
SKIPIF =
VALIDATERECORDS=YES
CREDITPOSITIVE=NO
ROUNDAMOUNT=
SELECTION=Z_TIME,2009.OCT
Also to avoid exeding the maximum reject count, Set
MAXREJECTCOUNT=-1
This SELECTION helps only for data load from BI system and not from any other source system
Hope this helps,
Regards,
G.Vijaya Kumar

Similar Messages

  • Error: The Task has failed to load on Execute Package Task using TFS Build and MSBuild.exe on dedicated Build Machine.

    I'm trying to automate my building and deployment of SSIS packages using TFS build definitionss in conjunction with MSBuild.exe on a separate build machine.
    I have successfully built and deployed my projects but receive the following error:
    Error: Failed to load task "etl_UWP_Stage_tstg_7_Large",type "".  The contact information for this task is "Microsoft Corporation: Microsoft SQL Server .... "
    This error happens at runtime as well as if I perform a "Validate..." on the SSIS Catalog on the server.
    This only occurs when trying to execute a package that contains an Execute Package Task.  Any other packages that are doing the actual work are working just fine.
    In addition, when I do the MSBuild from my developer machine with the same deployment process everything works fine, even the Execute Package Task.
    I can even open up the project on the build machine in VS2012, rebuild all, then deploy and everything works fine.
    Some things I've considered/verified:
    1) Visual Studio 2012 and Visual Studio Data Tools 2012 are both on the build machine and my local machine.
    2) The .NET version being used by VS2012 is the same on the build machine and my local machine.
    3) I find it suspicious that the "Type" referenced in the error above is blank...but not sure where to go with that.
    4) Obvious difference is that during the TFS Build and Deploy on the build machine, everything is running under the TFS Service account, rather than my account...once again...not sure where to go with this, but it is a significant difference.
    Has anyone had similar issues or have any thoughts on things to try?
    Thanks,
    Jason

    Not sure why I couldn't find this answer in my earlier searches...
    But this thread solved it for me:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/3aa1e324-da32-4ea0-865c-c69f610ef262/failed-to-load-execute-package-task-error?forum=sqlintegrationservices
    Essentially I had to install SSIS on the build machine so that the 64-bit version for
    ExecPackageTask.dll, was available.  I did this from the original media CD selection Integration Services as a feature.
    Hope this helps someone in the future.

  • Failed to load Execute Package Task error.

    Hello Experts,
    Excuse my newbie question.
    Execute Package Task: Error: The task has failed to load. The contact information for the task is "Microsoft Corporation; Microsoft SQL Server; Microsoft corporation; All Rights Reserved http://www.microsoft.com/sql/support/default.asp:1"
    We have a windows service running on our app server that deploys a package that executes other packages using execute package task. This package and rest of the packages are in the same folder at the same level under integration services
    catalog. The package fails to execute with the above said error.
    Execute package task is configured to run in 'in-process' mode. Changing delay validation to true/false in child packages didn't help.
    ironically if the package is deployed using a console application from the app server the package gets executed just fine. I checked permissions, everything seem fine.
    Is there anyway to get details of this error to understand the problem better? I am looking at reports > standard reports > all executions.
    Thanks.

    As it turns out, the 63bit ExecPackageTask.dll was not found under "C:\Program Files\Microsoft SQL Server\110\DTS\Binn". Installing "SQL Server Data Tools" installed only 32 bit version of the component under "C:\Program Files (x86)\Microsoft SQL
    Server\110\DTS\Binn".
    Is there a way to get 64bit version of this component without installing "Integration Services" (to avoid possible license issues)?
    Hi Jayakarthiks,
    To make use of the 64-bit ExecPackageTask.dll, you also need the 64-bit SSIS runtime and 64-bit DTExec utility tool. To obtain the 64-bit SSIS runtime and tools, you have to install the SQL Server Integration Services service from your SQL Server 2012 install
    media.
    Reference:
    http://msdn.microsoft.com/en-us/library/ms143731.aspx
    Regards,
    Mike Yin
    If you have any feedback on our support, please click here
    Mike Yin
    TechNet Community Support

  • The process cannot access the file because it is being used by another process with Execute package task

    Hi,
    I've a master package that calls other packages with an Execute Package Task. Sometimes we have an error: "The process cannot access the file because it is being used by another process" and sometimes not. It seems random.
    We are working on a Terminal Server and the SQL Server database engine and the files are placed on another server. It seems that the errors doesn't occu when we run the packages on the server with a job. We can't log onto the windows server on this machine..
    Hennie

    I've seen this myself. On most occasions an immediate rerun would fix the issue. As stated this happens only when we try to run this from BIDs. From SQL agent job it always runs fine. 
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Execute Package Task Not Working After New Installation VS2012

    After installing VS2012 Update 4, the execute package task runs the child package out of order.
    The same version of VS is being used as the old computer (same everything, SQL 2012, OS...).  The solution works correctly on machines where VS2012 was installed prior to July 2014.  I've downloaded the BIDS, SSDT.
    Anyone else have the same problem?  I have yet to find anywhere on the internet where someone has reported the same issue.  It has happened on multiple computers since August 2014.

    How to reproduce?
    It is not very likely, but did you try searching MS Connect for this issue?
    Arthur
    MyBlog
    Twitter

  • Execute Package Task

    1. I have a CSV file which contains (  PackageLocationWithName, source info (table/file/accesdb) & other control info) 
    2. I load the CSV file into the SQL Server Table ConfigurationTab
    3. In the SSIS package I assign the values returned from select * from ConfigurationTab to
    a system object : SubjectStagelist ( system.object) Result Set :  ResultName: 0 ..1..2.. , Variable : user:: SubjectStagelist
    4. In the ForEachLoopContainer I use : collection : For Each ADO Enumerator
                                                              ADO Object Source Variable : user:: SubjectStagelist
                                                              Enumeration Mode : Rows in the first table
    5. Created  variables equals to number of column in the table(csv file):  
    6. Assigned these variables as index 0,1,2... in Variable Mappings in the ForEachLoopContainer ( Assuming that the values from the SubjectStagelist will be assigned to the new variables )
    7. Under the ForEachLoopContainer I have the execute process task. Here I want to n number of child packages to perform the data load from source to target ( n = no of rec in csv file which is fixed)
    In the execute package task I use the location as File, point to one of the files as connection and under expressions  - I have connection as @user::PackagePath (this variable will hold the complete package path with name e.g c\desktop\....\pkgName.dtsx).
    When I try so save the master package in the execute package task, I use the location as file which
    automatically changed to SQLSERVER from file and also throws the error by saying
    The connection "c\desktop\....\pkgName.dtsx"
    is not found. This error is thrown by Connections collection when the specific connection element is not found.
    "@user::PackagePath" on property "Connection" cannot be written to the property. The expression was evaluated, but cannot be set on the property.  
    But it keeps on giving me this  error ? Am I following the right steps ? 
    Please advice....
    Neil

    Hi Visakh,
    Now I am getting the below error.  In SQL table I have the data type as datetime for
    Date_Endtime(in Pkg it is datetime) variable and Integer for
    Int_Batch_Nbr(in pkg it is Int32) variable
    How can I typecast this if required, as I am capturing entire record into Object variable for further processing
    Error: 0xC001C012 at ForEach Loop: ForEach Variable Mapping number 10 to variable "User::Date_Endtime" cannot be applied.
    Error: 0xC001F009 at MSTR_Pkg: The type of the value being assigned to variable "User::Int_Batch_Nbr" 
    differs from the current variable type. Variables may not change type during execution. Variable types are strict, except for variables of type Object.
    Neil
    I think the issue is you've variables jumbled up in the mapping within for each loop. You need to make sure the index mapped to Date_EndTime corresponds to resultset column with datetime values and that to Int_Batch_Nbr corresponds to integer values. As
    of now its not correct which is why it complains about data type mismatch.
    Also didnt understand why you unmarked original answer as it was the solution to your actually posted problem. Now what you're asking is an unrelated issue. Anyone looking at this would have benefited with previous answer if their original issue was with
    execute package task property expression.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Execute package task is not able to pickup the package to execute it from a Foreach Loop Container

    Hi,
    I want to execute 5 packages using EXECUTE PACKAGE Task in FOR EACH LOOP Container. I followed the instructions as per the below link
    http://microsoft-ssis.blogspot.in/2013/01/master-child-packages-part-1-file-based.html
    When I execute the main package it is going to folder where i have that 5 packages and picking up the first one then it is not completing the package keep on executing the same.
    What i need to check here, kindly help me here.
    Regards,
    Sridhar V
    Sridhar

    Add a dummy execute sql task as first step inside loop and add a breakpoint to that for OnPreExecute event and check value of variable during each iteration to see if it gets value of each child package witin folder correctly.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • 2012: Execute Package Task (external reference) Very Slow in SSDT

    Hi All,
    I have 4 packages which I've deployed using the package deployment model to the MSDB package store.
    Configuration setup is System Env Var pointing at SSIS Configurations table that populates the connection string of my SSISConfig data source. Source/Dest configurations are in the SSIS Configuration table.
    I have a  'master' package that executes the 4 packages in parallel using the Execute Package control flow task (external reference, SSIS Package Store)
    When I execute this master package in SSDT it takes 1minute 56 seconds to finish. All the execute package tasks seem to hang until the last few sec then finish one after the other. It's the same if execute one of the Execute Package Task items individually.
    It just hangs there for nearly 2 min then rushes through its work (i've verified by looking at the destination tables; nothing happens until the end).
    But the packages executed directly in ssdt take 2-3 sec to execute.
    I've deployed the master package to the server and executed it via SSMS. It takes <3 sec.
    I've RDPed into the ssis box and it's the same. Executing the packages individually or the master package in dtexecui takes less than 3 sec.
    Something's going wrong inside SSDT (some kind of timeout? but there are no error msgs or warning) that's making it take nearly 2 minutes.
    Have others experienced this? Have I misconfigured something? The env var has been working on my local machine since last week and i've restarted many times since then, so I'm positive SSDT is using the 'current' version of the env var.
    Jakub @ Adelaide, Australia

    Very strange. The sysssislogs are the same for any method of execution, but there's a 5 sec delay for each step when executing via SSDT
    endtime,message
    2014-02-06 09:37:15.000,Execute phase is beginning.
    2014-02-06 09:37:20.000,PrimeOutput will be called on a component. : 104 : Merge Join : Merge Join
    2014-02-06 09:37:20.000,PrimeOutput will be called on a component. : 213 : Unchanged : Unchanged
    2014-02-06 09:37:25.000,A component has returned from its PrimeOutput call. : 213 : Unchanged : Unchanged
    2014-02-06 09:37:25.000,A component has returned from its PrimeOutput call. : 104 : Merge Join : Merge Join
    2014-02-06 09:37:30.000,PrimeOutput will be called on a component. : 143 : ODS - Src - State : ODS - Src - State
    2014-02-06 09:37:30.000,PrimeOutput will be called on a component. : 17 : Src - dbo - State : Src - dbo - State
    2014-02-06 09:37:35.000,A component has returned from its PrimeOutput call. : 143 : ODS - Src - State : ODS - Src - State
    2014-02-06 09:37:35.000,A component has returned from its PrimeOutput call. : 17 : Src - dbo - State : Src - dbo - State
    2014-02-06 09:37:35.000,Rows were provided to a data flow component as input. : : 264 : OLE DB Source Output : 182 : Source Checksum : 185 : ChecksumInput : 7 : Source Checksum : Paths[Src - dbo - State.OLE DB Source Output] : Source Checksum.Inputs[ChecksumInput]
    2014-02-06 09:37:35.000,Rows were provided to a data flow component as input. : : 263 : OLE DB Source Output : 53 : Destination Checksum : 56 : ChecksumInput : 7 : Destination Checksum : Paths[ODS - Src - State.OLE DB Source Output] : Destination Checksum.Inputs[ChecksumInput]
    2014-02-06 09:37:40.000,A component will be given the end of rowset signal. : 53 : Destination Checksum : 56 : ChecksumInput : Destination Checksum : Destination Checksum.Inputs[ChecksumInput]
    2014-02-06 09:37:40.000,Rows were provided to a data flow component as input. : : 258 : ChecksumOutput : 104 : Merge Join : 109 : Merge Join Left Input : 7 : Merge Join : Paths[Source Checksum.ChecksumOutput] : Merge Join.Inputs[Merge Join Left Input]
    2014-02-06 09:37:40.000,A component will be given the end of rowset signal. : 182 : Source Checksum : 185 : ChecksumInput : Source Checksum : Source Checksum.Inputs[ChecksumInput]
    2014-02-06 09:37:45.000,Rows were provided to a data flow component as input. : : 259 : ChecksumOutput : 104 : Merge Join : 118 : Merge Join Right Input : 7 : Merge Join : Paths[Destination Checksum.ChecksumOutput] : Merge Join.Inputs[Merge Join Right Input]
    2014-02-06 09:37:45.000,Rows were provided to a data flow component as input. : : 264 : OLE DB Source Output : 182 : Source Checksum : 185 : ChecksumInput : 0 : Source Checksum : Paths[Src - dbo - State.OLE DB Source Output] : Source Checksum.Inputs[ChecksumInput]
    2014-02-06 09:37:45.000,Rows were provided to a data flow component as input. : : 263 : OLE DB Source Output : 53 : Destination Checksum : 56 : ChecksumInput : 0 : Destination Checksum : Paths[ODS - Src - State.OLE DB Source Output] : Destination Checksum.Inputs[ChecksumInput]
    2014-02-06 09:37:50.000,A component has finished processing all of its rows. : 53 : Destination Checksum : 56 : ChecksumInput : Destination Checksum : Destination Checksum.Inputs[ChecksumInput]
    2014-02-06 09:37:50.000,A component has finished processing all of its rows. : 182 : Source Checksum : 185 : ChecksumInput : Source Checksum : Source Checksum.Inputs[ChecksumInput]
    2014-02-06 09:37:55.000,A component will be given the end of rowset signal. : 104 : Merge Join : 118 : Merge Join Right Input : Merge Join : Merge Join.Inputs[Merge Join Right Input]
    2014-02-06 09:38:00.000,Rows were provided to a data flow component as input. : : 259 : ChecksumOutput : 104 : Merge Join : 118 : Merge Join Right Input : 0 : Merge Join : Paths[Destination Checksum.ChecksumOutput] : Merge Join.Inputs[Merge Join Right Input]
    2014-02-06 09:38:05.000,A component has finished processing all of its rows. : 104 : Merge Join : 118 : Merge Join Right Input : Merge Join : Merge Join.Inputs[Merge Join Right Input]
    2014-02-06 09:38:10.000,A component will be given the end of rowset signal. : 104 : Merge Join : 109 : Merge Join Left Input : Merge Join : Merge Join.Inputs[Merge Join Left Input]
    2014-02-06 09:38:15.000,Rows were provided to a data flow component as input. : : 258 : ChecksumOutput : 104 : Merge Join : 109 : Merge Join Left Input : 0 : Merge Join : Paths[Source Checksum.ChecksumOutput] : Merge Join.Inputs[Merge Join Left Input]
    2014-02-06 09:38:20.000,A component has finished processing all of its rows. : 104 : Merge Join : 109 : Merge Join Left Input : Merge Join : Merge Join.Inputs[Merge Join Left Input]
    2014-02-06 09:38:20.000,Rows were provided to a data flow component as input. : : 261 : Merge Join Output : 2 : Add audit columns : 3 : Derived Column Input : 7 : Add audit columns : Paths[Merge Join.Merge Join Output] : Add audit columns.Inputs[Derived Column Input]
    2014-02-06 09:38:25.000,A component will be given the end of rowset signal. : 2 : Add audit columns : 3 : Derived Column Input : Add audit columns : Add audit columns.Inputs[Derived Column Input]
    2014-02-06 09:38:25.000,Rows were provided to a data flow component as input. : : 260 : Derived Column Output : 195 : Type 1 SCD : 196 : Conditional Split Input : 7 : Type 1 SCD : Paths[Add audit columns.Derived Column Output] : Type 1 SCD.Inputs[Conditional Split Input]
    2014-02-06 09:38:30.000,Rows were provided to a data flow component as input. : : 265 : Unchanged : 213 : Unchanged : 214 : Union All Input 1 : 7 : Unchanged : Paths[Type 1 SCD.Unchanged] : Unchanged.Inputs[Union All Input 1]
    2014-02-06 09:38:30.000,Rows were provided to a data flow component as input. : : 261 : Merge Join Output : 2 : Add audit columns : 3 : Derived Column Input : 0 : Add audit columns : Paths[Merge Join.Merge Join Output] : Add audit columns.Inputs[Derived Column Input]
    2014-02-06 09:38:35.000,A component has finished processing all of its rows. : 2 : Add audit columns : 3 : Derived Column Input : Add audit columns : Add audit columns.Inputs[Derived Column Input]
    2014-02-06 09:38:40.000,A component will be given the end of rowset signal. : 195 : Type 1 SCD : 196 : Conditional Split Input : Type 1 SCD : Type 1 SCD.Inputs[Conditional Split Input]
    2014-02-06 09:38:45.000,Rows were provided to a data flow component as input. : : 260 : Derived Column Output : 195 : Type 1 SCD : 196 : Conditional Split Input : 0 : Type 1 SCD : Paths[Add audit columns.Derived Column Output] : Type 1 SCD.Inputs[Conditional Split Input]
    2014-02-06 09:38:50.000,A component has finished processing all of its rows. : 195 : Type 1 SCD : 196 : Conditional Split Input : Type 1 SCD : Type 1 SCD.Inputs[Conditional Split Input]
    2014-02-06 09:38:55.000,A component will be given the end of rowset signal. : 66 : Insert ODS - Src - State : 79 : OLE DB Destination Input : Insert ODS - Src - State : Insert ODS - Src - State.Inputs[OLE DB Destination Input]
    2014-02-06 09:38:55.000,A component will be given the end of rowset signal. : 220 : Update ODS - Src - State : 225 : OLE DB Command Input : Update ODS - Src - State : Update ODS - Src - State.Inputs[OLE DB Command Input]
    2014-02-06 09:38:55.000,A component will be given the end of rowset signal. : 213 : Unchanged : 214 : Union All Input 1 : Unchanged : Unchanged.Inputs[Union All Input 1]
    2014-02-06 09:39:00.000,Rows were provided to a data flow component as input. : : 262 : New : 66 : Insert ODS - Src - State : 79 : OLE DB Destination Input : 0 : Insert ODS - Src - State : Paths[Type 1 SCD.New] : Insert ODS - Src - State.Inputs[OLE DB Destination Input]
    2014-02-06 09:39:00.000,Rows were provided to a data flow component as input. : : 257 : Changed : 220 : Update ODS - Src - State : 225 : OLE DB Command Input : 0 : Update ODS - Src - State : Paths[Type 1 SCD.Changed] : Update ODS - Src - State.Inputs[OLE DB Command Input]
    2014-02-06 09:39:00.000,"The final commit for the data insertion in ""Insert ODS - Src - State"" has started."
    2014-02-06 09:39:00.000,Rows were provided to a data flow component as input. : : 265 : Unchanged : 213 : Unchanged : 214 : Union All Input 1 : 0 : Unchanged : Paths[Type 1 SCD.Unchanged] : Unchanged.Inputs[Union All Input 1]
    2014-02-06 09:39:00.000,"The final commit for the data insertion in ""Insert ODS - Src - State"" has ended."
    2014-02-06 09:39:05.000,A component has finished processing all of its rows. : 213 : Unchanged : 214 : Union All Input 1 : Unchanged : Unchanged.Inputs[Union All Input 1]
    2014-02-06 09:39:05.000,A component has finished processing all of its rows. : 220 : Update ODS - Src - State : 225 : OLE DB Command Input : Update ODS - Src - State : Update ODS - Src - State.Inputs[OLE DB Command Input]
    2014-02-06 09:39:05.000,A component has finished processing all of its rows. : 66 : Insert ODS - Src - State : 79 : OLE DB Destination Input : Insert ODS - Src - State : Insert ODS - Src - State.Inputs[OLE DB Destination Input]
    2014-02-06 09:39:05.000,Post Execute phase is beginning.
    2014-02-06 09:39:05.000,Insert ODS - Src - State wrote 0 rows.
    2014-02-06 09:39:05.000,Cleanup phase is beginning.
    2014-02-06 09:39:05.000,End of package execution.
    2014-02-06 09:39:05.000,
    2014-02-06 09:39:05.000,"<?xml version=""1.0""?><DTS:ProcessMemoryUsage xmlns:DTS=""www.microsoft.com/SqlServer/Dts""><DTS:PeakWorkingSetSize>66457600</DTS:PeakWorkingSetSize></DTS:ProcessMemoryUsage>"
    2014-02-06 09:39:05.000,End of package execution.
    Look at the times. It's going up in exact 5sec increments! The package takes about 3 sec to run when the master package is executed via dtexecUI outside SSDT. The log looks "normal" in those instances as well; the end times are more randomised
    This is with SP1 CU8 installed.
    Jakub @ Adelaide, Australia

  • Execute package task to call external package

    Hi all,
    I'm developing a SSIS project, I need an "execute package task" to execute a packahe stored in the SSISDB catalog of a SQL Server 2014 Instance.
    If I choose "External Reference" I can choose from "File System" and "SQL Server" but if I point to the last one I can't see package stored in the SSISDB, it seems to me that the new SSISDB catalog is not supported in Visual
    Stusio (I'm using VS 2013).
    Hey Microsoft developers, when you are at the coffe break, please talk each other!!! 

    Hi Andrea,
    As per my understanding, we can store packages to SSISDB database from SQL Server 2012. But we can also store package to MSDB database from SQL Server 2012. This is not a deprecated feature.
    But the Execute Package task can run a child package from the project with Project Reference, can also run packages stored in the SQL Server MSDB database and packages stored in the file system with External Reference. There is no such feature that
    support run the package from SSISDB database in the Execute Package task. For more details, please see:
    https://technet.microsoft.com/en-us/library/ms137609(v=sql.110).aspx
    Besides, if you want to also select a package from SSISDB database, I recommend you that submit the requirement at
    https://connect.microsoft.com/SQLServer/.  If the requirement mentioned by customers for many times, the product team may consider to add this feature in the next SQL Server version. Your feedback
    is valuable for us to improve our products and increase the level of service provided.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Dynamic Execute package Task

    Hi ETL,
    I have Master package consisting of 10 child packages, i'm calling child packages using execute package task
    Now the issue is, child package location should be configurable .
    Plz help me

    Thats easy.
    Add the connection string property of package connection manager used within Execute Package Task as a configuration within package and pass it through XML file or SQL server table value
    http://biatlink.wordpress.com/2013/11/22/ssis-dynamic-location-for-execute-package-task/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • SCCM 2007 Determine packages/task sequence distributed specific time and date

    Hi All,
    Back from holiday to find SCCM task sequences for client PCs have been pushed to servers :(
    My knowledge on SCCM/SQL is somewhat limited.
    Are there ways to find task sequences that are distributed specific time and date and to which collections?
    Many thanks!

    managed to sort this out myself.
    On a affected machine, I've located a logfile 'smsts.log' in '
    C:\Windows\SysWOW64\CCM\Logs', then searched for advertisement prefix.

  • Mac OS X: calling Self-Contained App Package Ant Tasks with jenkins

    Hello,
    we're trying to create a self-contained application package using the ant packager tasks running on Mac OS X Mountain Lion using Java 1.7.0_07-b10. This works fine when it is executed as a regular build. However, when we try to execute it from a Jenkins build job that is forced to use our "Mac Build Node" everything works fine as well BUT the packager fails to create a DMG-Image. It seems that the Applescript, created by the Packager to build the DMG, has problems to talk to the Finder application. Probably because it is executed remotely.
    Here is the Stacktrace:
    16:36:55 Using default package resource [script to run after application image is populated] (add package/macosx/sfx-client-post-image.sh to the class path to customize)
    16:36:55   Using default package resource [DMG setup script] (add package/macosx/sfx-client-dmg-setup.scpt to the class path to customize)
    16:37:09 /var/folders/rk/mtx558t16p1f50_432f2dkq00000gq/T/build6253445559899130246.fxbundler/macosx/sfx-client-dmg-setup.scpt:55:59: execution error: Finder got an error: Application isn’t running. (-600)
    16:37:09 java.io.IOException: Exec failed with code 1 command [[osascript, /var/folders/rk/mtx558t16p1f50_432f2dkq00000gq/T/build6253445559899130246.fxbundler/macosx/sfx-client-dmg-setup.scpt] in unspecified directory
    16:37:09      at com.sun.javafx.tools.packager.bundlers.IOUtils.exec(IOUtils.java:131)
    16:37:09      at com.sun.javafx.tools.packager.bundlers.IOUtils.exec(IOUtils.java:107)
    16:37:09      at com.sun.javafx.tools.packager.bundlers.IOUtils.exec(IOUtils.java:101)
    16:37:09      at com.sun.javafx.tools.packager.bundlers.MacDMGBundler.buildDMG(MacDMGBundler.java:356)
    16:37:09      at com.sun.javafx.tools.packager.bundlers.MacDMGBundler.bundle(MacDMGBundler.java:80)
    16:37:09      at com.sun.javafx.tools.packager.PackagerLib.generateNativeBundles(PackagerLib.java:452)
    16:37:09      at com.sun.javafx.tools.packager.PackagerLib.generateDeploymentPackages(PackagerLib.java:435)
    16:37:09      at com.sun.javafx.tools.ant.DeployFXTask.execute(DeployFXTask.java:215)I'd like to know if this is a known problem or a general limitation of the packager (or the way DMG creation works in OS X) ... OR if there is anything that I can do/configure/change to make it execute correctly when called via ssh on a remote mac?
    Thanks in advance!
    Jens

    Apple script is used to style dmg installer (position icons, etc.).
    This is unavoidable step unless you will only build .app and generate .dmg on your own.
    It should still work over ssh if you log as a same user on the desktop on the build system.
    Finder can not initialize if it can not display. We use Hudson in house to do builds and they are building .dmg bundles fine as long as build slaves
    have same user logged in on desktop on the slave node. I assume similar should work for Jenkins but i have not tried myself.
    Otherwise, you can do custom dmg along these lines:
    - create .dmg image once from manual build
    - convert .dmg file to read-write form
    - remove content of you application folder (but keep top level app directory)
    - add this dmg to the build (should be able to compress it if size is concern)
    - at the build time - mount it, copy .app content into the image, then convert .dmg into compressed read only form

  • Not able to run the SSIS package in SQL Server Agent Job in SQL 2012

    Hi,
    I scheduled a job (SQL SERVER AGENT) which will call my SSIS package. This package will execute 5 packages in loop.
    When I execute this job I am getting error as below
    ============================================================
    Started  : 12:30:19 PM 
    Error  : 2014-01-23 12:30:20.37    
    Code  : 0xC00220EC    
    Source  : Execute Package Task     
    Description : Error 0x80070005. Failed to create an instance of empty child package.
        The Distributed Component Object Model (DCOM) configuration or the installation of SQL Server Integration Services,
        may be corrupted on your machine.  End Error 
    Error  : 2014-01-23 12:30:20.37    
    Code  : 0xC00220DE    
    Source  : Execute Package Task     
    Description : Error 0x80070005 while loading package file "D:\SSIS\RetailMobileApp\Staging_Pkg\stg_Category_Master.dtsx". Access is denied.End Error 
    DTExec  : The package execution returned DTSER_FAILURE (1). 
    Started  : 12:30:19 PM 
    Finished : 12:30:20 PM 
    Elapsed  : 1.123 seconds. 
    The package execution failed. 
    The step failed.
    ============================================================
    In the STEPS I have selected as follows:
    Type  : SQL Server Integration Services Package
    Run as: SQL Server Agent Service Account
    Package Source: File System
    What config I need to check here ? This job is not able to access the package stored in the folder.
    Sridhar

    Thanks for your reply. I had created credentials and used this while creating the Proxy account. With the Proxy account I am able to execute the Job Successfully. Concern here is I used my NT account to create this Proxy. Suppose If I left from the
    current project if some one is coming to this project later they need to change the credential with their NT account and run the JOB? Is this right way or we an create any other account in common? If so how?
    Sridhar

  • How to deploy parent child SSIS package to production/live server.

    Hi all I am very new to SSIS. I have got SSIS package developed by some other guy this package reads data from flat files and stores to database after mapping.
    Flow: 1) First package extract records from flat file and stores in table. 2) Then it calls child package using Execute package tasks. 3) Then child package do some calculations and update the database table.
    SSIS is using Environment variable to get database information.
    Every thing is working fine but now I want to deploy this package to my client's server.
    Ques: Do I need to copy and paste files from bin folder and paste on clients machine?
    What I Tried: I copy files from bin folder and placed on my local computer. Then I create a job in MSSQL and run the job. Package runs perfectly. But Later I changed location of my project and problem starts job stops working.
    Issue: Error says location of child package is not available(As I changed position of my project files)
    Kindly suggest what to do. 

    Hi Anuj,
    The issue occurs because the path of the child package is invalid once you change the location of the project. When configuring the child package reference for Execute Package Task, we can configure it to use Project Reference or External Reference:
    As for the Project Reference, it is used when the project is not deployed or the project to deployed to the SSISDB catalog in SSIS 2012.
    As for the SQL Server External Reference, it is used when the project or child package is deployed to the msdb database. The File System External Reference can be used no matter whether the child package is deployed or not.
    Since the SQL Server Agent job runs correctly after you copied the bin folder to the local computer, it seems that the Execute Package Task uses File System reference and reference to a mapped network driver which maps to the folder that contains the original
    IS project. Otherwise, the SQL Server Agent job should fail because of the invalid path of the child package even if you don’t change the location of the original IS project.
    In your scenario, after copying the bin folder to your local computer, it is recommended that you install the child package to the File System or msdb on your local server, and then edit the parent package in BIDS/SSDT to change the reference of the installed
    child package from the File System or SQL Server storage. After that, you can but don’t have to install the parent package.
    Regards,
    Mike Yin
    TechNet Community Support

  • Running multiple SSIS packages using SQL Server Agent question.

    I have a multitude of SSIS packages I want to run using SQL Server Agent.  What would the best practice be for running these jobs using SQL Server Agent?  One job per package or running all pakages from one job?  If you have an answer can
    you explain the technical reasoning behind your answer?  Thanks in advance.
    Stan Benner

    Hi, maybe a bit more analysis will give a better answer
    Do all the packages have to run in sequence? (if yes, single job better)
    Can the list of packages to be executed be grouped by dependency (ex package 1,2 and 5 must run in sequence and can be executed by one job, while package 3,4 are not dependent on package 1,2 and 5 can be run by a separate job).
    Can any jobs be run in parallel?
    How often will the package execution sequence change?
    How will you deploy your packages and job? (the more jobs to create the more install script needed and upgrade scenarios become messy).
    My personal preference:
    I create ONE ssis package which is executed by ONE sql agent job. lets call this 'PackageExecutionWrapper.dtsx'
    PackageExectionWrapper then contains multiple 'Execute Package' tasks for the packages you want to execute.
    In the package you can apply any package execution rules - which packages have to run after the other, which packages can run concurrently, which packages should only run if previous succeeded.
    If you need to change the sequence, simple, just update the PackageExecutionWrapper package.

Maybe you are looking for