Solved

ODBC connection fails

Posted on 2014-02-02
4
499 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 35

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access on Mouse move 5 29
how to add loop into this VBA 3 26
is Microsoft Access going to Die? 9 42
Merging spreadsheets 8 30
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

813 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

12 Experts available now in Live!

Get 1:1 Help Now