How to use VeryPDF Online OCR API to Convert PDF to TXT from my .net code? Free WebOCR API and SDK for C#, VB.NET, ASP.NET, Java, C++, VB, etc. developers. Royalty Free Invoice OCR SDK, extract items from scanned TIFF, JPG, PNG and PDF invoice documents.

I'm getting this error, when trying to convert online PDF to TXT.

-----
Sending POST to URL:
http://online.verypdf.com/app/onlineapi/?apikey=XXXXXXXXXXX&-format=2&inputfile=http://www.test.gov/cdrh_docs/pdf14/K141313.pdf&-lang=1&type=ocrsdk
----

Getting Back:
--------------------
info2: Error Code: 500

Detailed Message:
[Message] inputfile = http://www.test.gov/cdrh_docs/pdf14/K141313.pdf
[Message] apikey = XXXXXXXXXXX
[Message] outfilename on Server is: C:\temp\K14131320140813-050502.pdf
[Message] OutputFormat = 2
[Message] OutputFileType = txt
[Message] apikey = XXXXXXXXXXX
[Message] Input FileName = C:\temp\K14131320140813-050502.pdf
[Message] Input FileSize = 192571 Bytes
[Message] OutputFileType = txt
[Message] OutputFileName1 = C:\temp\K14131320140813-050502.txt
[Message] OutputFileName2 = C:\temp\K14131320140813_050502.txt
[Message] strCmd = "C:\VeryPDF\bin\online_ocr_sdk\ocrcmd.exe" -lang 1 -format 2 "C:\temp\K14131320140813-050502.pdf" "C:\temp\K14131320140813_050502.txt"

Active Server Pages error 'ASP 0113'

Script timed out

/ocrsdk.asp

The maximum amount of time for a script to execute was exceeded. You can change this limit by specifying a new value for the property Server.ScriptTimeout or by changing the value in the IIS administration tools.
[Message] OCR function was executed in 320.88 seconds.
[Error] Failed to get document URL.

Customer
----------------------------------

image
Thanks for your message, the trial version has a timeout limitation for big PDF file, so if your PDF file contain more pages or file size too big, "ocrsdk" will throw a timeout error, this limitation is exist in evaluation version only, the purchased version hasn't this limitation.

If you wish convert PDF file to text file on local system, you may download PDF to Text OCR Converter Command Line from following web page to try, you can use PDF to Text OCR Converter Command Line to convert both scanned PDF files and text based PDF files to text files easily,

https://www.verypdf.com/app/pdf-to-text-ocr-converter/try-and-buy.html

If you wish use Online OCR API to convert scanned PDF file to text file continue, you can subscribe VeryPDF Cloud API from following web page,

https://www.verypdf.com/online/cloud-api/try-and-buy.html

Once you subscribe VeryPDF Cloud API, you will able to use VeryPDF Cloud OCR API without any limitation.

Please refer to Cloud OCR API usage in VeryPDF Cloud API Platform from following web pages,

https://www.verypdf.com/wordpress/201308/verypdf-cloud-api-platform-verypdf-ocr-cloud-api-online-ocr-engine-to-recognize-scanned-pdf-and-image-files-to-editable-document-formats-37980.html

https://www.verypdf.com/wordpress/201407/how-to-use-ocr-cloud-api-to-extract-text-positions-or-coordinates-from-tiff-image-files-40806.html

VeryPDF

VN:F [1.9.20_1166]
Rating: 5.5/10 (2 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 2 votes)
How to use VeryPDF Online OCR API to Convert PDF to TXT from my .net code? Free WebOCR API and SDK for C#, VB.NET, ASP.NET, Java, C++, VB, etc. developers. Royalty Free Invoice OCR SDK, extract items from scanned TIFF, JPG, PNG and PDF invoice documents., 5.5 out of 10 based on 2 ratings

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!