Corrupted powerpoints

Hi, I’m having 2 issues with Aspose.Slides for .NET. The first issue is when storing the data returned from our SQL Server Reporting Services with Aspose.Slides for Reporting Services Rendering extention. When saving the byte[] without using Aspose.Slides for .NET, the .pptx has no issues in Office 2003/2007/2010 but when using the .NET library the files become corrupt. See the attached screenshots.

The second issue is when merging files to a single presentation.

I’ve attached a complete Visual Studio 2013 solution which has all the needed data to reproduce these errors. We’re using the latest NuGet package (14.10) and English versions of Office 2003, 2007 and 2010 with dutch locale set. The machines all run Windows 7.
You can run the console app and check the powerpoint files in the bin/Debug/Data folder.

Hi Sebastiaan,

Thanks for your interest in Aspose.Slides.

I have worked with the sample project shared by you and have also observed the images shared. I have tried opening the generated presentations in PowerPoint 2010 on my end and there is no presentation repair message observed. Can you please share the exact PowerPoint version numbers with which you have been able to reproduce the issue.

I have also observed exception while loading Effectory Slide.pptx during merging. An issue with ID SLIDESNET-35971 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be resolved.

We are sorry for your inconvenience,

Hi, thanks for the quick reply!

I’ve attached version numbers of our powerpoint installations.
Is this enough info?

Hi Sebastiaan,

Thank you for sharing the PowerPoint versions with us. I have created an issue with ID SLIDESNET-35976 in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be resolved.

We are sorry for your inconvenience,

Hi, any news about these issues?

Hi Sebastiaan,

I have observed your requirement and like to share that the issue
SLIDESNET-35971 has been marked as resolved in upcoming version of Aspose.Slides for .NET 15.1.0, which is expected during January 2015. However, the issue SLIDESNET-35976 is still pending for investigation and resolution. We will share the update with you regarding that as soon as it will be resolved as well.

Many Thanks,

Hi, is there a place where I can follow the progress of SLIDESNET-35976?

Hi Sebastiaan,

You can follow the progress and request for updates in this forum thread concerning to your issues. You can also observe the status of the issue in the very first post of this thread where the ticket number is associated on left side of very first post. At the moment the requested issue is unresolved and we will share the feedback with you as soon as the issues will be resolved.

We are sorry for your inconvenience,


I’m experiencing the same problem with Aspose.Slides for .NET v14.10.0.0.

The generated PPTX file opens with Office Professional Plus 2010, 64 and 32-bit versions.

The same file does not open with Powerpoint 2007. When I open the file with 2010 and save it, 2007 can open it.

I tried using Open XML SDK Prod tool to study the original PPTX, and even it cannot open the file:

“Cannot open the file: Cannot load the root element from the part. The part contains invalid data.”

Hi Angelo,

I have observed the comments shared by you and request you to please share the source presentation, generated presentation and sample code used. Please also share the complete PowerPoint 2007 version with which you are able to reproduce the issue. I will add a ticket for the incurring issue in our issue tracking system for further investigation and resolution.

Many Thanks,

Wish I could share any of this info, but the source presentation, generated presentation and sample code are all proprietary Client property, and our Legal department forbids me to share.

I suppose that leaves me in the mud until someone else without these limitations has the same problem.

Suffice it to say that the source presentation was created by hand, containing 3 tables, 2 images, 2 text boxes, and 7 charts: bar (1), stacked bar (2), stacked column (2), pie (1), line (1). The stacked columns each have an extra series on secondary axis as a line. One of the stacked bar charts has an extra series with no data plot, only displaying the value.

All charts except the pie have custom labeling, ranging from inserting an up/down triangle based on statistical testing, to including a border, to including the series name and value.

The aspose_pptx.exe code opens that template and replaces data at the worksheet level, then saves a new file. The template does open in Office 2007+.

Hi Angelo,


I have observed your comments and like to share that although the nature of the issue highlighted by you and other customer in this thread is same but we cannot really say that the cause of the issue on your end and already added customer end is the same. That is why I requested for the information so that we can make sure that when the issue will be resolved it must get resolved for your scenario as well. You can create a separate thread with private access to that and can share the data there or send me data in private message as well. If this is not even possible then we can hope that when the associated ticket with this thread will get resolved, it may resolve the issue on your end as well.

Many Thanks,

Hi,


Any news about the January release? Or about the other unresolved issue?
Maybe someone can tell me a bit more about what the issue is? Or what seems to be the cause so that maybe I can create a work around… Or maybe you are having trouble reproducing the issue?
I really feel I’m left in the dark and it’s been over a month.
So can someone please update me or let me know if I can help?

Thanks!

Hi Sebastiaan,

I like to share that issue SLIDESNET-35971 has been marked as resolved in upcoming Aspose.Slides for .NET 15.1.0 which will be released tomorrow. As far as the issue the issue SLIDESNET-35976 is concerned, it is still unresolved and we will share the good news regarding that as well as soon issue will be resolved.

Many Thanks,

Hi,


Thanks for the release date of .NET 15.1.0. I’m happy to here that it will be available tomorrow.
Isn’t there any news about issue SLIDESNET-35976? If I could get some more information I could maybe try a work-around. Or tell my customer why it’s taking so long.

Thanks,
Sebastiaan

Hi Sebastiaan,


I like to share that the issue SLIDESNET-35976 is still unresolved. At the moment I am unable to share the updates with you. I will be able to share the feedback with you in this regard as soon as it will be shared by our development team.

Many Thanks,

Mudassir,

I have tried sending you the VB code (but kept getting 404 errors); also requesting how to share PPTX template with you privately to help resolve issue.

The generated PPTX file gets corrupted simply by doing this (opening/saving template without doing anything to the slide):

‘////////////////////////////////////////////////////////////////////////
’ Copyright 2001-2013 Aspose Pty Ltd. All Rights Reserved.

’ This file is part of Aspose.Slides. The source code in this file
’ is only intended as a supplement to the documentation, and is provided
’ “as is”, without warranty of any kind, either expressed or implied.
'////////////////////////////////////////////////////////////////////////

Imports Microsoft.VisualBasic
Imports System.IO
Imports System.Drawing

Imports Aspose.Slides
Imports Aspose.Slides.Charts
Imports Aspose.Slides.Export
Imports System.Collections
Imports System

Namespace ExistingChart
Public Class Program
Public Shared Sub Main(ByVal args() As String)
If args.Length <> 1 Then
System.Console.WriteLine(“Usage: EXPORT_PPTX ”)
Else
Dim fileNames As String = args(0)
Dim license As Aspose.Slides.License = New Aspose.Slides.License()
license.SetLicense(“Aspose.Slides.lic”)

Dim templDir As String = “C:/inetpub/wwwroot/ajax/pptx/template/” 'Path.GetFullPath(“template/”)
Dim pres As New Presentation(templDir & “WENDYS_TEMPLATE_Q.pptx”)
Dim sld As ISlide = pres.Slides(0)

’ Save presentation with chart
pres.Save(outputDir & fileNames & “.pptx”, SaveFormat.Pptx)
End If
End Sub
End Class
End Namespace

Hi Sebastiaan,

I request you to please visit this web link for sharing the presentation file with us. Please notify us here in this forum once you have shared the presentation. Please also share the complete PowerPoint version with which you are able to reproduce the issue of corrupted presentation. IU will investigate the issue further on my end to help you out.

Many Thanks,

The issues you have found earlier (filed as SLIDESNET-35971) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.