Error: "Unable to cast COM object of type" when printing in Sage 100 2017 and earlier versions after installing Sage 100 2018 or later versions
Description
  • This error will not occur after installing Sage 100 2019.
  • If a user reports this error when attempting to print on Sage 100 2017 or earlier versions after installing Sage 100 2019, they may have copied files or installed an old version of Crystal Reports.
  • Follow the resolutions above by downloading the attached pvxwin32.exe.config file.
Cause

After installing Sage 100 2018 or a later version, a new pvxwin32.exe.config file was created

This file is incompatible with Sage 100 2017 and earlier versions

Resolution
[BCB:5:Third-party support:ECB]
[BCB:6:Upgrade warning:ECB]

Product

Install***

Resolution

Sage 100 Standard

Single User

1

Sage 100 Standard

Network

2

Sage 100 Standard

Terminal Services

1

Sage 100 Advanced/Premium

Network/Terminal Services

3

Sage 100 Advanced/Premium

Terminal Services

3

*** If the configuration in use is not listed above please Contact Sage 100 Support.

RESOLUTIONS

1

Replace the existing pvxwin32.exe.config located in the "2017 or earlier" installation of Sage 100 Standard

...\mas90\home\ with the pvxwin32.exe.config that is attached to this document.

2

Replace the existing pvxwin32.exe.config located in the "2017 or earlier" installation of Sage 100 Standard

...\mas90\home\ with the pvxwin32.exe.config that is attached to this document.
The pvxwin32.exe.config will reside on the Server not on the individual workstations.
AND
Workstations that do not have Sage 100 2018 or 2019 workstation installed but, have "Sage 100 2017 or earlier" workstations: Either install the Sage 100 2018 or 2019 workstation or download and install SAP Crystal Reports run time SP21+.
A

3

Replace the existing pvxwin32.exe.config located in the "2017 or earlier" installation of Sage 100 Advanced/Premium
...\mas90\home\ with the pvxwin32.exe.config that is attached to this document.
The pvxwin32.exe.config will reside on BOTH the Server and Individual workstations.
AND
Workstations that do not have Sage 100 2018 or 2019 workstation installed but have "Sage 100 2017 or earlier" workstations: Either install the Sage 100 2018 or 2019 workstation or download and install SAP Crystal Reports run time SP21+.
A

Note: If workstation setup was installed on server, the server will have an additional ..\mas90\Home folder and the file must be copied to BOTH folders

A. Note SAP Crystal Report SP21+ x32 on the workstation.

  1. Download SAP Crystal Report SP22 x32 zip file and save to workstation (https://origin.softwaredownloads.sap.com/public/file/0020000000628072019)
  2. Locate then right-click zip file (i.e. CRVS2010CR3222_0-10010309.zip) and select 'Extract All'
  3. Click 'Extract'
    NOTE: Leave 'Show extracted files when complete' checked
  4. Open 'CRforVS_redist_install_32bit_13_0_22' folder
  5. Install 'CRRuntime_32bit_13_0_22.msi'

Warning:

Do not use pvxwin32.exe.config from Sage 100 2019 and higher on Sage 100 2016 & Sage 100 2017. You may use pvxwin32.exe.config from Sage 100 2018 on Sage 100 2016 & Sage 100 2017.

DocLink: "Error 200 SY_ReportCommon.pvc" when printing or previewing Crystal reports
DocLink: What versions of Crystal Reports are supported with Sage 100?
Attachment: 305_20230425125153_pvxwin32.exe.config

[BCB:155:Chat 100 US:ECB]
Defect ID
Steps to duplicate
Related Articles