how to run ssis package on command prompt with configuration

  • i have created one ssis with configuration .

    i have run on BIDS that time it is executed scucessfully.

    whenever i had run through command prompt that time it was failed.

    Configuration type: xml

    Variable type:environment variable.

    i have given path in command prompt

    c:\ dtexec.exe /F "D:\SSIS\first.dtsx " /conf "D:\conf.DtsConfig"

  • What has the environment variable to do with the command line? You specify a dtsconfig file directly.

    What is the error that you get?

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • how i will use environment variable in command prompt..

  • You need to configure that in the package itself, not in the command prompt.

    The package will automaticallly retrieve the value from the environment variable and search for the corresponding XML file.

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • i am saying how i mapped configuration in ssis package.

    when ever i had run that package in bids it is excuting suceessfully.

    when ever i will run through command prompt that time it is not working.

    that why i am asking how to excute this type ssis package through command prompt.

  • DTEXEC /f "c:\myPackage.dtsx"

    What is the error that you get?

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • whev ever i had run package through command prompt below sitution.

    when ever i have created connection in project level

    that time package was failed.

    when ever i have created connection in package level

    that time package was excuted success.

    how i will resolve this error.

    i am using bids(2012).

  • subbareddy542 (8/27/2013)


    whev ever i had run package through command prompt below sitution.

    when ever i have created connection in project level

    that time package was failed.

    when ever i have created connection in package level

    that time package was excuted success.

    how i will resolve this error.

    i am using bids(2012).

    You cannot use configurations and the project deployment model at the same time.

    Which deployment model are you using?

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

Viewing 8 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic. Login to reply