As far as I know, the ODBC datasource will not store a
username/password.  The option is only there so that you can change
default db,etc. in the datasource itself.  Even back in the CF5 days
you had to specify a username/password for existing ODBC connections.

Marlon


On 6/1/05, Michael Dinowitz <[EMAIL PROTECTED]> wrote:
>  This is an IIS 6/ASP thing. I've got an ODBC datasource set up and an open 
> command opening up the connection. I've set the username/password for the SQL 
> database in the ODBC, but when I call it the code acts like the 
> username/password was never set.
> 
> This code works:
> Set Conn = Server.CreateObject("ADODB.Connection")
> conn.open "affiliate", "username", "password"
> 
> This code does not
> 
> Set Conn = Server.CreateObject("ADODB.Connection")
> conn.open "affiliate"
> 
> Is there something missing to 'force' the username/password to be stored in 
> the ODBC so that I don't have to have it in code? It should be simple but for 
> some reason is not being kind to me.
> Thanks
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:29:39
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/29
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:29
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.29
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to