View Single Post
  #1 (permalink)  
Old 08-17-07, 01:36
cosmin_cosmin_1 cosmin_cosmin_1 is offline
Registered User
 
Join Date: Jul 2007
Posts: 1
Connecting to MS SQL Server using BDE Components

Hi
Is it possible to connect to SQL Server 2005 using Delphi 7 and BDE components? (TDatabase) and Windows Authentication? I don't know how to set the login instance to use Windows Authentication, is there any parameter that i should add to Parameter list in TDatabase?
I have to use only BDE components and nt authentification for this project.

Another thing is that ADO is working fine and so others database management software.
Creating an alias in ODBC Administrator and using this alias in Delphi and TDatabase olso works, but i'm not allowed to create anything else on users computer.

The problem is with TDatabase, i get all kind of errors, like "not associated with a trusted Sql server connection" and i think that's because i don't know how to set the connection to use Windows Authentication on BDE components.

What do you thing?
Reply With Quote