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

K

kevin bailey

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
 
G

Guest

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!
***************************
 
K

kevin bailey

Cowboy said:
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
 
D

Dino Chiesa [Microsoft]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,805
Latest member
ClydeHeld1

Latest Threads

Top