Hi,
We are using 10.2.0.0 version of ASPOSE words, This is most frequently occuring after download of 20 to 30 PDFs. Below mentioned is the exception details. While i was browsing the forum i came across WORDSNET-6709 . is this the same source of issue as what i mentioned below. Please help resolve it.
I sense this as a issue in the contorol something related to memory outage.
Level : 0 System.ArgumentException: Parameter is not valid.
at System.Drawing.Bitmap..ctor(Stream stream)
at xf9a9481c3f63a419.x3cd5d648729cd9b6..ctor(Byte[] imageBytes)
at x011d489fb9df7027.x8e500baeffc6e539.set_xcc18177a965e0313(Byte[] xbcea506a33cf9111)
at Aspose.Words.DocumentBuilder.InsertImage(Byte[] imageBytes, RelativeHorizontalPosition horzPos,
Double left, RelativeVerticalPosition vertPos, Double top, Double width, Double height, WrapType wrapType)
at Aspose.Words.DocumentBuilder.InsertImage(Byte[] imageBytes)
Thanks for your inquiry. Could you please attach your input/output documents (.doc/.pdf files) along with the source code here for testing? I will investigate the issue on my side and provide you more information.
Due to some policy issues I may not be able to provide you the entire code or formats of documents. But I can provide you a detailed explanation of what we are doing. We are building a string by replacing values with placeholders for a html template , this string is used to build PDF. During this process we are getting a exception
While inserting image (logo) at header of PDF. See code snippet below.
This exception occurs only after few hours of business day, Not always .
Thanks for your inquiry. Could you please try using the latest version of Aspose.Words on your side and let us know of your findings? You can download Aspose.Words for .NET version 11.10.0 from the following link: https://releases.aspose.com/words/net
I hope, this will help.
Moreover, instead of giving us your original documents, could you please attach here any simplified documents and logo image which will allow us to reproduce the problem on our side? So you can simply remove sensitive information from your documents or replace it with dummy data.
Hi Thank you for your reply. I have attached the template along with some dummy logo.
Can you please try to replicat this. it occurs very randomly if he heavily download PDFs.
Please consider our previous discussions. Appreciate your timely responses.
Thanks,
Arun
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.