Hallo Support,
we've been generating dynamic reports using c# together with Stimulsoft.Report.dll and Stimulsoft.Base.dll for quite a while now and everything has been fine (and still is, apart from this 1 problem here). We're now setting up a new live web server and are testing our product together with the reporting part. Here, we have come across an unexpected formatting problem in that the formatting is becoming partially messed up. Here below are 2 excerpts and in the zip I have attached a whole pdf file which was dynamically generated in the code. We have copied all the dlls used for reporting directly from the existing live web server where everything is working fine. There is nothing to be installed as we are only using individual Stimulsoft dlls and there are no config files where any setting could be missing. The only difference is that the new server has Windows 2008 R2 and the existing server has Windows 2008.
Have you seen this type of text/image displacement before and do you have any idea what might be causing it?
Many thanks and best regards,
John Kitching
PDF: Formatting is getting partially mixed up
PDF: Formatting is getting partially mixed up
- Attachments
-
- Report.zip
- Full file
- (1.62 MiB) Downloaded 339 times
Re: PDF: Formatting is getting partially mixed up
Hello.
Could you save a rendered report (mdc-file) before exporting it on the new server and send it to us?
Thank you.
Could you save a rendered report (mdc-file) before exporting it on the new server and send it to us?
Thank you.
PDF: Formatting is getting partially mixed up
Hallo Aleksey,
here is the file you requested.
Best regards,
John Kitching
here is the file you requested.
Best regards,
John Kitching
- Attachments
-
- MDC-File.zip
- Report in MDC-Format
- (1.44 MiB) Downloaded 175 times
Re: PDF: Formatting is getting partially mixed up
Hello.
It seems that the problem isn't in the pdf export. The report file that you send us is already corrupted.
Could you send us a sample project which reproduces the issue for analysis.
Thank you.
It seems that the problem isn't in the pdf export. The report file that you send us is already corrupted.
Could you send us a sample project which reproduces the issue for analysis.
Thank you.
Re: PDF: Formatting is getting partially mixed up
Hallo Aleksey,
I've found the solution to the problem. It had to be some simple difference because the web servers are set up the same. It turned out there was a difference in the locale settings (on the control panel). On the original live server everything is set to Germany and German decimal separator etc. On the new server it was a mix of US-English and German. For this reason the widths were presumably not being interpreted correctly. I tried it on my dev. machine with Windows 7 by changing the decimal separator and 1000's separator and was able to reproduce the problem.
I'm not quite sure which part of the code was unable to interpret the 'double' values correctly. I added some extra logging to my application and it looked as though the widths for table columns were being calculated correctly.
Best regards,
John Kitching
I've found the solution to the problem. It had to be some simple difference because the web servers are set up the same. It turned out there was a difference in the locale settings (on the control panel). On the original live server everything is set to Germany and German decimal separator etc. On the new server it was a mix of US-English and German. For this reason the widths were presumably not being interpreted correctly. I tried it on my dev. machine with Windows 7 by changing the decimal separator and 1000's separator and was able to reproduce the problem.
I'm not quite sure which part of the code was unable to interpret the 'double' values correctly. I added some extra logging to my application and it looked as though the widths for table columns were being calculated correctly.
Best regards,
John Kitching
Re: PDF: Formatting is getting partially mixed up
Hello.
It's a good news. Let us know if you will need any help.
Thank you.
It's a good news. Let us know if you will need any help.
Thank you.