Solved

Delphi2 + SQL Server 7.0

Posted on 2000-02-28
2
150 Views
Last Modified: 2010-04-04
Having just upgraded our SQL server to version 7 from 6.5, I have taken the opportunity of providing access to the SQL server using NT logon verification only.  When my Delphi 2 application prompts for logon, it fails as it does not recognise the user as it appears to be looking for SQL authenticated user, even though the user is part of a valid NT group for that database.

Is it possible to use NT verification as part of the application or do I have to kludge it by setting up a new user with SQL authentication.

Regards


Ian  
0
Comment
Question by:Ianternet
2 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 100 total points
ID: 2565182
hi Ianternet,

if u use native sql-links, then
look at this from borland

---paste begin

Question and Answer Database

     FAQ: FAQ4731B - NT Authentication/Integrated security
Category: Database (MSSQL)
Platform: All-32Bit
 Product: All
Question:

If Integrated Security is enabled on my MSSQL sql server
how do I make the BDE MSSQL SQL Links driver use
Integrated Security?


Answer:

Leave user name and password blank in your application's
TDatabase and make sure that the USER NAME in the BDE
ALIAS and MSSQL driver settings is blank (used as a default
when an ALIAS parameter is blank).

7/13/99 10:13:32 AM

---paste end

meikl
0
 

Author Comment

by:Ianternet
ID: 2565216
Fantastic....cheers Kretzschmar
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This video discusses moving either the default database or any database to a new volume.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now