473,407 Members | 2,306 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

call, run or execute a DTS package from an APS (aspx) page?

how do i
call, run or execute a DTS package from an APS (aspx) page?

platform
win2k
iis (the one that comes with win2k)
sql server 2000 - with a test dts package ready to be called
..NET framework 1.1 installed and working correctly
web matrix is being used to create the files.

would prefer some example code in VB.NET but anything which works would be
fine.

what libraries need to be referenced - how can i search for them?

and surely i don't have to carry out everything in the

cookbook at sqldev.net

kev
Nov 18 '05 #1
5 3013
kevin bailey wrote:
how do i
call, run or execute a DTS package from an APS (aspx) page?


that should be an ASP page - and this is using ASP.NET
Nov 18 '05 #2
Consider using a Process object to fire off dtsrun.exe. It is one of the
easiest ways to program the funcationality you desire once the package is
created (can be created in SQL Server designer and exported to the file sys).

---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************

"kevin bailey" wrote:
how do i
call, run or execute a DTS package from an APS (aspx) page?

platform
win2k
iis (the one that comes with win2k)
sql server 2000 - with a test dts package ready to be called
..NET framework 1.1 installed and working correctly
web matrix is being used to create the files.

would prefer some example code in VB.NET but anything which works would be
fine.

what libraries need to be referenced - how can i search for them?

and surely i don't have to carry out everything in the

cookbook at sqldev.net

kev

Nov 18 '05 #3
Cowboy (Gregory A. Beamer) - MVP wrote:
Consider using a Process object to fire off dtsrun.exe. It is one of the
easiest ways to program the funcationality you desire once the package is
created (can be created in SQL Server designer and exported to the file
sys).


i did see that but have had huge problems in windows when trying to run
command line programs from ASP pages - very often meant that IIS crashed
and we never got to the bottom of it - project was dumped in the end.

also - we need to be able to pass parameters into the calling of the DTS
package - and dtsrun.exe does not seem to allow for parameters,

cheers - kev
---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************

"kevin bailey" wrote:
how do i
call, run or execute a DTS package from an APS (aspx) page?

platform
win2k
iis (the one that comes with win2k)
sql server 2000 - with a test dts package ready to be called
..NET framework 1.1 installed and working correctly
web matrix is being used to create the files.

would prefer some example code in VB.NET but anything which works would
be fine.

what libraries need to be referenced - how can i search for them?

and surely i don't have to carry out everything in the

cookbook at sqldev.net

kev


Nov 18 '05 #4
There is a COM DTS object model that you can use

Jeff
"kevin bailey" <kb*****@freewayprojects.com> wrote in message
news:cn*******************@news.demon.co.uk...
Cowboy (Gregory A. Beamer) - MVP wrote:
Consider using a Process object to fire off dtsrun.exe. It is one of the
easiest ways to program the funcationality you desire once the package is created (can be created in SQL Server designer and exported to the file
sys).


i did see that but have had huge problems in windows when trying to run
command line programs from ASP pages - very often meant that IIS crashed
and we never got to the bottom of it - project was dumped in the end.

also - we need to be able to pass parameters into the calling of the DTS
package - and dtsrun.exe does not seem to allow for parameters,

cheers - kev
---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************

"kevin bailey" wrote:
how do i
call, run or execute a DTS package from an APS (aspx) page?

platform
win2k
iis (the one that comes with win2k)
sql server 2000 - with a test dts package ready to be called
..NET framework 1.1 installed and working correctly
web matrix is being used to create the files.

would prefer some example code in VB.NET but anything which works would
be fine.

what libraries need to be referenced - how can i search for them?

and surely i don't have to carry out everything in the

cookbook at sqldev.net

kev

Nov 18 '05 #5
For one recent project, I actually tried this, but gave up and switched to
coding my own transformation using ADO.NET and a couple of data adapters.
This is one that could be parameterized pretty simply. It's not that messy
to do it with ADO.NET.

DTS gets easier in SQL Server 2005.

"Jeff Dillon" <je**@removeemergencyreporting.com> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
There is a COM DTS object model that you can use

Jeff
"kevin bailey" <kb*****@freewayprojects.com> wrote in message
news:cn*******************@news.demon.co.uk...
Cowboy (Gregory A. Beamer) - MVP wrote:
> Consider using a Process object to fire off dtsrun.exe. It is one of
> the
> easiest ways to program the funcationality you desire once the package is > created (can be created in SQL Server designer and exported to the file
> sys).
>
>


i did see that but have had huge problems in windows when trying to run
command line programs from ASP pages - very often meant that IIS crashed
and we never got to the bottom of it - project was dumped in the end.

also - we need to be able to pass parameters into the calling of the DTS
package - and dtsrun.exe does not seem to allow for parameters,

cheers - kev
> ---
>
> Gregory A. Beamer
> MVP; MCP: +I, SE, SD, DBA
>
> ***************************
> Think Outside the Box!
> ***************************
>
> "kevin bailey" wrote:
>
>> how do i
>> call, run or execute a DTS package from an APS (aspx) page?
>>
>> platform
>> win2k
>> iis (the one that comes with win2k)
>> sql server 2000 - with a test dts package ready to be called
>> ..NET framework 1.1 installed and working correctly
>> web matrix is being used to create the files.
>>
>> would prefer some example code in VB.NET but anything which works
>> would
>> be fine.
>>
>> what libraries need to be referenced - how can i search for them?
>>
>> and surely i don't have to carry out everything in the
>>
>> cookbook at sqldev.net
>>
>> kev
>>


Nov 18 '05 #6

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

Similar topics

1
by: mychevworld | last post by:
I'm pulling my hair out. After several attempts I got the sp_OAMethod to execute without error. Unfortunately the DTS package isn't executing. It also isn't returning any error. What could I be...
0
by: CodeRazor | last post by:
How can I execute a DTS package from an asp.net page? I found the code below online, and altough it throws no errors, it doesnt execute the dts package either? What am i missing? ...
3
by: =?Utf-8?B?TWljaGFlbA==?= | last post by:
Hi, I need to call an SSIS package from ASP.NET 2.0 web page. First I triy to call it directly from the asp.net page, as the following: Dim app As New Application Dim pack As Package =...
1
by: thirunavukarasukm | last post by:
I have a link wich opens a the second page with links wich call a javascript function. I have some problem with javascript. i am two aspx page.. in my first aspx page contain the second...
1
by: sivainsearchof | last post by:
Hi, It would be of great help if some one could guide me on the below. I am trying to execute a DTS package created in sql server 2000 from a web application created in asp.net 1.1 using C#. ...
6
by: RandomElle | last post by:
Hi there I'm hoping someone can help me out with the use of the Eval function. I am using Access2003 under WinXP Pro. I can successfully use the Eval function and get it to call any function with...
2
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/ --
3
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/
2
by: pvong | last post by:
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...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.