Re: PDF File help!



Ami;

Sounds like you do not have Acrobat Adobe Reader on the machine.

Are you trying to view the document in the browser?

HTH,
Austin

"Ami" <amutha55@xxxxxxxxx> wrote in message
news:1158107759.899162.158720@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi All
I am using this code to open a PDF file and it works fine in Windows
Server 2003, but not
working in Windows XP and 2000. The Download box has Open, Save and
Cancel option, but
when I click Open option, it is not opening the file, instead, it is
asking us to select the Program from the list to open the file and
sometimes giving the error, "There is an error opening this file"
error. This is urgent and any help is highly appreciated. Thank you.

Response.ContentType = "application/pdf";
Response.AppendHeader("Content-Disposition", "attachment;
filename=myfile.pdf");
Response.WriteFile("myLocalFile.pdf");
Response.End();



.



Relevant Pages

  • PDF File help!
    ... I am using this code to open a PDF file and it works fine in Windows ... Server 2003, but not ... "There is an error opening this file" ...
    (microsoft.public.dotnet.general)
  • Re: PDF File help!
    ... I am using this code to open a PDF file and it works fine in Windows ... "There is an error opening this file" ...
    (microsoft.public.dotnet.general)
  • Re: multiple issues
    ... There was an error opening this message) ... If you haven't already done it, shutdown and restart Windows. ... Encoding and uncheck Auto-Select and choose instead "Western European ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: multiple issues
    ... There was an error opening this message) ... If you haven't already done it, shutdown and restart Windows. ... Encoding and uncheck Auto-Select and choose instead "Western European ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Can not open indiviual e-mail messages
    ... How do I do this using windows XP Home edition? ... (Outlook Express: There was an error opening this message) ... OLEXP: Error Message: Address Book Failed to Load ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)