473,507 Members | 2,430 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Execute SSIS package from a Button

I'm new to SSIS. Can someone point me in the right direction on how to
execute an SSIS package from a button OnClick?

With DTS in SQL2000, I just created a job that ran the DTS package and then
ran the job from a Stored Procedure.

Thanks!
Phil
Jun 27 '08 #1
2 3365
do the same with SSIS

-- bruce (sqlwork.com)
"pvong" wrote:
I'm new to SSIS. Can someone point me in the right direction on how to
execute an SSIS package from a button OnClick?

With DTS in SQL2000, I just created a job that ran the DTS package and then
ran the job from a Stored Procedure.

Thanks!
Phil
Jun 27 '08 #2
you can run the package from file, via a sql job on remote machine, or
directly from the remote sqlserver - good examples at
http://msdn2.microsoft.com/en-us/library/ms403355.aspx

the Package.Execute() returns a DTSExecResult enum... in case of any error
the Execute method will return DTSExecResult.Failure

http://msdn2.microsoft.com/en-us/lib...(printer).aspx
http://msdn2.microsoft.com/en-us/lib...(printer).aspx

--
Misbah Arefin
https://mcp.support.microsoft.com/profile/MISBAH.AREFIN
http://www.linkedin.com/in/misbaharefin
"bruce barker" wrote:
do the same with SSIS

-- bruce (sqlwork.com)
"pvong" wrote:
I'm new to SSIS. Can someone point me in the right direction on how to
execute an SSIS package from a button OnClick?

With DTS in SQL2000, I just created a job that ran the DTS package and then
ran the job from a Stored Procedure.

Thanks!
Phil

Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
5378
by: mortenol | last post by:
Hi, I am trying to connect a MS SSIS package to an AS400/DB2 database, and I experience problem when I hit the "Create Package" button in the "Data Link properties window". I have understood that...
0
3033
by: Carl | last post by:
Hi! I need help with some C# code. I have build a SSIS package with an Execute Process Task. I need to send dynamic variables in to my C# program so I thought it was a good idea to use the...
0
1709
by: fboweb.com | last post by:
Hey there! I have a DTS import package from an old SQL server that takes flat text files, does some munging on the columns using ActiveX scripts and imports those flat files to various tables. ...
0
2313
by: rmsterling | last post by:
DSN ODBC pwd not saved when SSIS package imported SQL Server 2005 SP2 (Windows 32bit version) Implemented and FULLY tested a SSIS package with BIDs. This package uses a Data Reader object...
2
1994
by: =?Utf-8?B?THVpZ2k=?= | last post by:
Hi all, how can I execute an SSIS (SQL Server 2005) package from an aspx page in a web application (.NET 2.0)? Thanks in advance. -- Luigi http://blogs.dotnethell.it/ciupaz/ --
0
3836
by: =?Utf-8?B?c293b3Js?= | last post by:
I create the wcf service hosted in IIS. I tried to use "Web Service Task" to call this wcf service in SSIS package. in the Http Connection manager, server url :...
3
3004
by: =?Utf-8?B?THVpZ2k=?= | last post by:
Hi all, how can I execute a SSIS Package from an aspx page in C#? I'm using .NET 2.0. Thanks a lot. -- Luigi http://blogs.dotnethell.it/ciupaz/
3
6144
by: Garima12 | last post by:
My goal is to convert dbf to sql server database using SSIS. The package will run periodically say once in 24 hrs. and again update the data in sql server from dbf file. For this is need to create...
0
1103
by: rush81 | last post by:
I want to execute SSIS package from a windows application. Can anyone tell me how to go about it. The package is stored on the SQL server, so I would be loading it from server. Please respond at...
0
7376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7031
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1542
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
760
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
412
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.