SAP Knowledge Base Article - Public

1216913 - Error Message: "...invalid class string" in Visual Foxpro 6 after updating to RDC 9

Symptom

A Microsoft Visual FoxPro 6 application uses the Report Designer Component (RDC) 8 as the reporting development tool. The application runs successfully with the RDC 8, but when you update the application to use the RDC 9, the following error message appears:

"OLE error 0x800401f3 invalid class string"

Resolution

The application does not run with the RDC 9 because the class string for the 'Crviewer' object needs to be updated.

Old class string:

scr8_vfp_rdc_preview.AddObject("CRViewer91","olecontrol","CRViewer.CRViewer")

New class string:

scr8_vfp_rdc_preview.AddObject("CRViewer91","olecontrol","CRViewer9.CRViewer.9.2")

====================

NOTE:

The following sample applications demonstrate the RDC Visual FoxPro

https://smpdl.sap-ag.de/~sapidp/012002523100005853752008E/scr8_vfp_rdc_export.exe
https://smpdl.sap-ag.de/~sapidp/012002523100005853762008E/scr8_vfp_rdc_param_value.exe
https://smpdl.sap-ag.de/~sapidp/012002523100005853772008E/scr8_vfp_rdc_preview.exe

====================

Keywords

FOXPRO RDC VISUAL RDC CLASS STRING OLE ERROR RUNTIME UPGRADE CRASH FOX PRO Report Designer Component Microsoft Visual FoxPro 6 Invalid class string 0x800401f3 , KBA , BI-DEV , Business Intelligence Software Development Kits (SDKs) , How To

Product

SAP Crystal Reports 9.0