Solved

ODBC connection fails

Posted on 2014-02-02
4
492 Views
Last Modified: 2014-02-11
Hi,

I am having trouble with an ODBC connection to my front-end.

We receive orders on Excel spreadsheets, which my code imports to a SQL Server back-end.

The Excel code then opens an Access front-end which has ODBC links to the SQL tables but also to our accounting package (Sage).  This front-end presents the order details to the user for them to check over.  We use the link to Sage to check the customer's credit rating before completing the order.

The ODBC link to Sage was set-up using a DSN called "SageLink".

The link to Sage sometimes fails - "ODBC error - SageLink failed", but if we keep re-trying it eventually connects.

I have tried to debug this today and found:
- Opening the table directly failed
- Refreshing the link failed
- Trying to recreate the link failed
- When I closed the database and re-opened it worked first-time


Most of the time the SageLink works perfectly, so can anyone suggest what I should do to prevent this failure.

This is driving my users nuts, so any help would be really appreciated.

LJM
0
Comment
Question by:LJKMartin
  • 2
4 Comments
 
LVL 3

Assisted Solution

by:bc10
bc10 earned 100 total points
ID: 39828401
I had a similar problem with Sage.  There was a new version of the ODBC driver available which solved the problem. Have you checked with Sage for an updated driver?
0
 
LVL 34

Assisted Solution

by:PatHartman
PatHartman earned 100 total points
ID: 39828651
See if you can get your IT support to test the user's network connection.  If he is the only one having a problem, it is most likely a network issue.
0
 

Accepted Solution

by:
LJKMartin earned 0 total points
ID: 39841269
Thank-you Gents,

It was using the latest driver and everyone was having the problem.

I got a different IT support guy to look into it and he found that the wrong version of the DSN was being used, and also he had to update some permissions.

Thanks again for your advice.

LJM
0
 

Author Closing Comment

by:LJKMartin
ID: 39849703
The problem was fixed by a colleague
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

705 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

20 Experts available now in Live!

Get 1:1 Help Now