dbTalk Databases Forums  

DTSrun and passwords

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


Discuss DTSrun and passwords in the microsoft.public.sqlserver.dts forum.



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

Default DTSrun and passwords - 01-19-2005 , 09:43 AM






Hi all,

When I run a package with dtsrun utility I wanted other users to run it also
and provide the necessary global variable parameters but not be able to view
or edit it.
However, it only works correctly when the owner password is provided in /M.

If I use the user password in /M, the values for the global variables are
not passed.
Encrypting it is no good, since this does not allow the user to provide the
parameter values for the gv's if necessary since these are encrypted also.

This seems to me to be an oversight on MS's part since if the dts package
was run from designer, I could do this, but it seems not from dtsrun.exe.

Any thoughts ?

Regards
PR Williams.



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

Default Re: DTSrun and passwords - 01-19-2005 , 02:40 PM






So this is because you are asking to modify the package and only the /Mowner
password can do this.

Set your variables somewhere and have the DTS package read them itself.
(Maybe a DB table?)

--



Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - You thought DTS was good. here we show you the new stuff.
www.konesans.com - Consultancy from the people who know


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

Quote:
Hi all,

When I run a package with dtsrun utility I wanted other users to run it
also
and provide the necessary global variable parameters but not be able to
view
or edit it.
However, it only works correctly when the owner password is provided in
/M.

If I use the user password in /M, the values for the global variables are
not passed.
Encrypting it is no good, since this does not allow the user to provide
the
parameter values for the gv's if necessary since these are encrypted also.

This seems to me to be an oversight on MS's part since if the dts package
was run from designer, I could do this, but it seems not from dtsrun.exe.

Any thoughts ?

Regards
PR Williams.





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.