I am using DynamicPDF Convertor to convert different types of files to PDF and edit them (add text labels and signatures). I'm encountering a problem where with a certain PDF file, the OpenImportBuffer methods returns an error code, and the error message supplied is "Buffer length is shorter than expected!". I made sure that the function call is getting the right buffer (approx. 22.5 kb in length) and that the file is not encrypted. Can you please help me resolve this? a quick response will be appreciated as this is a production environment problem.
Thank you very much.
Error when using OpenImportBuffer
Re: Error when using OpenImportBuffer
Support · Sep 12, 2011Hello,
Can you please send over the below details to our support team at: [^a|mailto:support@cete.com|opennewiwndow|support@cete.com^] so that they can look into it further?
1. Exact version and name of the operating system(whether it is x86 or x64).
2. Sample code which you are using to convert and add new contents to the PDF document.
3. Full stack trace of error message which you are getting.
4. Input file for which you are getting this error.
Thanks,
ceTe Software Support Team.
Re: Error when using OpenImportBuffer
Support · Sep 12, 2011Hello,
If you are using our product DynamicPDF Converter for .NET then we do support this DynamicPDF Converter product. Converter has the ability to convert a file to PDF and it does not have the ability to create a PDF from code or manipulate the existing PDF file. If you are able to open the PDF file (in a PDF reader like Adobe Reader) that is generated by the Converter then there is not issue with the conversion process. In case you are unable to open the PDF file that is generated by the Converter then please send us the source document that you have converted to PDF so we can test the conversion.
The method OpenImportBuffer you are referring is not a part of our API and you seem to be using some other product which is not manufactured or supported by our company, please contact their customer support regarding this error message.
Thanks,
ceTe Software Support Team.
Re: Error when using OpenImportBuffer
Forum member · Sep 12, 2011The error originates from a different software product with a similar name, used in conjunction with DynamicPDF converter. Sorry for the mix-up, thread is irrelevant and can be dropped.