Skip to content
logo Knowledgebase

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

Created on  | Last modified on 

Summary

Error: "Unable to cast COM object of type" when printing in Sage 100 2017 and earlier versions after installing Sage 100 2018 or later Error: "Unable to cast COM object of type CrystalDecisions.ReportAppServer.Controllers.ISCRReportSource. This operation failed because the QueryInterface call on the COM component for the interface with ID xxxx failed due to the following error: No such interface supported (Exception from HRESULT:0x8004002 (E_NOINTERFACE)" Error: "12: File does not exist (or already exists) File: CM_UIScriptLink:Crystal" Error: "Unable to print .rpt. RPC server is unavailable"

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

CAUTION: Sage Customer Support does not assist with issues related to third-party products or enhancements, hardware, report customizations, state or federal tax-related questions, or specific accounting questions. Please get in touch with your Sage business partner, network administrator, or accountant for assistance. Please refer to our Scope of Support document for details.
CAUTION: If you use third-party products that integrate with your Sage product, check with the vendor of your third-party product to ensure their product is fully compatible with this release. If you integrate with other Sage products, check with your business partner or Sage to ensure that these components are compatible. 

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

Chat with support