Solved

ODBC 3151 Errors

Posted on 1997-07-30
5
802 Views
Last Modified: 2011-10-03
My clients are getting ODBC 3151 Errors and fail to connect to my SQL 6.5 database on a large network how can I improve the connectivity so that it connects first time round?

I have also have noticed that I get a couple of error mesages on the server whos' time stamps apear to co-incide
with the 3151 message they are :-

ods error 17832 severity 18 state 0
ods error unable to read login packets
0
Comment
Question by:Briff
5 Comments
 
LVL 2

Expert Comment

by:armands
Comment Utility
Is there an error message text returned by ODBC driver? Sorry, but I can't find error code 3151.
Anyway check that your client is using the network protocol you are supporting on the server (Named Pipes, Multi-protocol, IPX/SPX, TCP/IP). Which conection are you using - trusted, standard security or mixed. Your client must use one supported by your server. It is configurable with ODBC driver.

0
 

Expert Comment

by:kcatten
Comment Utility
3151 is not an ODBC error message/number I believe you are using MS Visual Basic for your client application.  If you are, that number is a connectivity issue with the datasource you are connecting to.  If the datasource is an Access DB then make sure the users have rights to the area where the MDB is connected to.
0
 

Expert Comment

by:kcatten
Comment Utility
3151 is not an ODBC error message/number I believe you are using MS Visual Basic for your client application.  If you are, that number is a connectivity issue with the datasource you are connecting to.  If the datasource is an Access DB then make sure the users have rights to the area where the MDB is connected to.
0
 

Author Comment

by:Briff
Comment Utility
Edited text of question
0
 

Accepted Solution

by:
sorokar earned 50 total points
Comment Utility
I have experienced the '17832' error many times while using Named Pipes. SQL Server has only one default pipe that it listens on for client requests. Requests get queued and often times the connection times out, resulting in the '17832' error. I have increased the number of pipes available to SQL, thus balancing the load and reducing the chance for timeout errors. Also, you might try connecting via TCP and/or increasing the Application logon timeout value. See MS Knowledge Base Article # Q165189 for details.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

772 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

10 Experts available now in Live!

Get 1:1 Help Now