Monday, March 19, 2012

BUG when export to PDF

I have this bug when tring to export a report to pdf...
Exception of type
Microsoft.ReportingServices.ReportRendering.ReportRenderingException was
thrown. (rrRenderingError) Get Online Help
Exception of type
Microsoft.ReportingServices.ReportRendering.ReportRenderingException was
thrown.
Index and length must refer to a location within the string. Parameter name:
length
Any ideas? This only happens with 1 report, all other reports work fine...I finally found the cause of the bug if anyone is interested..
In the rdl code of the report I saw that there were 2 <language> parts, the
<Report> had a langauge setting of en-IRL but there was a textbox somewhere
else on the report that also had its own <language> setting which was
different to the report setting. I removed the <language> setting from the
textbox and redeplyed the report and now the report exports to PDF.
"NH" wrote:
> I have this bug when tring to export a report to pdf...
> Exception of type
> Microsoft.ReportingServices.ReportRendering.ReportRenderingException was
> thrown. (rrRenderingError) Get Online Help
> Exception of type
> Microsoft.ReportingServices.ReportRendering.ReportRenderingException was
> thrown.
> Index and length must refer to a location within the string. Parameter name:
> length
>
> Any ideas? This only happens with 1 report, all other reports work fine...

No comments:

Post a Comment