Sign In  Sign Up Live-Chat

Aspose.Pdf.Kit.PdfViewer problem

Last post 08-31-2007, 12:17 PM by ken. 21 replies.
Page 1 of 2 (22 items)   1 2 Next >
Sort Posts: Previous Next
  •  08-11-2007, 2:07 PM 90362

    Aspose.Pdf.Kit.PdfViewer problem

    Attachment: Present (inaccessible)
    When attempting to open a 100 page pdf file (attached) with the code listed below I get this error...

    "System.IO.IOException: Uncomplete installation! Please restart your computer."

    I have installed the latest version of Pdf.Kit and I have restarted my computer multiple times. Can you confirm or deny a problem


                        Aspose.Pdf.Kit.PdfViewer pdv = new Aspose.Pdf.Kit.PdfViewer();
                        pdv.OpenPdfFile(filename);
                        this.updateMessage(filename + " opened");


                        //pdv.PrintDocument();
                        pdv.PrintDocumentWithSettings(pgs, ps);


                        // oldPrinter.InvokeMethod("SetDefaultPrinter", null, null);

                        pdv.ClosePdfFile();
     
  •  08-11-2007, 8:22 PM 90367 in reply to 90362

    Re: Aspose.Pdf.Kit.PdfViewer problem

    Hi,

    I tested this issue and found the error message is not exact. This problem should have noting to do with installation. We will check this problem and reply to you soon.

    Tommy Wang
    Lead Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  08-21-2007, 11:00 AM 91666 in reply to 90367

    Re: Aspose.Pdf.Kit.PdfViewer problem

    I am having same problem. I've tried all the suggestions in the other threads related to the issue, but to no availability.

    Works fine on the local pc, but not on the remote box.
    I am using pdf kit 2.5.2. My path includes the resources directory for the pdf kit.

    I am basically trying to decode all the pages along the lines...
    Aspose.Pdf.Kit.PdfViewer pdfViewer = new Aspose.Pdf.Kit.PdfViewer();
    pdfViewer.OpenPdfFile(thispage.Request.InputStream);
    Bitmap[] pages = pdfViewer.DecodeAllPages();
    for (int i = 0; i
    {
    ///pages[i].Save(fulldir + Page.Request.Params["filename"] + i.ToString() + ".png", ImageFormat.Png);
    ResizeBitmap(pages[i], 0.1).Save(fulldir + Page.Request.Params["filename"] + i.ToString() + ".png", ImageFormat.Png);
    ResizeBitmap(pages[i], 0.6).Save(fulldir + Page.Request.Params["filename"] + i.ToString() + "L.png", ImageFormat.Png);
    }
     
  •  08-21-2007, 2:52 PM 91690 in reply to 91666

    Re: Aspose.Pdf.Kit.PdfViewer problem

    Hi,

    Thank you for considering Aspose.

    Can you please tell us your Server configuration and sample Pdf file and let us test this issue.

    Thanks.

     
  •  08-21-2007, 9:11 PM 91727 in reply to 91690

    Re: Aspose.Pdf.Kit.PdfViewer problem

    The box that has a problem runs Windows 2003 64 bit, I think it is DELL 2950.

    The pdf I am using is here http://cm.bell-labs.com/cm/ms/what/shannonday/shannon1948.pdf

    It is not a path issue, I can see with filemon from (sysinternals) that Times-New.font gets succesfully opened by asp.net runtime. The box has been restarted several times.

    This works succesfully on my dev laptop that has visual studio 2005 on.

    Many thanks for your assistance.

     

     

     
  •  08-21-2007, 9:34 PM 91731 in reply to 91727

    Re: Aspose.Pdf.Kit.PdfViewer problem

    Hi,

    I am not sure, but it might be the problem with Windows Server 64 bit. Please download this dll from here. Please test with it and let us know the results.

    Thanks.

     
  •  08-21-2007, 10:22 PM 91737 in reply to 91731

    Re: Aspose.Pdf.Kit.PdfViewer problem

    No luck. I tried it on 32 bit Windows 2003 system as well.

    Since adding path for resources directory is not it, do you know what other prerequisits are there for the "Uncomplete installation! Please restart your computer" not to trigger? Is there a registry key dependancy?

     

    Many thanks

    Mihran

     
  •  08-22-2007, 2:39 AM 91783 in reply to 91737

    Re: Aspose.Pdf.Kit.PdfViewer problem

    Hi,

    Actually I am unable to reproduce this problem with your Pdf. We definitely think that there is some problem with Aspose.Pdf.Kit to recognise the server settings. Our developers are working to find the root cause. I recommend you to try the workaround on the following thread and please also follow this link as well till your problem is solved.

    http://www.aspose.com/Community/Forums/2/90523/ShowThread.aspx

    We are sorry for inconvenience.

    Thanks.
     
  •  08-22-2007, 4:29 AM 91803 in reply to 91737

    Re: Aspose.Pdf.Kit.PdfViewer problem

    Dear Mihran,

    We are working to avoid this problem in the future version. Currently please check the following:

    1) There is a path like "C:\Program Files\Aspose\Aspose.Pdf.Kit\Resources" in you "path" environment.
    2) The user that running your application has the "read and excute" permission for the %Aspose.Pdf.Kit% folder and all it's sub folders.

    Tommy Wang
    Lead Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  08-22-2007, 7:47 AM 91830 in reply to 90367

    Re: Aspose.Pdf.Kit.PdfViewer problem

    What is the status of my issue? I see that someone else is having a similar issue. My client is waiting what should I tell them?


     
  •  08-22-2007, 8:01 AM 91834 in reply to 91830

    Re: Aspose.Pdf.Kit.PdfViewer problem

    We are working on this issue but we have not found the reason exactly. Can you please check your server setting following my upper post and tell me the result?

    Tommy Wang
    Lead Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  08-22-2007, 8:30 AM 91838 in reply to 91834

    Re: Aspose.Pdf.Kit.PdfViewer problem

    I'm not real sure what you are asking but this is not running on a server its running on my workstation. It is a Dell XPS 410 with 4gig of ram and a terabyte of hard disk space. I am running Windows XP SP2.

    I have broken this thing down to a very basic level. This Code:

                        Aspose.Pdf.Kit.PdfViewer pdv = new Aspose.Pdf.Kit.PdfViewer();
                        pdv.OpenPdfFile(filename);

                        pdv.PrintDocumentWithSettings(pgs, ps);
                        pdv.ClosePdfFile();


    Gives me this error:

    "System.IO.IOException: Uncomplete installation! Please restart your computer."

    When I attempt to open the 100 page document I attached to my 1st email.

    I do not get the error when I open a 3 page document. but I do get the error when I open the 100 page document.


    I have pdf kit installed on my workstation and it is the latest version.


     
  •  08-22-2007, 8:57 AM 91842 in reply to 91838

    Re: Aspose.Pdf.Kit.PdfViewer problem

    Sorry for our mistake. I tested your pdf again and found the problem is that the PDF is not supported well by Aspose.Pdf.Kit. I will let the developers to check if this can be fixed in short time. Sorry for the inconvenience.

    Tommy Wang
    Lead Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  08-22-2007, 9:06 AM 91844 in reply to 91803

    Re: Aspose.Pdf.Kit.PdfViewer problem

    Attachment: Present (inaccessible)

    Hi Adeel and Tommy, thanks for the followup. I can't access the link you've pasted (premission denied).

    http://www.aspose.com/Community/Forums/2/90523/ShowThread.aspx

    I am attaching a screenshot of processmonitor which shows that during execution of my program IIS .net runtime sucessfully opens times-new.font in resources directory.

    Regards,

    Mihran

     
  •  08-22-2007, 9:22 AM 91856 in reply to 91844

    Re: Aspose.Pdf.Kit.PdfViewer problem

    Thanks for providing the detailed info. I think you problem is the same as nbkbar7's. The PDF is not supported well. The error message is not exact and this has nothing to do with installation. I discussed this issue with the developers and found we can't fix this issue in short time. We might need at least two weeks. Please provide your PDF for us to test. I am terribly sorry for the inconvenience.
    Tommy Wang
    Lead Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
Page 1 of 2 (22 items)   1 2 Next >
View as RSS news feed in XML