Sage 50 ODBC Connection

SOLVED

I try to connect MS Excel to Sage file via ODBC. I got following message:

Details: "ODBC: ERROR [IM014] The specified DSN contains an architecture mismatch between the Driver (32-bit) and Application (64-bit)"

I am using Windows 10 64-bit. MS 365 Excel 64-bit.

Some people said to add "pervasive odbc engine interface" to the ODBC-32bit, but I do not find the "pervasive odbc engine interface" on my list.

I am wondering if there is way to solve the issue.

Alvin

Top Replies

Parents
  • 0

    I am assuming you are using the Sage 50 Canadian version not the US version.  I believe Pervasive is the database for the US version so that information is not accurate for us.

    Your issue is that Sage 50 installs the 32-bit version of the ODBC drivers and you are using the 64-bit version of Excel.  Even MS recommends that if you are working with connections between software that the MS Office product should be installed as 32-bit.

    However, if you downloaded the MySQL ODBC 64 bit drivers of the same MySQL ODBC version of your 32-bit driver, and you use it for your connection, it might work for you.

  • 0 in reply to Richard S. Ridings

    Hi Richard,

    I am wondering how does this work if the Sage files are located on a local server. or Does it ever work?

    It seems like I cannot even add the DSN on my ODBC Data Source Administrator. (I have the Windows admin account, but not the Sage 50 admin account)

    In addition, do you know if there are any courses about Sage data interpretation that I can take?

    Alvin

  • 0 in reply to [email protected]

    When you open a Sage 50 file on any computer, the 32-bit DSN's for the file will be updated with the proper Server name and Port.

    Open the Sage 50 file, then go to the 32-bit ODBC DSN called Sage 50: Last Opened.  If your 64-bit DSN does not have the same settings, change them and see if it works.

    With the proper security setup in the Sage 50 company file, you should be able to access the modules setup for that user, it doesn't have to always be the Sage 50 admin account that is used in external programs.

    In addition, do you know if there are any courses about Sage data interpretation that I can take?

    I've thought about putting one together many times over the years.  However, most people are only looking for info on certain parts of the program, so a complete database review would be overkill.

    Some use the datarel.pdf in the SDK to help sort out the tables necessary and linking between the tables while others post what they have and what they want in messages on this forum and they can get some help that way.

  • 0 in reply to Richard S. Ridings

    Looks like it is not working for me in my office.

  • 0 in reply to [email protected]

    Are your 64-bit ODBC DSN settings the same as the image above?

    Did you allow Third-Party products access to the database using the username Alvin?

    Is the username and password in Sage 50 file security the same case as you entered into the 32-bit test above?  eg. is the Alvin username in Sage 50 at the bottom right-hand corner of the Home Screen displaying Alvin or alvin?

    Is your password entered above less than or equal to 7 characters?

Reply
  • 0 in reply to [email protected]

    Are your 64-bit ODBC DSN settings the same as the image above?

    Did you allow Third-Party products access to the database using the username Alvin?

    Is the username and password in Sage 50 file security the same case as you entered into the 32-bit test above?  eg. is the Alvin username in Sage 50 at the bottom right-hand corner of the Home Screen displaying Alvin or alvin?

    Is your password entered above less than or equal to 7 characters?

Children