If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > Connecting to MS SQL Server using BDE Components

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #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
  #2 (permalink)  
Old 12-10-07, 14:12
DB Dreamer DB Dreamer is offline
Registered User
 
Join Date: Dec 2007
Posts: 7
i think its different from Delphi 5
so you dont need to connect it like this way
there is a specific component to connect delphi 7 to the database ,, as i think ,, because its one of its new feature
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On