473,408 Members | 2,477 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,408 software developers and data experts.

where are the DTS classes?

where are the DTS classes?

are they not in the .NET framework.

and for those of us who do not have visual studio how do we set things up so
that

<%@ Imports namespace="DTS" %>

actually works ok?
Nov 18 '05 #1
4 1312
DTS is part of the SQL install, not .NET. You can use a Process object to run
dtsrun.exe to run it from .NET if you do not want to figure out all of the
DTS DLLs.

---

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

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

"kevin bailey" wrote:
where are the DTS classes?

are they not in the .NET framework.

and for those of us who do not have visual studio how do we set things up so
that

<%@ Imports namespace="DTS" %>

actually works ok?

Nov 18 '05 #2
kevin bailey wrote:
where are the DTS classes?

are they not in the .NET framework.

and for those of us who do not have visual studio how do we set things up
so that

<%@ Imports namespace="DTS" %>

actually works ok?


to expand a bit...

there is a cookbook at sqldev.net which says you need to

create a keypair file
create a runtime callable wrapper
register the RGC in the Global Assembly Cache

i should then be able to import the DTS namespace into VB in ASP.NET pages
or in other .NET applications.

is this all really necessary?

all i want to do is to run a DTS package on a database from code in an aspx
page.

kev
Nov 18 '05 #3
there is not .net support for dts (a com package). you have to build .net
wrappers for it. VS will do this for you when you add the com reference to
the project. if you do not use VS, see the command line utility tlbimp.exe.
the utiltity (or VS which just calls the utility) produces an interop dll,
which you copy to the bin directory, no need to bother with the gac.
-- bruce (sqlwork.com)

"kevin bailey" <kb*****@freewayprojects.com> wrote in message
news:cn*******************@news.demon.co.uk...
| kevin bailey wrote:
|
| > where are the DTS classes?
| >
| > are they not in the .NET framework.
| >
| > and for those of us who do not have visual studio how do we set things
up
| > so that
| >
| > <%@ Imports namespace="DTS" %>
| >
| > actually works ok?
|
| to expand a bit...
|
| there is a cookbook at sqldev.net which says you need to
|
| create a keypair file
| create a runtime callable wrapper
| register the RGC in the Global Assembly Cache
|
| i should then be able to import the DTS namespace into VB in ASP.NET pages
| or in other .NET applications.
|
| is this all really necessary?
|
| all i want to do is to run a DTS package on a database from code in an
aspx
| page.
|
| kev
Nov 18 '05 #4
so the answer is YES
Today, all of that is really necessary.

With SQL2005 (coming soon to a server near you!) this gets easier. DTS
morphs into Integration Services, and it has a fully managed interface.

Sweet.

-D

"bruce barker" <no***********@safeco.com> wrote in message
news:Ok**************@TK2MSFTNGP11.phx.gbl...
there is not .net support for dts (a com package). you have to build .net
wrappers for it. VS will do this for you when you add the com reference to
the project. if you do not use VS, see the command line utility
tlbimp.exe.
the utiltity (or VS which just calls the utility) produces an interop dll,
which you copy to the bin directory, no need to bother with the gac.
-- bruce (sqlwork.com)

"kevin bailey" <kb*****@freewayprojects.com> wrote in message
news:cn*******************@news.demon.co.uk...
| kevin bailey wrote:
|
| > where are the DTS classes?
| >
| > are they not in the .NET framework.
| >
| > and for those of us who do not have visual studio how do we set things
up
| > so that
| >
| > <%@ Imports namespace="DTS" %>
| >
| > actually works ok?
|
| to expand a bit...
|
| there is a cookbook at sqldev.net which says you need to
|
| create a keypair file
| create a runtime callable wrapper
| register the RGC in the Global Assembly Cache
|
| i should then be able to import the DTS namespace into VB in ASP.NET
pages
| or in other .NET applications.
|
| is this all really necessary?
|
| all i want to do is to run a DTS package on a database from code in an
aspx
| page.
|
| kev

Nov 18 '05 #5

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

Similar topics

1
by: eBob.com | last post by:
Well I am now on page 84 of Bruce Eckel's "Thinking in Java". (... having made significant progress since the help you guys gave me in response to my last question about page 34.) Here he...
2
by: CoolPint | last post by:
Standard exception classes in C++ have what() which returns const char * and they have constructors accepting string. Where is that string created and when is the string destroyed? In the...
5
by: Hans De Schrijver | last post by:
Where can I find a list of pre-defined exceptions for .NET? Whenever possible, I'd rather use existing exception constants rather than defining my own, unless no suitable one has been predefined. ...
6
by: Dica | last post by:
i've been asked to write an app making use of reports.vb class, but i can't seem to find it..
46
by: clintonG | last post by:
Documentation tells me how but not when, why or where... <%= Clinton Gallagher http://msdn2.microsoft.com/en-us/library/saxz13w4(VS.80).aspx
24
by: Paul | last post by:
I am taking over an existing app and having trouble understanding their references. They have encapsulated Pear packages in the directory structure like: /site /site/html/Pear.php...
7
by: Bruce | last post by:
I've been searching for some information on the use of Classes in ASP, but found very little information. I found this http://www.daniweb.com/tutorials/tutorial19997.html . Are there more...
37
by: Phlip | last post by:
1230987za wrote: Kanze is a classically-trained "unit tester". In some circles "unit" is a QA concept - specifically, if a test fails, you only need to inspect one unit. So "units" are...
4
by: Quek | last post by:
Hi all, I'm really new to Python and I've been reading up some texts on older versions of Python (2.2 to be specific). The text briefly mentioned new style and classic classes. I'd really...
3
by: Johnson | last post by:
I just converted an ASP.NET Web Site to be an ASP.NET Web Application project type in Visual Studio 2005. After the conversion, the whole thing still works - it builds and the Web app runs just...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.