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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:29:38
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