Solved

ODBC--connection to 'xxx' failed. (error #3151)

Posted on 1997-10-23
1
1,673 Views
Last Modified: 2008-03-06
ODBC--connection to 'xxx' failed. (error #3151)
0
Comment
Question by:wti
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 9

Accepted Solution

by:
cymbolic earned 50 total points
ID: 1089022
Establishing a good connection involves many variables.  Here are a few places to look (and things to consider):

Has the application ever connected? if so, what has changed since then?

Is your registerd Data Source Name (DSN) properly defined through the ODBC manager?

Is (was) your physical link operting normally at the time? (Examine activity lights, etc)

Did high levels of activity use up all the connections? (does your app never connect, or just not connect some times)

Check your support libraries of .DLL/.VBX/.OCX for correct versions or duplicates.  Have you loaded ODBC drivers from anywhere lately?

Is it a Microsoft network using named pipes? then you should look for:( in system directory)

VB3 and 5.0VBSQL: W3DBLIB.DLL, DBNP3.DLL
VB4 and 5.0(16 bit): MSDBLIB3.DLL,DBNMP3.DLL
VB4 and 5.0(32bit): NTWDBLIB.DL, DBNMPNTW.DLL

Can you map (have you) to a shared drive on the file server?

Run out of users on the host server?

Do you have LAN permission to access the file server?

On SQL Server:
Improper SQL logon ID or password? or if proper, do you have appropriate permission?

Is (was) the server running?

Has the database been impoperly restored, causing problems with permissins, logon ids, and passwords?

Running out of space on (RAM or disk) on host server?

Server in single user mode for maintenance?

Are you a valid user on the host server (NT)?

Run out of licensed connections?

As you can see, there are many possibilities for a connection not completing, many I'm sure are not mentioned here.  But if you check out all of the above, outside of someone stealing your server and taking it home to play Donkey Kong, you should be able to find your problem.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.

734 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