How can I run a report of version 11 with version 8?

If I want execute a report that I have create with my local designer 11 and I want run this report on the server with version 8 then I receive the follow error message:

"foo.rpt" is not a valid report file. If you are requesting your report by http then the *.rpt extension should not be registered in the web server. Unregister the *.rpt extension or request the report via the file protocol.

How can I convert a report to an older version?

The usage of report files with an older version of i-net Clear-Reports as the designer version can be fatal and is not supported. But in the most cases this will work.

From version 8 to version 9 there was a format change. That means versions before 9 can not understand rpt files of versions after 9.

But there is a workaround that should work with the most but not all report files. You need a designer of version 9. You can download it from our website and install the designer in an separate directory.

The designer of version 9 must be started with the command line parameter -Dusenewparser=false
The completely command line can look like:

java -Xmx256m -Dusenewparser=false -jar Designer.jar

You can change this in the startDesigner.bat or startDesigner.sh. The real command line can differ from system to system. Add only the additional parameter -Dusenewparser=false to line.

Now you start the designer open the report, save it on a new location.

Now open a designer of your target version. Open the modified report and save it again. Now you can test if the report work as expected. It can needed to do some corrections on the report.

This workaround will not work with every report and is not supported. A better solution is to design the report with your target version.

© Copyright 1996 - 2018, i-net software; All Rights Reserved.