Click here to Skip to main content
15,886,798 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
We have recently migrated from IIS 6(Windows Server 2003) to IIS 7.5(Windows Server 2008 R2).

Below functionality of downloading PDF is now giving error: "PDF is is damaged and could not be repaired."

From a public website say, www.abc.com has a link to download a PDF.
While clicking on link, it will redirect on another website say, www.xyz.com(Developed in JAVA) with proper query string.
now from xyz.com it process the query string and connect to another website say, pqr.com(developed in .Net, the migrated one from 3.5 to 4.0 as well as IIS 6.0 to 7.5)
pqr.com actually creates pdf and send to xyz.com and xyz process with headers and it will popup to download.


This was working before but after migration PDF gets downloaded but with the error of damaged file.
Even surprising is when pqr.com/querystrings is invoked,PDF gets downloaded successfully without any error
but, when xyz.com/querystrings (which internally calls pqr.com) is invoked it downloads pdf with error.

Please help on this
Posted
Comments
Member 11650469 16-Jun-15 0:16am    
When I execute java website in Fiddler it shows content length mismatch error.
Please asap.
Member 11650469 22-Jun-15 3:11am    
Please respond

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900