Solved

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

Posted on 2015-02-16
6
866 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
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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

911 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