We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Too long object name

Aspose.pdf.kit is throwing an exception when I hit this line in my code:
PdfFileInfo fileInfo = new PdfFileInfo(inFile); addStamp

The code usually works. but in this instance the value of inFile is:
"C:\Extranet\Corpus\test_AllDocuments_\2\3\239Q67RH44IK5AQTMP0GTMR317.pdf"

The full exception code is:
System.ArgumentException: Too long object name!

I’ve attached it the problematic pdf

Hi,

I have tested the issue at our end and found that there is some thing specific to this particular file which is causing the problem; this issue is not with any other file. We're investigating the issue at our end and will let you know about the resolution.

We appreciate your patience.

Regards,

Any status update on this?

Hi,

Yes, the issue has been resolved, please download the attachment at this post (in my latest reply) and try it.

Thanks,