Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Trouble Trapping SQL Server login errors

 
   Database Help (Home) -> Connect RSS
Next:  newbie GROUP BY question  
Author Message
user3531

External


Since: Jan 28, 2005
Posts: 1



(Msg. 1) Posted: Fri Feb 11, 2005 9:13 am
Post subject: Trouble Trapping SQL Server login errors
Archived from groups: microsoft>public>sqlserver>connect (more info?)

Hi all -

I'm trying to track down why Access (ACC2000) will not throw an error when
the user does not have a login on the SQL server (SQL Server 2000). In the
Form_Load() event, I have the usual On Error GotTo ErrCheck and in ErrCheck,
I have only MsgBox Err.Number. It nevr comes up as Err.Number == 0 yet the
SQL Server has thrown an exception (Err # 18456).

Any ideas?

Thanks,

chris

 >> Stay informed about: Trouble Trapping SQL Server login errors 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Remote connection errors - When trying to connect to 2 of my SQL Servers I am getting General Network Error. I have run Portqry against both of my servers and they both return that ms-sql-s Sevice is listening on port 1433. When I try running ODBCPing I get the following..

Do I need two login ID's? -

Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. - Users in remote building (On the same VLAN? Not sure of network specifics) can connect to the sql server in the remote building with no issues. In my building (HQ), we were able to connect to it until this morning. Last night the domain controller in the...

IIS 6 and Windows Authentication to SQL Server 2000 - I am running a Windows Server 2003 machine as my web server. I would like to use Windows authentication for connections to my SQL Server 2000 instance on a Windows 2000 server. I've read where mirroring the ASPNET account and password on the web server...

Cannot connect to local sql server 2000 from VB.NET on pc .. - Hi I just installed SQL Server 2000 to run locally on a WinXP Pro SP2 PC. When I run the following VB.NET code: Protected Const SQL_CONNECTION_STRING As String = _ "Server=localhost;" & _ "DataBase=Northwind;" &...
   Database Help (Home) -> Connect All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]