Installing MAS 90 4.0 ODBC Driver - Architecture Mismatch

We just installed MAS 200 v4.5 on a new server and will migrating to it very soon.

I wrote a custom API to expose MAS data as XML through a web site.

The server that it is installed on is running Windows Server 2008 R2 64bit.

I installed the MAS server and the desktop client on that machine. The problem occurs when I am trying to access the MAS data with my code using ODBC.

This is the error I receive: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

On the server I can see the user DSN with the name SOTAMAS90, but If I click on it I get an error that says "The setup routines for the MAS 90 4.0 ODBC Driver ODBC driver could not be found. Please reinstall the driver."

Then another error that reads "The specified DSN contains and architecture mismatch between the Driver and the Application"

If I click on the Drivers tab, SOTAMAS90 is not there.

I have already reinstalled the workstation. 

Any ideas on what I might be doing wrong?

Parents Reply Children
  • 0 in reply to BigLouie

    From the Knowledge Base

    Description

    When executing a script that worked with prior version of Sage 100 ERP, the script returns an Error: "[Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application."

    Disclaimer

    Support

    Sage Customer Support does not provide assistance for issues related to third party products or enhancements, hardware, report customizations, state or federal tax-related questions, or specific accounting questions. Please contact your Sage Business Partner, network administrator, or accountant for assistance. Please review this document for additional information on the scope of Sage Customer Support Services.

    Cause

    64 bit applications cannot access a 32bit DSN's and you are attempting to execute a 32 bit application/script with a 64 bit scripting application or vice-versa.

    Resolution

       If the application or script is a 32 bit script that has worked with Sage 100 previously then it needs to be executed with the 32bit version of cscript, which is located in C:\Windows\SysWOW64\cscript.exe.

       If it's a 64 bit application access the 64 bit DSN it needs to use the cscript version, which is located in C:\Windows\system32\cscript.exe.

  • 0 in reply to BigLouie

    Thanks Louis. I will give that a shot.