dbTalk Databases Forums  

how to use configs to switch between SQL and integrated security

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


Discuss how to use configs to switch between SQL and integrated security in the microsoft.public.sqlserver.dts forum.



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

Default how to use configs to switch between SQL and integrated security - 06-15-2009 , 06:41 PM






it seems that when a configuration is defined at design time as integrated
security there is no simple way to change that setting using configs at run
time.

You can add username and password values, but when the connection string is
rebuilt, the "Integrated Security=SSPI;" parm is left over and the userid/pwd
are ignored.

there is no apparent way to remove the "Integrated Security=SSPI;" clause
using configured properties.

Does one have to resort to configuring the entire connection string? Then
this is rebuilt and lost if any other property of the connection is defined
elsewhere.

Please advise.

Reply With Quote
  #2  
Old   
Charles Wang [MSFT]
 
Posts: n/a

Default RE: how to use configs to switch between SQL and integrated security - 06-16-2009 , 02:14 AM






Hi Dwain,
Welcome to Microsoft MSDN Managed Newsgroup.

If you want to override the connection settings in your package at design
time, you can use the option /Connection. Please refer to this article:
dtexec Utility
http://msdn.microsoft.com/en-us/library/ms162810.aspx

Hope this helps.

Best regards,
Charles Wang
Microsoft Online Community Support
================================================== =========
Delighting our customers is our #1 priority. We welcome your
comments and suggestions about how we can improve the
support we provide to you. Please feel free to let my manager
know what you think of the level of service provided. You can
send feedback directly to my manager at: msdnmg (AT) microsoft (DOT) com.
================================================== =========
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subs.../aa948874.aspx.
================================================== ==========
This posting is provided "AS IS" with no warranties, and confers no rights.
================================================== =======

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.