Quick question, hopefully someone can help. Currenly evaluating Reportserver and it seems great. However, today I tried uploading a Crystal Report that had 2 joined tables and the report will not render.
The following error is displayed:
“The report could not be executed: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected ValueType: ValueType=[255]---- Error code:-2147467259 Error code name:failed
To get help please contact an administrator.”
I have followed the instructions for updating the Java Reporting Component (JRC) according to the user manual.
Worked it out. Reports that referenced tables with JSON datatypes would work okay in Crystal but would not render in Reportserver (even if the json columns were not used in the query). When I removed those columns the reports worked fine. I’m assuming this is related to Crystal rather than Reportserver. There isnt a setting on the JDBC driver or elsewhere that I have missed?
interesting, so crystal reports don’t work with JSON datatypes, even if the json columns are not used? Which database are you using? and which driver? We will check this.
Yes, it seems to be the case that even if the JSON column isnt used in the report the report will not render. Delete the JSON columns and everything works perfectly.
I have tested on reports created on Crystal Reports 2016 and 2011, using PostgresSQL 9.5.5. On my local crystal, 64 bit ODBC Unicode driver.
we have modified reportserver so that it now works with JSON/JSONB columns from both PostgreSQL and MySQL. These are interpreted as strings in reportserver. This feature will be included in the next release.