Hi,
Thank for you help on this. We were using Aspose Slide 15.4.0.0 and I downloaded 15.5.0.0 from your website. Sadly, we are stilling getting the same error (below). The code for extraction of the content that throws the error is also pasted below. We also use Aspose for extracting images from pptx file. That process also throws the same exact exception.
Hi,
Thank you for your help and response. Please find the pptx in question at the link below:
http://54.164.20.162/sample.pptx
Thanks again
Hi,
Thank you for sharing the sample presentation with us. I have worked with the presentation file shared and have tested that using sample code shared by you and Aspose.Slides for .NET 15.5.0. I have not been able to reproduce the issue on my end in several iterations and there is no exception thrown. For your kind reference, I have also attached the generated output as well.
Many Thanks,
Thanks for trying. However, we (a paying customer) are getting Aspose internal exceptions. As you saw, the code was copied from your website so we are not doing anything out of the ordinary other than wrapping it in a try/catch statement.
Hi,
I like to share that both I and our product team has used the attached sample code with your presentation and issue is not reproduced on our end. We are unable to share the reason of the issue unless we are able to reproduce that on our end. Please share the complete working sample visual studio project with which you are able to reproduce the issue. Please also share the environment details on your end as well along with .NET version. I have tested in Windows 7 x64 with 8 GB Ram and Visual Studio 2010.
Many Thanks,
Thank you for your help on this. I’ll be more than glad to share the project with you. I don’t want to post it online. Is there an email address that I can send the zip file?
Thanks so much again.
Hi,
You can please share the sample project with us by following these guidelines. Please notify us here once you have shared the project. Please also share all the requested information with us as well that I have made in my previous post.
Many Thanks,
Hi,
I have received the sample project from you and have observed that you are creating the Windows Service in your application. Can you please share the steps that I may use on my end to use the sample project and reproduce the issue. I have installed the service and started that. I have attached the image of log when services is started.
Many Thanks,
Hi, Aspose. I faced the same issue while i was trying to crop shape’s thumbnail to get shape’s position. As i need also to get portion position regular aspose methods like GetRectangle() doesn’t fit. I added sample project with a sample file to this message.
I have tried observing your requirements and have not been able to completely understand them. Can you please elaborate them in the form of source files, generated file and desired output file. Moreover, I suggest you to please try using Aspose.Slides for .NET 19.4 on your end first as well.
I am unable to find any project attached with your message as well.
Hi Mudassir, sorry for the delay. I just created another sample project and added it to my dropbox so you could download it. In this sample project you can find the source file and the solution file with this issue reproducible. https://www.dropbox.com/s/pfqj5vd4tpnj80x/ParameterIsNotValid.zip?dl=0
I have worked with sample project shared by you and tried using that on my end. The exception that you have shared is thrown on line 152. Actually, your code is saving file with extension .emf in the end. Whereas on following line you are trying to access a .PNG file.
using (var bitmap = new Bitmap(Path.GetFullPath(shape)))
I suggest you to please try using following code on your end.
using (var bitmap = new Bitmap(Path.GetFullPath(shape+ext)))
Please also check the following images for your kind reference as well.