dbTalk Databases Forums  

Connection manipulation from Custom Created Task

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


Discuss Connection manipulation from Custom Created Task in the microsoft.public.sqlserver.dts forum.



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

Default Connection manipulation from Custom Created Task - 10-14-2003 , 12:21 PM







I'm designing a custom task that very similar to the standart
transformation task. I need to use the connections in design mode have
an able to run a query upon them, so the user can select database,
table and map a data used for pumping process. The problem is, that i
cannot get a password property from Connection object - it always
comes as Null.


--
Posted via http://dbforums.com

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

Default Re: Connection manipulation from Custom Created Task - 10-14-2003 , 01:52 PM






Is this your problem

Why can't I read the Password property from a DTS Connection?
(http://www.sqldts.com/default.aspx?209)

--


Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org




"JrMobile" <member44111 (AT) dbforums (DOT) com> wrote

Quote:
I'm designing a custom task that very similar to the standart
transformation task. I need to use the connections in design mode have
an able to run a query upon them, so the user can select database,
table and map a data used for pumping process. The problem is, that i
cannot get a password property from Connection object - it always
comes as Null.


--
Posted via http://dbforums.com



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

Default Re: Connection manipulation from Custom Created Task - 10-15-2003 , 03:50 AM




Yes, this is it. But there is no resolution.


--
Posted via http://dbforums.com

Reply With Quote
  #4  
Old   
JrMobile
 
Posts: n/a

Default Re: Connection manipulation from Custom Created Task - 10-15-2003 , 03:51 AM




What should i do to resolve that and make it redable while using SQL2000



Originally posted by Allan Mitchell

Quote:
Is this your problem



Why can't I read the Password property from a DTS Connection?

(http://www.sqldts.com/default.aspx?209"]http://www.sqldts.com/-
default.aspx?209[/url])



--





Allan Mitchell (Microsoft SQL Server MVP)

MCSE,MCDBA

www.SQLDTS.com

I support PASS - the definitive, global community

for SQL Server professionals -
http://www.sqlpass.org/http://www.sqlpass.org









"JrMobile" <member44111 (AT) dbforums (DOT) com> wrote in message

news:3480374.1066152070 (AT) dbforums (DOT) com"]news:3480374.1066152070@d-
bforums.com[/url]...

I'm designing a custom task that very similar to the
standart

transformation task. I need to use the connections in design
mode have

an able to run a query upon them, so the user can select
database,

table and map a data used for pumping process. The problem is,
that i

cannot get a password property from Connection object - it
always

comes as Null.

--

Posted via
http://dbforums.com/http://dbforums.com



--
Posted via http://dbforums.com


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

Default Re: Connection manipulation from Custom Created Task - 10-15-2003 , 04:33 AM



I don't know that you can. It would seem like a huge security hole, being
able to read a password from a connection. What if the package designer
used "SA" ? If you could retrieve the pasword then the world is your
oyster.



--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"JrMobile" <member44111 (AT) dbforums (DOT) com> wrote

Quote:
What should i do to resolve that and make it redable while using SQL2000



Originally posted by Allan Mitchell

Is this your problem



Why can't I read the Password property from a DTS Connection?

(http://www.sqldts.com/default.aspx?209"]http://www.sqldts.com/-
default.aspx?209[/url])



--





Allan Mitchell (Microsoft SQL Server MVP)

MCSE,MCDBA

www.SQLDTS.com

I support PASS - the definitive, global community

for SQL Server professionals -
http://www.sqlpass.org/http://www.sqlpass.org









"JrMobile" <member44111 (AT) dbforums (DOT) com> wrote in message

news:3480374.1066152070 (AT) dbforums (DOT) com"]news:3480374.1066152070@d-
bforums.com[/url]...

I'm designing a custom task that very similar to the
standart

transformation task. I need to use the connections in design
mode have

an able to run a query upon them, so the user can select
database,

table and map a data used for pumping process. The problem is,
that i

cannot get a password property from Connection object - it
always

comes as Null.

--

Posted via
http://dbforums.com/http://dbforums.com



--
Posted via http://dbforums.com



Reply With Quote
  #6  
Old   
JrMobile
 
Posts: n/a

Default Re: Connection manipulation from Custom Created Task - 10-15-2003 , 08:20 AM




So, the only way is to use an ole-db methods and only C++ to develope
this kind of custom task, that able to maniulate its own connections.
Am i right?


--
Posted via http://dbforums.com

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 - 2012, Jelsoft Enterprises Ltd.