Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6805695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:37:05+00:00 2026-05-26T19:37:05+00:00

I want pass a value to ssis package, but i have an error back

  • 0

I want pass a value to ssis package, but i have an error back

I execute with batch, the command

dtexec /F "c:\MyPackage.dtsx" /SET \Package.Variables[User::Valore].Properties[Value];2

This is the error (warning) :

C:>dtexec /F “c:\AnagraficaTOC.dtsx” /SET \Package.Variables[User::Valore].Prop
erties[Value];2
Microsoft (R) SQL Server Execute Package Utility
Version 10.50.2500.0 for 64-bit
Copyright (C) Microsoft Corporation 2010. All rights reserved.

Started: 11:30:10
Warning: 2011-11-12 11:30:10.95
Code: 0x80012017
Source: AnagraficaTOC
Description: The package path referenced an object that cannot be found: “\Pa
ckage.Variables[User::Valore].Properties[Value]”. This occurs when an attempt is
made to resolve a package path to an object that cannot be found.
End Warning
DTExec: Could not set \Package.Variables[User::Valore].Properties[Value] value t
o 2.
Started: 11:30:10
Finished: 11:30:10
Elapsed: 0.203 seconds

What does this mean? The syntax looks right to me, I checked on many sites, what is wrong?
Thanks to all!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T19:37:06+00:00Added an answer on May 26, 2026 at 7:37 pm

    Your syntax looks correct assuming your variable is exactly named Valore and lives at the package level scope.

    Variables are case sensitive so if it’s named valore, VAlore, etc, it will not match.

    Variables can be created at any level in the program so scope does matter. Locate the variable Valore and verify it’s scope is at the package level (the Scope will match the Package.Name property). This is an example of how to reference a variable declared inside a Data Flow Task which is nested inside a Sequence Container.

    \Package\Sequence Container\Data Flow Task.Variables[User::something].Properties[Value]

    I put together a simple package and called it using your input. It worked fine

    C:\src\SSISHackAndSlash\SSISHackAndSlash>dtexec /F ".\AnagraficaTOC.dtsx" /SET \Package.Variables[User::Valore].Properties[Value];2
    Microsoft (R) SQL Server Execute Package Utility
    Version 10.50.2500.0 for 64-bit
    Copyright (C) Microsoft Corporation 2010. All rights reserved.
    
    Started:  8:05:45 AM
    Warning: 2011-11-12 08:05:45.93
       Code: 0x00000000
       Source: Script Task value check
       Description: Valore : 2
    End Warning
    DTExec: The package execution returned DTSER_SUCCESS (0).
    Started:  8:05:45 AM
    Finished: 8:05:45 AM
    Elapsed:  0.328 seconds
    

    I also tested with the above command line from inside a batch file and it too worked as expected.

    Finally, it seems you’ve scrubbed your input for us

    "dtexec /F "c:\MyPackage.dtsx" /SET \Package.Variables[User::Valore].Properties[Value];2"
    

    vs

    dtexec /F "c:\AnagraficaTOC.dtsx" /SET \Package.Variables[User::Valore].Prop erties[Value];2 
    

    Despite the space in Properties in the second example, I assume that is related to copying values as the error message has a correct path. The first one has quotes in the wrong places (at least when I run it as provided I receive error – cannot find the path specified) Could the issue be that you’re looking at an older version of the package (or you have multiple copies of it)?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this snippet of code below. I want to pass the value of
I want to pass an enum value as command parameter in WPF, using something
I want to pass a datetime value into my python script on the command
I want to pass value to servlet but I keep get null value. <jsp:useBean
I want to pass the value of 'undefined' on a multiple parameter function but
I want to pass the String value between the classes both are same package.
I have an ajax autocomplete extender. I want to pass the value of the
I want to pass some value through url in wordpress, but I met some
I want to pass value of a variable from template to a templatetag but
I have a simple function that I want to pass the value of a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.