Skip to main content

Hi everyone,

I've made a DevExpress report and in SF Reports configured the settings as seen in print screen 1.
The "Print preview" action for DevExpress works fine in the Windows GUI.
But in Web GUI when I select the action "Print preview" (print screen 2) I get an error (print screen 3).
If I choose action "Export to PDF" it generated the report successfully and I can see the exported pdf with the correct data.
So the problem only occurs with the "Print preview" for DevExpress.

 

Note: In a process flow I've a Report type SSRS(Local) and a Report action Print preview. In Web GUI the Print preview doesn't throw an error and successfully shows the preview.

 

Do you guys have some ideas what could be the problem and how to fix it ?

 

print screen 1
print screen 2
print screen 3

 

Do you have any other devexpress reports in the application and do they have the same problem? If this is the only one could you try a static report and see if that works?


Yes I have another DevExpress report and also the same problem. I will try a report with only some labels and no Query dataset.


Did you try the empty report, did it work or did you experience the same problem?

 


Hi @tim , any update on this?


Hi,

sorry for late response. But I tried another devexpress report and got the same problem.
I debugged further and the problem was that when I put the WebGUI that I downloaded from Thinkwise Portal it contains 2 versions of devexpress dll files v19 en v21 in the Bin folder. 
IIS set the files in an temp app folder something called asp.net4. There were 2 versions of devexpress dll that caused the error in Preview.

The solution was to remove devexpress dll v19 in the Bin folder called DevExpress.XtraReports.v19.1 or DevExpress.XtraReports.v19.1.Web.WebForms.dll

Maybe something to look into why there are 2 versions of dll files in the Bin folder ?


Edit:

The solution was to remove devexpress dll v19 in the Bin folder called DevExpress.XtraReports.v19.1 or/and DevExpress.XtraReports.v19.1.Web.WebForms.dll

Then clean out the contents in the temp app folder something called asp.net4.

And restart the application pool in IIS.