Using ActivePDF Toolkit and ASP.NET 2.0. Unable to open PDF document on the production server - need help.

Last post 07-02-2009 7:15 PM by ytang. 4 replies.

Sort Posts:

  • Using ActivePDF Toolkit and ASP.NET 2.0. Unable to open PDF document on the production server - need help.

    04-21-2006, 10:47 PM
    Hello,
      We are using ActivePDF toolkit to generate reports in our web
    application. We are using ASP.NET 2.0 and SQL Server 2005.

    We are able to open the pdf files on our local development box with out
    any problem. But having problems on the production server.

    When we moved our application to the production serrver we made sure
    that we copied the
    production version of the APToolkitNET.dll to our project BIN directory
    but still having problems.

    When we try opening the PDF file on the server this is the error we are
    getting:

    "Adobe Reader could not open 'XXXXX[2].pdf' because it is either no a
    supported file type or because the file has been corrupted (for
    example, it was sent as an email attachment and wasn't correctly
    decode)"

    But the same code works perfectly fine on my development box but not
    sure why is this causing on the server.

    The version of Adobe Reader on my development box is 6.0
    The version of Adobe Reader on the server is 7.0 (not sure if this
    makes any difference but just want to mention it here)

    Can some one help me with this if any one of you had similar problem in
    the past?

    Thanks in advance
    -L

  • Re: Using ActivePDF Toolkit and ASP.NET 2.0. Unable to open PDF document on the production server - need help.

    04-21-2006, 11:18 PM
    • All-Star
      33,881 point All-Star
    • vcsjones
    • Member since 04-18-2006, 8:53 PM
    • Falls Church, VA
    • Posts 4,330
    • Moderator
      TrustedFriends-MVPs
    You are probably better suited to ask this in a forum for Active PDF.
    Cheers,
           Kevin Jones


  • Re: Using ActivePDF Toolkit and ASP.NET 2.0. Unable to open PDF document on the production server - need help.

    04-22-2006, 8:42 AM

    Hello Kevin,

      Thanks for advise. But I coldn't find any Active PDF forums couldn't you please suggest one. I need to resolve it soon. Not sure why it is not doing on the production server.

     

    Thanks

    -L

  • Re: Using ActivePDF Toolkit and ASP.NET 2.0. Unable to open PDF document on the production server - need help.

    04-23-2006, 5:20 AM
    Answer
    • All-Star
      33,881 point All-Star
    • vcsjones
    • Member since 04-18-2006, 8:53 PM
    • Falls Church, VA
    • Posts 4,330
    • Moderator
      TrustedFriends-MVPs

    Try searching Active PDF's KB, which you can find here: http://www.activepdf.com/support/knowledgebase/

    Also dig around in their other support options.

    Cheers,
           Kevin Jones


  • Re: Using ActivePDF Toolkit and ASP.NET 2.0. Unable to open PDF document on the production server - need help.

    07-02-2009, 7:15 PM
    • Member
      2 point Member
    • ytang
    • Member since 07-02-2009, 6:57 PM
    • Posts 1

     Hi;

    I am new to Active PDF Toolkit. I am using it for our asp.net 2.0 and SQL 2000 web application. I our application, I retrive data from DB  into a data table. I then display them in the web browser. What I need to do now is to have a button. Once the user clicks the button, application convert all the data into a .pdf file. Well, generate the .pdf file on-the-fly first, then fill in the .pdf file with the data in the data table.

    I saw your post and it seems like that you did similiar thing with your application already. Can you tell me how you did it, please? A simple sample code will be very helpful.

     

    Thanks!

    YT

Page 1 of 1 (5 items)