Easysoft dbExpress-ODBC Gateway Why can't I see any tables when I connect to SQLServer? | | Article : | 00693 | | Last Reviewed : | 19th July 2005 | | Revision : | 1 | |
This is because the dbExpress interface seems to insist on setting the schema name to the user name in the connection.ini file. So for instance in the following entry (where the user name is a NT user account):
[sql_server]
BlobSize=-1
Database=sql1
DriverName=ODBC
Password=pwd
User_Name=Nick Gorham
when the tables call is made, the dbExpress interface will set the schema of the SQLTables call to "Nick Gorham".
This may be what you want, but in most cases it won't be. The solution is to use the alternative connection method by encoding the user name in the connect string and leaving the user name field empty, so that the tables call is made with no specified schema:
[sql_server]
BlobSize=-1
Database=DSN=sql1;UID=Nick Gorham;PWD=pwd
DriverName=ODBC
Password=
User_Name=
- Products
- Easysoft dbExpress-ODBC Gateway
- Databases
© 1993 - 2008 Easysoft Limited. All rights reserved.