Solved

Connect to the SQLServer 7

Posted on 2000-02-24
3
426 Views
Last Modified: 2013-11-23
I have a client program witch connect to the SQLServer 7 only when the user account is in SQL-Server Authentication.. when I set an account as Windows NT Authentication the Delphi give me this message:
   Unknown User Name or Password
   Login Failed User 'username'
   Login incorrect
   Alias: 'AliasName'

But my SQL Client access normally the user account.. in both situation... !!!!

Somebody can help me?

Sorry my poor english, I live in Brazil :) hehehe

Thank you

PS: Im using Delphi4, BDE 5.01
0
Comment
Question by:Vanclecio
  • 2
3 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 50 total points
ID: 2554376
hi Vanclecio,

from my paq, 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:Vanclecio
ID: 2554489
Thank you very much for your answer..
that help me a lot :)
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 2554506
glad to helped you, Vanclecio
good luck again

meikl ;-)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

895 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

12 Experts available now in Live!

Get 1:1 Help Now