Article View: borland.public.cppbuilder.database.ado
Article #3992No Login prompt with TADOConnection
From: Hardee Mahoney
Date: Tue, 07 May 2002 13:12
Date: Tue, 07 May 2002 13:12
16 lines
1606 bytes
1606 bytes
I can't get ADOConnection1->connected = true; to give me a login prompt when the password is missing or the username is missing in the UDL file. I only get an error that one or both are missing. I have set LoginPrompt = true in both the Object Inspector and in code. I am using CBuilder 6 on Windows 2000 and going against an Oracle 8i database. My UDL file uses the MS OleDb provider for Oracle. It also doesn't work if I use the MS OleDb provider for ODBC. If the username and password are both saved in the UDL file it connects fine. The login prompt works fine using Delphi. Anyone else with this problem? Hardee Mahoney Washington, DC
Technical Details
Message-ID:
<3CD7D2C2.7030508@nerdvana.fu.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!priapus.visi.com!news-out.visi.com!hermes.visi.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,8ab0a4e48978801f,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-05-07 06:25:13 PST Message-ID: <3CD7D2C2.7030508@nerdvana.fu.com> Date: Tue, 07 May 2002 09:12:34 -0400 From: Hardee Mahoney <mahoney@nerdvana.fu.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.ado Subject: No Login prompt with TADOConnection Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 63.83.108.2 X-Trace: dnews 1020777152 63.83.108.2 (7 May 2002 06:12:32 -0700) Lines: 17 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!priapus.visi.com!news-out.visi.com!hermes.visi.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews