Article View: borland.public.delphi.database.dotnet
Article #171Re: Connecting to SQL server
From: Viatcheslav V. Vassiliev
Date: Tue, 11 Oct 2005 07:17
Date: Tue, 11 Oct 2005 07:17
39 lines
2343 bytes
2343 bytes
From BOL: Error 18456 Severity Level 14 Message Text Login failed for user '%ls'. Explanation You do not have permission to log in to the server. Action Contact a member of the sysadmin fixed server role to request login permission. //------------------------------------------ Regards, Vassiliev V. V. http://www.managed-vcl.com - using .Net objects in Delphi for Win32 + ADO.Net http://www.oledbdirect.com - The fastest way to access MS SQL Server, MS Jet (Access) and Interbase (through OLEDB) "Paul Mayer" <p_c_mayer@yahoo.com> ???????/???????? ? ???????? ?????????: news:dd0lx4fopnrx$.1ugdgeik95x0c$.dlg@40tude.net... > Hi > > I have been trying to do a simple thing, following an example from dr bob, > to connect a dbwebgrid to an sql database. Should be simple. It all works > nicely at design time with all the data showing fine. But at run time i > get > this error message : > Connection open failed. SQL State: 42000, SQL Error Code: 18456 > > Now, I have set all the properties ok through the bdpconnection - all set > to os authentication. Thats all fine. So what I wonder is going wrong. > > Any help much appreciated or it goodbye delphi and hello my old friend > coldfusion
Technical Details
Message-ID:
<434b668a$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!213.132.189.2.MISMATCH!multikabel.net!feed20.multikabel.net!gatel-ffm!gatel-ffm!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<dd0lx4fopnrx$.1ugdgeik95x0c$.dlg@40tude.net>Show Full Headers
Complete Article Headers
X-Google-Thread: 1effe6,10f2e27d7bfc12a6 X-Google-Attributes: gid1effe6,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com> Newsgroups: borland.public.delphi.database.dotnet References: <dd0lx4fopnrx$.1ugdgeik95x0c$.dlg@40tude.net> Subject: Re: Connecting to SQL server Date: Tue, 11 Oct 2005 11:17:46 +0400 Lines: 41 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2670 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 85.93.138.132 Message-ID: <434b668a$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1129014922 85.93.138.132 (11 Oct 2005 00:15:22 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!213.132.189.2.MISMATCH!multikabel.net!feed20.multikabel.net!gatel-ffm!gatel-ffm!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail