dbTalk Databases Forums  

Execute SSIS package though ASP.Net 2.0 application

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Execute SSIS package though ASP.Net 2.0 application in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Shagun
 
Posts: n/a

Default Execute SSIS package though ASP.Net 2.0 application - 01-17-2006 , 07:06 AM






Hi All ,

I want to execute SSIS pakage through a web apllication.
Please give me some pointers and idea , how to achieve this

Regards
Shagun

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Execute SSIS package though ASP.Net 2.0 application - 01-17-2006 , 02:35 PM






Hello Shagun,

How about you call a job which calls the SSIS package?

You could also of course install SSIS locally and call the package programmatically
or through DTExec

Allan


Quote:
Hi All ,

I want to execute SSIS pakage through a web apllication. Please give
me some pointers and idea , how to achieve this

Regards
Shagun



Reply With Quote
  #3  
Old   
Shagun
 
Posts: n/a

Default Re: Execute SSIS package though ASP.Net 2.0 application - 01-18-2006 , 12:14 AM



Hi Allan,

Can you please explain it more like how to execute SSIS package from a job

Thanks in advance

Shagun

"Allan Mitchell" wrote:

Quote:
Hello Shagun,

How about you call a job which calls the SSIS package?

You could also of course install SSIS locally and call the package programmatically
or through DTExec

Allan


Hi All ,

I want to execute SSIS pakage through a web apllication. Please give
me some pointers and idea , how to achieve this

Regards
Shagun




Reply With Quote
  #4  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Execute SSIS package though ASP.Net 2.0 application - 01-18-2006 , 04:26 PM



Hello Shagun,


Create a job that executes a DTS package (job step) It will do this by calling
DTExec.


Have a look in BOL Here

ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/extran9/html/c5fecc23-6f04-4fb2-9a29-01492ea41404.htm


Allan



Quote:
Hi Allan,

Can you please explain it more like how to execute SSIS package from a
job

Thanks in advance

Shagun

"Allan Mitchell" wrote:

Hello Shagun,

How about you call a job which calls the SSIS package?

You could also of course install SSIS locally and call the package
programmatically or through DTExec

Allan

Hi All ,

I want to execute SSIS pakage through a web apllication. Please
give me some pointers and idea , how to achieve this

Regards
Shagun



Reply With Quote
  #5  
Old   
Roz
 
Posts: n/a

Default Re: Execute SSIS package though ASP.Net 2.0 application - 03-13-2006 , 09:30 AM



Allan,

Hello. I posted a similar request..that is, how to call a SQL 2005 package
thru either an ASP or ASP.NET web page. I understand your post that you can
also call the package via a job. However, the BOL article you refer to NEVER
mentions doing this from a web page. It only mentions generically calling a
job which in effect calls the package. We need to call the job (or package)
from a web page. This was fairly simply in SQL 2000, but code I've used
below no longer works for SQL 2005.

<%

Dim oPkg

Set oPkg = Server.CreateObject("DTS.Package")
oPkg.LoadFromSQLServer
"HQ-SQLSERVER-01","PACKAGE_RUNNER","MYPASSWORD",DTSSQLStgFlag_De fault,"","","","LOAD_EAGLS_05"


oPkg.Execute()


%>





"Allan Mitchell" wrote:

Quote:
Hello Shagun,


Create a job that executes a DTS package (job step) It will do this by calling
DTExec.


Have a look in BOL Here

ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/extran9/html/c5fecc23-6f04-4fb2-9a29-01492ea41404.htm


Allan



Hi Allan,

Can you please explain it more like how to execute SSIS package from a
job

Thanks in advance

Shagun

"Allan Mitchell" wrote:

Hello Shagun,

How about you call a job which calls the SSIS package?

You could also of course install SSIS locally and call the package
programmatically or through DTExec

Allan

Hi All ,

I want to execute SSIS pakage through a web apllication. Please
give me some pointers and idea , how to achieve this

Regards
Shagun




Reply With Quote
  #6  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Execute SSIS package though ASP.Net 2.0 application - 03-13-2006 , 05:12 PM



Hello Roz,

Have you tried

CREATEOBJECT("SSIS.Package")


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com

Quote:
Allan,

Hello. I posted a similar request..that is, how to call a SQL 2005
package thru either an ASP or ASP.NET web page. I understand your
post that you can also call the package via a job. However, the BOL
article you refer to NEVER mentions doing this from a web page. It
only mentions generically calling a job which in effect calls the
package. We need to call the job (or package) from a web page. This
was fairly simply in SQL 2000, but code I've used below no longer
works for SQL 2005.

%

Dim oPkg

Set oPkg = Server.CreateObject("DTS.Package")
oPkg.LoadFromSQLServer
"HQ-SQLSERVER-01","PACKAGE_RUNNER","MYPASSWORD",DTSSQLStgFlag_De fault,
"","","","LOAD_EAGLS_05"
oPkg.Execute()

%

"Allan Mitchell" wrote:

Hello Shagun,

Create a job that executes a DTS package (job step) It will do this
by calling DTExec.

Have a look in BOL Here

ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/extran9/html/c5fecc23-6f04-4fb2
-9a29-01492ea41404.htm

Allan

Hi Allan,

Can you please explain it more like how to execute SSIS package from
a job

Thanks in advance

Shagun

"Allan Mitchell" wrote:

Hello Shagun,

How about you call a job which calls the SSIS package?

You could also of course install SSIS locally and call the package
programmatically or through DTExec

Allan

Hi All ,

I want to execute SSIS pakage through a web apllication. Please
give me some pointers and idea , how to achieve this

Regards
Shagun



Reply With Quote
  #7  
Old   
Darren Green
 
Posts: n/a

Default Re: Execute SSIS package though ASP.Net 2.0 application - 03-14-2006 , 02:14 AM



That looks like ASP code, not ASP.Net, you require the latter which is
different again.

Add a reference to the ManagedDTS library. Create an Application object and
use that to load the package. Then calll Execute.

--
Darren
http://wiki.sqlis.com | http://www.sqlis.com | http://www.sqldts.com

"Roz" <Roz (AT) discussions (DOT) microsoft.com> wrote

Quote:
Allan,

Hello. I posted a similar request..that is, how to call a SQL 2005
package
thru either an ASP or ASP.NET web page. I understand your post that you
can
also call the package via a job. However, the BOL article you refer to
NEVER
mentions doing this from a web page. It only mentions generically calling
a
job which in effect calls the package. We need to call the job (or
package)
from a web page. This was fairly simply in SQL 2000, but code I've used
below no longer works for SQL 2005.

%

Dim oPkg

Set oPkg = Server.CreateObject("DTS.Package")
oPkg.LoadFromSQLServer
"HQ-SQLSERVER-01","PACKAGE_RUNNER","MYPASSWORD",DTSSQLStgFlag_De fault,"","","","LOAD_EAGLS_05"


oPkg.Execute()


%





"Allan Mitchell" wrote:

Hello Shagun,


Create a job that executes a DTS package (job step) It will do this by
calling
DTExec.


Have a look in BOL Here

ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/extran9/html/c5fecc23-6f04-4fb2-9a29-01492ea41404.htm


Allan



Hi Allan,

Can you please explain it more like how to execute SSIS package from a
job

Thanks in advance

Shagun

"Allan Mitchell" wrote:

Hello Shagun,

How about you call a job which calls the SSIS package?

You could also of course install SSIS locally and call the package
programmatically or through DTExec

Allan

Hi All ,

I want to execute SSIS pakage through a web apllication. Please
give me some pointers and idea , how to achieve this

Regards
Shagun






Reply With Quote
  #8  
Old   
siva (Offline)
Junior Member
 
Posts: 1
Join Date: Apr 2006

Default Re:Execute SSIS package though ASP.Net 2.0 application - 04-03-2006 , 01:35 PM



Hi Allan,

i am also facing same type of problem that how to execute SSIS package in ASP.NET 2.0. I allready created a package using SQL server Business intelligence development studio.

how i can run the package in a web page and how to list errors (if encounterd) and status of SSIS Package to a text file??

I read u r replies to previous queries and i tried to look in BOL but i dont understand what actually BOL is??

pls give me some ideas.........

Thanks in advance,
Siva.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.