Under Review
Last Updated: 13 Apr 2021 07:03 by ADMIN
Anoosh
Created on: 29 Jan 2021 19:03
Category: PdfProcessing
Type: Bug Report
1
using PdfFormatProvider() to load a simple PDF. I am getting the error import not supported:

I have read that there limitations to PDF files being imported, however, the file being imported  was generated with FixedContentEditor, so, should be able to import?

  using (Stream stream = Stream)
        {
          try
          {
            this._document = provider.Import(stream);
            _InputPath = fileName;
          }
          catch (Exception e)
          {
            Errors = "Could not open file " + fileName + ": " + e.Message;
            this._document = null;
          }
        }
      }
3 comments
ADMIN
Dimitar
Posted on: 13 Apr 2021 07:03

Hello Anoosh,

I am glad that you have found the solution to your case. Do not hesitate to contact us if you have other questions.

Regards,
Dimitar
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Anoosh
Posted on: 12 Apr 2021 17:38
Looks like the issue was the file location.  PDF processing requires the path to be in the same directory structure as the website. Solved by creating a virtual directory pointing to the actual file directory.
ADMIN
Dimitar
Posted on: 01 Feb 2021 11:17

Hi Anoosh,

You should be able to import a file created with our library. Can you send me the file and the code that you have used to generate it? This will allow me to properly investigate this case and determine what is causing such issues.

Please note that this is a public tread and the file will be seen by other users as well. If there is confidential information in the file please open a new support ticket and attach it there. 

I am looking forward to your reply.

Regards,
Dimitar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.