Total members 10259 | Gratitudes |It is currently Mon May 21, 2012 2:55 pm Login / Join Codemiles


All times are UTC [ DST ]




Post new topic Reply to topic  Quick reply  [ 1 post ] 
Author Question
 Question subject: SSIS .dtsx packages and .net
PostPosted: Wed Feb 04, 2009 7:01 pm 
Offline
Newbie
User avatar

Joined: Wed Feb 04, 2009 6:56 pm
Posts: 1
Has thanked: 0 time
Have thanks: 0 time

I have the following code but I cannot seem to get a local simple .dtsx package to run in c#. I ran it with essentially the same code in VB.Net but c# keeps giving me errors. I have gotten the code to it's simpliest form and yet I still get errors. any ideas?
Yes, i do have all the correct references and namespaces.

public class clsSSIS1
// {
// public static void RunDTSX()
// {
// string pkgLocation;
// pkgLocation = "C:\\Documents and Settings\\otmxm1\\Desktop\\LoadBeaPayroll\\LoadBeaPayroll\\bin\\package.dtsx";

// Application app = new Application();
// Package package = null;
// Package pkg = app.LoadPackage(pkgLocation, null,true);
//Package pkg = app.LoadPackage(@"C:\Documents and Settings\otmxm1\Desktop\LoadBeaPayroll\LoadBeaPayroll\bin\package.dtsx", null);
// DTSExecResult result = package.Execute();
//Console.WriteLine (result.ToString);
// Console.ReadKey();

// }
// }
// }


TOP
 Profile Send private message  
Reply with quote  
Post new topic Reply to topic Quick reply  [ 1 post ] 
Quick reply


  

 Similar topics
 Uplading Files Dynamically Using SSIS
 packages in java
 Business & Personal Webhosting Packages.
 connect SSIS package with ASP.net
 make decision while importing packages

All times are UTC [ DST ]


Users browsing similar posts

Users browsing this forum: No registered users and 1 guest



Jump to:  
Previous Question | Next Question 




Home
General Talks
Finished Projects
Code Library
Games
Tutorials

Java
C/C++
C-sharp
php
Script
JSP/Servlets
Ajax
ASP/ASP.net
Google SEO
Database
Communications
Phpbb3 styles
Photoshop tutorials
Flash tutorials
Find a job






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team