Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. ssis package in C#

ssis package in C#

Scheduled Pinned Locked Moved C#
questioncsharpsql-serverhelptutorial
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 4005525
    wrote on last edited by
    #1

    Hi all, I've created a SSIS package and Loaded using C# windows application.I've imported configuration file also. but while exexute that loaded package it returns failure result. I dont know why? But it's working with BI and returns the result successfully. package.Execute() returns failure. Can anyone tell me how can i solve this issue? i have placed the code which i have used in my application. Application app = new Application(); Package package = app.LoadPackage("c:\\Example.dtsx", null); package.ImportConfigurationFile("c:\\Example.dtsConfig"); Variables vars = package.Variables; vars["Name"].Value = name.text.trim(); DTSExecResult result = package.Execute(); Console.WriteLine("Package Execution results: {0}",result.ToString());

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups