Announcement

Migration of this forum

Dear users of this forum,

we are pleased to inform you that we will be updating the software behind this forum in the near future.

Existing posts, users and categories will remain untouched.

Important:

  • Each user will need to reset their password.
  • Please select "I forgot my password".
  • Enter the email address you used to register in this forum.
  • You will receive an email with a link to set a new password.
  • Please choose a new (secure) password and confirm the process.

We will keep you informed in the pinned thread.

Kind regards,
Your ReportServer Team


Migration des Forums

Liebe Nutzer dieses Forums,

wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.

Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!

Wichtig:

  • Jeder Nutzer muss sein Passwort neu vergeben.
  • Wählt dazu einfach "Ich habe mein Passwort vergessen".
  • Gebt die E-Mail-Adresse ein, mit der ihr registriert seid.
  • Ihr erhaltet eine E-Mail mit einem Link zur Passwortvergabe.
  • Bitte wählt ein neues (sicheres) Passwort und bestätigt den Vorgang.

Wir halten euch im angepinnten Beitrag auf dem Laufenden!

Mit vielen Grüßen
Euer ReportServer Team

#1 2017-03-20 13:12:48

adrian
Member
Registered: 2017-03-20

Error when running a Crystal Report with multiple tables

Hi,

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.

Anyone ever encountered this error before?

Thanks

Adrian

Offline

#2 2017-03-20 13:59:18

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Error when running a Crystal Report with multiple tables

Hi adrian,

are you able to run a simple crystal report ? For example with the query "select * from yourtable* and showing 2-3 fields ?

Greets,
Eduardo

Offline

#3 2017-03-20 15:00:26

adrian
Member
Registered: 2017-03-20

Re: Error when running a Crystal Report with multiple tables

Hi Eduardo,

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?

Thanks

Adrian

Last edited by adrian (2017-03-20 15:03:13)

Offline

#4 2017-03-21 08:00:21

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Error when running a Crystal Report with multiple tables

Hi Adrian,

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.

Cheers,
Eduardo

Offline

#5 2017-03-21 10:06:21

adrian
Member
Registered: 2017-03-20

Re: Error when running a Crystal Report with multiple tables

Hi,

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.

Let me know if anything else would be helpful.

Adrian

Offline

#6 2017-03-21 14:24:15

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Error when running a Crystal Report with multiple tables

Hi Adrian,

what is the sql query of your crystal report? does it include the json column, for example "select * from mytable" ?

We are seeing an issue with json columns in dynamic lists as well, we will take a look at this. But please check this. Maybe it is the same issue.

Cheers,
Eduardo

Offline

#7 2017-03-22 15:40:09

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Error when running a Crystal Report with multiple tables

Hi Adrian,

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.

Cheers,
Eduardo

Offline

Board footer

Powered by FluxBB