Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Server ODBC connection - not trusted

Status
Not open for further replies.

StevenK

Programmer
Jan 5, 2001
1,294
GB
We've developed a couple of applications in Delphi 5 that access the same SQL Server 7.0 database. They both make use of the same ODBC connection through standard TDatabase components. We have recently found that one of the applications (on a specific machine) is generating an error on start-up indicating that the SQL Server login is not trusted. The SQL Server database can be connected to through the SQL Server Query Analyser and can be worked through the other application (using the same principal of connecting through a TDatabase component using a parameter indicating the appropriate, and same, ODBC DSN.)
What would cause us to be presented with this error indicating that the server connection is not trusted ?
I'm assuming that if the ODBC connection worked through one application then the same connection should operate through the second application - I can only point the finger at the TDatabase connection - what should I look at as a first port of call ??
Can anyone suggest a setting that may be modified such that I bypass this issue ?
Thanks in advance,
Steve.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top