Solved

ODBC connection fails

Posted on 2014-02-02
4
504 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 36

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

829 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