RKL eSolutions Blog Trends and Insights

How to Set Up Client Service ODBC Driver and Service for Sage 100 Advanced

How to Set Up Client Service ODBC Driver and Service for Sage 100 Advanced
6:22

 

This is to review and advise on how to set up the Client Server ODBC driver and service for Sage 100 Advanced. These instructions should be performed on the Sage 100 server. Please read the entire document before proceeding.

CS ODBC Driver Set-Up Overview

The following screenshots are the four basic steps to enable the client server ODBC driver and service to use with Sage 100.

Set-Up Sage 100 System:

Picture1

Enable Sage 100 Users:

Picture2

Create Service:

Picture3

Set-Up Service:

Picture4

Continue scrolling below to learn the steps to enable the client server ODBC driver and service to use with Sage 100.

how to enable in system configuration

 Sage 100 > Library Master > Setup > System Configuration > ODBC DRIVER tab

  1. Click the box to enable Client / Server ODBC Driver
  2. This field displays the path to the Sage 100 Advanced server that is running the Client/Server ODBC driver and can only be viewed.
  3. Type the Sage 100 Advanced server port number on which the Client/Server ODBC driver is running. Typically, this is 20222.
    • Make sure there is an Inbound firewall rule setup for this port. (see below)

    Picture5
  4. Select this check box to Enable the Client/Server ODBC driver for all users. Clear this check box to enable the driver for specific users.

Picture6

how to enable for certain users, if the "enable for all users" was not checked

  1. In Library Master > Security > User Maintenance > Preferences tab
    • Check the ‘Enable C/S ODBC Driver’ for your user.
    • Check this box for other users as needed after the service is set up successfully.

    Picture7

 

create Service - on the sage 100 server

These instructions will list how to run this as an Application and as a Service.

  1. To run as an Application:
     Note: This will have to be done each time the application is closed, such as when the server is shut down and restarted 
     
    • Access the server where Sage 100 Advanced is installed
    • Open Windows Explorer and locate the pvxiosvr.exe file in "..\MAS90\Home"
    • Right-click pvxiosvr.exe and select "Run as Administrator"
    • A small "ProvideX File Server" window should appear a status message: "The Server is Running". Allow it to stay running. (It can be stopped by clicking the "Shutdown" button.)
  2. To run as a Service:
    Create the Service

    (Note: If the service is set to always start automatically, it will do so each time the server is shut down and restarted.)

    • Access the server where Sage 100 Advanced is installed
    • From the Windows Desktop, access Start Menu
    • Type: CMD
      • Right click on the “command prompt” and run as administrator
    Picture8
     
    • Enter the local path topvxiosvr.exe file, followed by a parameter of -i (Example: "C:\Sage\MAS90\Home\pvxiosvr.exe" -i)
    • A service should be created, with a description of "Sage 100 ERP Client Server ODBC Driver Service" (the Windows service name is PVXIOSVR).
    Picture9

Note: If another similar service (such as "Providex IO Service", the service name of the CS ODBC driver for earlier versions such as 4.50 OR an existing "Sage 100 ERP Client Server ODBC Driver Service" from another supported Sage 100 version) already exists, the service will not be created (no message or error appears). If the conflicting service is not needed, delete it using Windows SC Delete command.

Note: to uninstall the new "Sage 100 ERP Client Server ODBC Driver Service" (if necessary) , Enter the local path to pvxiosvr.exe file, followed by a parameter of -u (Example: "C:\Sage\MAS90\Home\pvxiosvr.exe" -u)

Picture10

Configure the new service:

  1. Access the server where Sage 100 Advanced is installed
  2. From the Windows Desktop > Start > Control Panel > Administrative Tools > Services
  3. Verify the "Sage 100 Client Server ODBC Driver Service" exists
  4. Right-click the service, select Properties
    • On the General tab, select the Startup type "Automatic"
    • On the Logon tab, enter the Login and Password for a Domain Administrator-level account rather than using the Local System account.
    Note: In some environments, not having the correct permissions may lead to a "Database logon failure" message when attempting to run reports 
    • On the Recovery tab, change the option for all three “failure” to “Restart the Service” and click Apply
  5. Click Start to start the service, then click OK to exit Properties.
  6. Verify the service is "Started" before existing the Services window

                          Picture11         Picture12

test on the server

  1. Exit and restart the SAGE 100 server.
  2. Log back in to Sage 100 and test by running a report with a small data set.
    • Library Master > Reports > Company Listing is a good choice.
      • Print or Preview and ensure it works as expected.
  3. Access and Test the ODBC Data Source

perform the following steps

  1. On the workstation where Sage 100 Advanced is installed:
    • Open Start > Control Panel > Administrative Tools > Data Sources (ODBC) (choose 32 bit or 64 bit, depending on what you are using
    • In ODBC Data Source Administrator, User DSN tab, select SOTAMAS90 and click Configure

    Picture13
  2. The following screen shots will show how it should have automatically set up during the Sage 100 workstation installation:

    Picture14
    Picture15
    Picture16
    Picture17
  3. In ProvideX ODBC Driver Setup, Debug tab, click Test Connection
  4. In Sage 100 Database Sign on, enter Sage 100 login credentials click OK
    Picture18
  5. If successful, you will the message "Connection succeeded"
    Picture19
  6. Click OK to exit

Troubleshooting on the Server

  1. If the driver works on the server but remote locations cannot print or preview, the issue is likely a firewall blocking the 20222 port.
  2. If you receive an “ISAM” error when running the crystal report go to User Preferences and make sure ‘Enable C/S ODBC Driver is checked.
  3. If you try to Print or Preview and get the window below, then ensure that the Windows > Internet Properties > Advanced options has the TLS 1.0 -1.3 enabled. If you need to enable any of these by checking the box, then click Apply and OK. Then restart the server and test again.

Picture20

 

Picture21

For any additional questions about setting up client service ODBC driver and service for Sage 100 Advanced, please contact RKL eSolutions for additional assistance.


Want More Sage 100 Tips & Tricks?

Make sure to subscribe to our blog to stay up-to-date on the latest insights and trends. We're dedicated to providing valuable resources for businesses looking to optimize their financial management with Sage 100.

information-570449-editedCheck out these blogs to help get you started!

How to Reverse a Cash Receipt
How to Reverse an Invoice Posted to the Wrong Month
Understanding the Purchases Clearing Report
How to Setup ACH Processing in Accounts Payable

Debby Hanson

Written by Debby Hanson

Debby has over 20 years experience as a Sage 100, Sage 50, and Sage BusinessWorks certified senior consultant, with niches in Payroll, Manufacturing, EDI processing and Avalara's Avatax. Her Bachelor's degree in Business and Master's degree in Organizational Behavior allows Debby to evaluate client needs very effectively, which helps to create relationships with them. Outside of work, Debby likes to travel, garden, bake and is a board member and singer the a women's singing group called The Chantelles. She also is a fur-baby mom to a wonderful rescue named Sophie.