Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Databases
»
MS SQL Connection Bug?
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
accessing array members i...
by
Weiss
[
Today
at 02:01:53 am]
GTK3 still alpha
by
regs
[
Today
at 01:46:35 am]
2d "platform" game sugges...
by
flowCRANE
[
Today
at 12:25:28 am]
looping direction control...
by
440bx
[April 19, 2025, 08:08:37 pm]
ppaslink.sh: line 9: 6262...
by
Thaddy
[April 19, 2025, 07:58:29 pm]
JSON parser handler
by
cdbc
[April 19, 2025, 07:01:19 pm]
[SOLVED] Converting psd f...
by
TRon
[April 19, 2025, 06:58:36 pm]
This is me back in Lazaru...
by
TBMan
[April 19, 2025, 06:33:55 pm]
Avaiable instruction set
by
Thaddy
[April 19, 2025, 06:30:56 pm]
Best way to exchange data...
by
Hansvb
[April 19, 2025, 06:24:07 pm]
[Solved] How to call a cl...
by
nikel
[April 19, 2025, 05:09:22 pm]
Announcing TRURL RPN Engi...
by
jwdietrich
[April 19, 2025, 05:07:49 pm]
TRURL's segmitator availa...
by
jwdietrich
[April 19, 2025, 05:05:36 pm]
TRURL G released
by
jwdietrich
[April 19, 2025, 05:03:40 pm]
Animated Sine Flower
by
Thaddy
[April 19, 2025, 04:33:52 pm]
Compile Error on Assign f...
by
Thaddy
[April 19, 2025, 04:27:02 pm]
making types totally inco...
by
Thaddy
[April 19, 2025, 03:13:24 pm]
Why VirtualDBTreeEx not c...
by
wp
[April 19, 2025, 01:08:42 pm]
problem with easylazfreet...
by
ronhud
[April 19, 2025, 01:08:18 pm]
Forum slow for others as ...
by
Thaddy
[April 19, 2025, 11:25:43 am]
Errors linking the projec...
by
Thaddy
[April 19, 2025, 11:20:59 am]
How to DIY a filerec reco...
by
Thaddy
[April 19, 2025, 11:18:33 am]
in-memory machine code ge...
by
paule32
[April 19, 2025, 11:02:10 am]
Win11 - How to start cons...
by
dculp
[April 19, 2025, 12:21:51 am]
[SOLVED] Download link to...
by
Wings2018
[April 18, 2025, 10:37:08 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: MS SQL Connection Bug? (Read 2047 times)
kpeters58
Sr. Member
Posts: 267
MS SQL Connection Bug?
«
on:
December 18, 2014, 10:15:16 pm »
#1.2.6 32bit on Win 7 Prof:
I get immediate access when I should not...
Setting the LoginPrompt property of MSSQLConnection to True fails to invoke the login dialog - instead my SQL Servers grant me access based on ??? since both UserName & Password fields at design time are empty.
Anybody knows why?
Thanks,
Kai
Logged
Lazarus 2.0.4/FPC 3.0.4/Win 64
LacaK
Hero Member
Posts: 696
Re: MS SQL Connection Bug?
«
Reply #1 on:
December 19, 2014, 08:48:39 am »
In current implementation LoginPrompt only chacks if there is set OnLogin event handler and if is set, that invokes it.
Probably you have enabled trusted authentication, so SQL server authenticated you as user currently logged in Windows.
Logged
kpeters58
Sr. Member
Posts: 267
Re: MS SQL Connection Bug?
«
Reply #2 on:
December 19, 2014, 05:41:18 pm »
Hmm - I tried that - still no login dialog; whether I supply (in OnLogin event) no username & password, a correct username & password or deliberately incorrect username & password ......
K
«
Last Edit: December 19, 2014, 05:58:38 pm by kpeters58
»
Logged
Lazarus 2.0.4/FPC 3.0.4/Win 64
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Databases
»
MS SQL Connection Bug?
TinyPortal
© 2005-2018