Solved

How to link Sage 50 Accounting database to Microsoft SQL Server 2014?

Posted on 2015-02-16
6
1,233 Views
Last Modified: 2015-02-18
I tried to make an ODBC connection to Sage 50 Accounting using the Pervasive driver. It is successful. When I tried to connect it to the SQL Server using the Linked Server, there are some errors. Wonder if there is another workaround to link Sage 50 to SQL?
0
Comment
Question by:JOYV23
[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
6 Comments
 
LVL 18

Expert Comment

by:mirtheil
ID: 40613200
What errors?
Can you access the data through the Pervasive ODBC interface?
0
 
LVL 28

Expert Comment

by:Bill Bach
ID: 40613234
Many versions of SQL Server are 64-bit -- is yours?  If so, then you need a 64-bit ODBC Driver and 64-bit DSN.  This is ONLY available on PSQLv11 or newer.  Depending on your version of Sage, you may still have PSQLv10, which does NOT have 64-bit ODBC drivers.  In that case, you will need to use either 32-bit ODBC, or wait until Sage gets you up to PSQLv11 or PSQLv12.  

If you do have PSQLv11 already and a 64-bit SQL Server, install the 64-bit PSQL Client onto the SQLServer box, create a 64-bit DSN, and you should be working.
0
 
LVL 10

Expert Comment

by:Bruce Denney
ID: 40613742
Which Sage 50?  UK, US, CAN or rest of the world?
0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 

Author Comment

by:JOYV23
ID: 40614310
Here's what I did.

1. Open odbcad32.exe ( Created a data source name "BarrFab" under User DSN - selected the Pervasive ODBC Engine Interface driver )
- Supply password - test connection - successfull.

Version of Sage is Sage 50 Accounting 2015 US  and the Pervasive is PSQL 11

2. Open SQL Server Mngmt. Studio 2014 (32 bit) - Selected New Linked Server
Selected provider:  Microsoft OLE DB Provider for ODBC driver
Product Name: BarrFab
Data Source:  BarrFab
Leaved blank for Provider string, location and catalog.

Supply security password. After it gives me an error of :

TITLE: Microsoft SQL Server Management Studio
------------------------------

The linked server has been created but failed a connection test. Do you want to keep the linked server?

------------------------------
ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------

Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "BARRFAB".
OLE DB provider "MSDASQL" for linked server "BARRFAB" returned message "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified". (Microsoft SQL Server, Error: 7303)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=12.00.2000&EvtSrc=MSSQLServer&EvtID=7303&LinkId=20476

------------------------------
BUTTONS:

&Yes
&No
------------------------------
0
 
LVL 28

Accepted Solution

by:
Bill Bach earned 500 total points
ID: 40615272
I believe that SQLServer 2014 is ONLY 64-bit.  Have you installed the 64-bit PSQL Client onto the SQLServer machine ALSO?  (You should install the 32-bit Client AND the 64-bit Client.)  Then, make sure that you set up a 64-bit ODBC DSN -- not a 32-bit.  This should work, then.
0
 

Author Closing Comment

by:JOYV23
ID: 40617664
Thank you BillBach  :)
That solves the problem.
0

Featured Post

Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

Question has a verified solution.

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

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

726 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