groupdocs-viewer / GroupDocs.Viewer-for-.NET-WebForms

Moved to https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-.NET/tree/master/Demos/WebForms
https://products.groupdocs.com/viewer/net
MIT License
6 stars 0 forks source link

An exception raises while processing PPTX presentation #38

Closed aleksandarvidakovicaspose closed 5 years ago

aleksandarvidakovicaspose commented 5 years ago

Hi,

Please notice that an exception raises while opening the presentation (test.pptx). Since the presentation contains a customer's confidential data, it has been zipped with a password. Please keep in mind that as soon as the issue is assigned to someone, I will send the password. The file can be download using the following link, https://drive.google.com/open?id=1dTa-5t_Kq8bKsVegKwYxvKggnTgASSux

The screenshot of the exception is attached below. exception

Best Regards.

Pavel-Teplitsky commented 5 years ago

@aleksandarvidakovicaspose Thank you for the request. Please share the password, you can send it to my email pavel.teplitsky@aspose.com

Thank you.

Pavel-Teplitsky commented 5 years ago

@aleksandarvidakovicaspose I checked the issue and was able to view document successfully in both modes (HTML and Image), screenshots files shared with you via email. Please make sure that you use latest version of the example. Also could you please share configuration properties from your configuration.yml file.

aleksandarvidakovicaspose commented 5 years ago

Hi @Pavel-Teplitsky, Please find the configuration.yml(just remove .zip extension) in the attachment. configuration.yml.zip Also, just for the sake of clarity, the sample project used at my side is shared. GroupDocs.Viewer-for-.NET-WebForms.zip Best Regards.

Pavel-Teplitsky commented 5 years ago

Hi @aleksandarvidakovicaspose Thank you for sharing sources. I will check them and return to you.

Best regards.

Pavel-Teplitsky commented 5 years ago

Hi @aleksandarvidakovicaspose I have investigated the issue using your configuration properties and found out that the exception thrown if to set "preloadPageCount" property. If to set mentioned property GroupDocs.Viewer product (not the example it self) fails to load document pages. I have created a bug ticket for GroupDocs.Viewer product team with highest priority, when they will fix the issue I will notify you here.

Best regards

Pavel-Teplitsky commented 5 years ago

Although we still investigating the root cause of this issue we found following workaround:

Switch IIS to 64-bit mode. In the Visual studio navigate to Tools -> Options -> Project and Solutions -> Web Projects and check "Use 64 bit version of IIS Express for web sites and projects" option.

Let us know if it works for you.

aleksandarvidakovicaspose commented 5 years ago

Hi @Pavel-Teplitsky, Thanks for sharing additional insight. It seems that IIS Express worked in 32-bit mode which prevented allocating of RAM more than 2GB. Best Regards.

Pavel-Teplitsky commented 5 years ago

@aleksandarvidakovicaspose Thank you for this information. Can I close this issue?