microsoft newsgroup web access
     dot net    |    ms sql    |    ms access    |    office    |    windows    |   
Microsoft ms sql group
sqlserver.ce
sqlserver.clients
sqlserver.clustering
sqlserver.connect
sqlserver.datawarehouse
sqlserver.dts
sqlserver.fulltext
sqlserver.msde
sqlserver.mseq
sqlserver.notificationsvcs
sqlserver.odbc
sqlserver.olap
sqlserver.programming
sqlserver.replication
sqlserver.reportingsvcs
sqlserver.security
sqlserver.server
sqlserver.setup
sqlserver.tools
sqlserver.xml
  
    

Ghost in the data source?



Hi All

This is a strange one, but hopefully you will know why.

Basically we use an ODBC connection for our program to connect to SQL
database - nothing more sinister as that.

However what seems to happen from time to time is that even though we
haven't touched the ODBC data source since it's conception, the Default
Database checkbox becomes checked and a database is set. By default, we
leave this parameter unchecked and send our database, username and password
through our app.

This causes confusion in our app, because we sometimes get a login failed
message back and find that because the ODBC has it's own database setting it
is trying to log into a completely different DB to the one that we have
entered in our app. Luckily the login details are different for each db so
this stops us from working with the wrong DB.

Do you know why this does this (we use WinXP Pro, Win2003 Server and Win2000
Server) and how we can stop it from happening?

Thanks

Robbie



Tue, 11 Jan 2005 14:10:24 -0000 "Astra"


COPYRIGHT © 2004, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE
http://www.meetholland.com

advertisement:   complete list of microsoft newsgroup    |    uk based newsgroup    |