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 8310789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T19:35:21+00:00 2026-06-08T19:35:21+00:00

I am trying to do automatic package execution with a WMI Event Watcher Task

  • 0

I am trying to do automatic package execution with a WMI Event Watcher Task within SSIS. The functionality I want is automatic package execution when excel files are dropped into a certain folder. However, these excel files will be the connection managers for populating a database.

Currently SSIS will not allow me to do this because my excel connection manager does not have a path when I run the program, and only exists once the files are dropped in the folder.

Is there a way for variable excel connection managers or the value of the connection string to be a variable?

Also, how do I implement the usage of this variable in an expression?

  • 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-06-08T19:35:23+00:00Added an answer on June 8, 2026 at 7:35 pm

    You can use a variable for the connection string of you excel source:

    1. Click on your Connection manager of your excel source
    2. In properties window, add an expression(1) ConnectionString(2) and assign a variable(3)

    enter image description here

    There are alot of different things you can do with variables. They are used alot in combination with for each loop containers and file system tasks. Your normally do something like this

    1. create a variable in variable window
    2. Set a static value or one that gets changed during the package flow
    3. Map the variable to an expression

    There are alot howtos on the web, maybe have a look at this to get warm with it:

    http://www.simple-talk.com/sql/ssis/working-with-variables-in-sql-server-integration-services/

    http://www.rafael-salas.com/2007/03/ssis-file-system-task-move-and-rename.html

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

Sidebar

Related Questions

I'm trying to setup an automatic event countdown. What I want to do is
I am trying to set up a package template in SSIS, following the Wrox
I'm trying to implement automatic registration of my listeners to a singleton event aggregator
I trying to make automatic variables available to Excel VBA (like ActiveSheet or ActiveCell)
I'm trying to automate Mac OS X package building via command line interface of
I am trying to perform an automatic login when the user clicks a link
I am trying to do some silly automatic configuration of a Sinatra application which
I am trying to create and automatic preview mechanism for some content entered with
I am trying to integrate the automatic generation of MSI installers with my CruiseControl.Net
I am trying to script the automatic input of file, which is as follows

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.