Solved

ODBC connection fails

Posted on 2014-02-02
4
506 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
[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
  • 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

Technology Partners: 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

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

733 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