Adobe Reader 10.1.1 displaying blank screen when pdf file is streamed to Internet Explorer ASP .Net
I have an asp.net application which dynamically creates pdf stream and send it to the client. If the client machine have adobe reader version 10.1.1 the browser sometimes show blank screen.
The client machines which have adobe reader version less than 10.1.1 does show the pdf file.
I am using the following code to generate pdf on the fly - ReceiptImage is a byte array
Response.Buffer = true;
Response.ContentType = "application/pdf";
Response.Charset = "";
Response.OutputStream.Write(ReceiptImage, 0, ReceiptImage.Length);
I have visited many forums and tried all the solutions mentioned but nothing seems working. 2 out of 10 times it still show blank screen. I am opening the asp.net page in a new window after clicking a link. As the window is named if i refresh the window or again click the link without closing the window the asp.net page shows the pdf.
Update to version 10.1.2.45. This resolved my issue.