Free Support Forum - aspose.com

Aspose Pdf Empty Value Exception Error

Hi,

We got this error one time on the system. We did not get any more afterwards. Why would it cause such an error? What would you suggest if we get the same error again? Thanks.

QDMS_rapor_hata.JPG (61.6 KB)

@srmbimser

Thanks for your inquiry.

Would you please provide a bit more details about the scenario, like which Aspose API are you using? Also, please share the sample code snippet along with your environment details e.g OS name and version, API Version, etc. We will check details accordingly and share our feedback with you.

The api we are using is Aspose PDF , and the version is “file version 11.4.0.0”. The sample code is this : “pdfdoc.Save(su.MapPath(”…/…/QDMSFiles/TEMPFOL/") + tempFileName.Substring(0, tempFileName.LastIndexOf(’.’)) + “_.pdf”);".Edition of the Windows is Sql Server 2012 R2. System type is 64 bit
Operating system x64 based processor. Thanks.

@srmbimser

Thanks for sharing further details.

I am afraid that you are using quite old version of the API whereas, it is always recommended to use latest version. We request you to please use Aspose.PDF for .NET 18.7 and in case this issue happens again, please share Exception message with Stack Trace in text format. We will check it in our environment and provide our feedback.