Home
Analytics
Corrupted Content Error with firefox 7
Neethu
Hi All,<br />
<br />
I have a set of reports which i was generating as pdf in browsers like chrome,safari and mozilla firefox 6.0 with out any errors. All the reports were running fine. suddenly i updated by firefox to 7.0 and it shows <strong class='bbc'>Corrupted content error</strong> for all the report when i try to run them again. I have not done any changes to my report design file, but still the error occurs. Unable to trace the reason and solution for this corrupted content error. I have attached to error view.please help me to fix it.
Find more posts tagged with
Comments
lrnrit
<blockquote class='ipsBlockquote' data-author="'Neethu'" data-cid="84177" data-time="1318846696" data-date="17 October 2011 - 03:18 AM"><p>
Hi All,<br />
<br />
I have a set of reports which i was generating as pdf in browsers like chrome,safari and mozilla firefox 6.0 with out any errors. All the reports were running fine. suddenly i updated by firefox to 7.0 and it shows <strong class='bbc'>Corrupted content error</strong> for all the report when i try to run them again. I have not done any changes to my report design file, but still the error occurs. Unable to trace the reason and solution for this corrupted content error. I have attached to error view.please help me to fix it.<br /></p></blockquote>
<br />
<br />
Hi,<br />
<br />
Check What version of Birt u are using and whether it support that browser or not.<br />
<br />
i hope this link will make it clear to you if ur using Actuate birt<br />
:
http://www.birt-exchange.com/be/products/birt-server/overview/specifications/<br
/>
<br />
lrnit
Neethu
<blockquote class='ipsBlockquote' data-author="'lrnrit'" data-cid="84181" data-time="1318849162" data-date="17 October 2011 - 03:59 AM"><p>
Hi,<br />
<br />
Check What version of Birt u are using and whether it support that browser or not.<br />
<br />
i hope this link will make it clear to you if ur using Actuate birt<br />
:
http://www.birt-exchange.com/be/products/birt-server/overview/specifications/<br
/>
<br />
lrnit<br /></p></blockquote>
<br />
<br />
I'm using 3.7 version of birt and the above link does not speak anything about 3.7 with mozilla firefox 7.0
lrnrit
<blockquote class='ipsBlockquote' data-author="'Neethu'" data-cid="84183" data-time="1318850255" data-date="17 October 2011 - 04:17 AM"><p>
I'm using 3.7 version of birt and the above link does not speak anything about 3.7 with mozilla firefox 7.0<br /></p></blockquote>
<br />
<br />
hi , <br />
<br />
Its Eclipse Version 3.7 Check for your birt designer version . I think it does not support the Firefox version of yours. Is it working fine with IE 7/8 ? <br />
<br />
<br />
lrnit
CBR
If the output is PDF the browser opens the acrobat pdf viewer application which renders the PDF file. So the browser you are using shouldn't matter. It sounds like the adobe acrobat plugin is not working in your firefox installation. Can you try to open any other PDF file in the internet using your firefox 7.
It might be worth deinstalling adobe acrobat pdf and reinstalling it from scratch.
I m using firefox 7 with BIRT 3.7 and it is working fine even with HTML
lrnrit
Sorry, I was on the wrong track. I agree With what Cbrell Said.
All the best.
lrnit
Neethu
I tried it Sir, but I did not find any solution.
Neethu
<blockquote class='ipsBlockquote' data-author="'Neethu'" data-cid="84248" data-time="1318938819" data-date="18 October 2011 - 04:53 AM"><p>
I tried it Sir, but I did not find any solution.<br /></p></blockquote>
<br />
<br />
I tried to solve it in firefox 7 but due to the change the reports are not working in lower versions of firefox.<br />
what i did to solve it in firefox 7 was i setting header in my action class as :<br />
<br />
response.setHeader("Content-Disposition", "inline; filename=\"DemoStaffList.pdf\"" );<br />
<br />
and also in my struts.xml as :<br />
<br />
<action name="generateReport" class="com.enlume.edsaas.reports.action.EdsaasBirtReportAction" method="generateReport"> <br />
<interceptor-ref name="edsaasBirtReportStack"/><br />
<result type="stream"><br />
<param name="contentType">application/pdf</param><br />
<param name="contentDisposition">inline;filename="DemoStaffList.pdf"</param><br />
<param name="inputName">reportStream</param><br />
</result><br />
</action> <br />
<br />
all i did was to commented the line in header setting in my action class as I was setting the header twice,<br />
and it worked fine with firefox 7 and 3.6 which it was not working earlier. <br />
But after the change it stopped with the other older versions of firefox. What should i do such that the report will work in all the versiions of firefox.<br />
Please help.Thank in advance for the help.