Skip to Content
author's profile photo Former Member
Former Member

PDF Export And Printing Problem

I am using VB 2005 and the Crystal Reports that is bundled with it. I have reports on my website in the Crystal Report Viewer. I have the tool bar showing the Export and Print buttons. When you try to print (or export to PDF) you get an error from Adobe Reader "Adobe Reader could not open 'AcrXXX.tmp' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)."

I can see the file in my temp folder on my c-drive and the file (AcrXXX.tmp) does not contain a pdf instead it contains html for the report (including the report viewer). I tried deleting everything in my temp folder and I still get the error. My desktop is Adobe Reader 8.0 and IE 6 and Windows XP.

The same code will create the PDF on all development and test web servers just not on my production server.

I have no problem exporting a report to Word.

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 21, 2008 at 05:32 PM

    In the VS ide can you try using the Active X as print mode rather than Pdf, for crystal report Viewer property?

    AG.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 22, 2008 at 09:21 AM

    Hello Wendy,

    if you are not too sure whether this errro is CR or VS related pls simply try to use one of our samples and see if you can export from htere or if you get the same error:

    Sample site for NET:

    https://boc.sdn.sap.com/dotnet/samples

    general docu:

    https://smpdl.sap-ag.de/~sapidp/012002523100005853792008E/walkthrough_supportfiles.zip

    specific samples:

    https://smpdl.sap-ag.de/~sapidp/012002523100006252712008E/csharp_web_smpl.exe

    https://smpdl.sap-ag.de/~sapidp/012002523100006252812008E/net_web_smpl.exe

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 21, 2008 at 08:06 PM

    Hello,

    This is an Adobe error and appears unrelated to your Crystal Reports application. There are many versions of it reported on the Web.

    The answer that appears the most relevent is a Microsoft security update for Internet Explorer 6.0 that may be causing the issue.

    Elaine

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 23, 2008 at 08:27 PM

    Thank you - I believe this was an Adobe Reader problem. This is what solved it:

    Installed Adobe Reader 9.0

    Start Acrobat or Adobe Reader

    Choose Edit > Preferences

    Select Internet in the list on the left

    Deselect Display PDF in Browser, and click OK

    Restart Internet Explorer

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.