I have a pdf file and i have shown it in web broswer like this,
WebClient client = new WebClient();
Byte[] buffer = client.DownloadData(sFileName);
if (buffer != null)
{
Response.Clear();
Response.ContentType = "application/pdf";
Response.Flush();
Response.BinaryWrite(buffer);
}
But my problem is when i am going to show the pdf in local server it is showing all the pages,but same code when run in live server it is showing some of pages blank.I have tested so many days for this and not found any result.
Please help for this problem. Thanks