Free Support Forum - aspose.com

Corupted ppt file after re-saving

Hello aspose team,

I have one presentation file and it gets corrupted after re-saving. I send you a simple test code and ppt file.

import java.io.FileInputStream;
import java.io.InputStream;

import org.junit.Test;

import com.aspose.slides.Presentation;

public class InstanceTest {

@Test
public void test() throws Exception{

String path = “d:/traduction Reporting_Social_VGB_2007_210311_v4.ppt”;

InputStream testStream = new FileInputStream(path);

Presentation presentation = new Presentation(testStream);

presentation.write(“d:/Download/111/ppt/traduction Reporting.ppt”);

}
}

Please check this issue.

Thanks
Branko

Hi Branko,

Thanks for your interest in Aspose.Slides.

I have successfully generated the PPT file by using shared code by you. Please us the latest version of Aspose.Slides for Java 2.5.0. You can find the generated PPT file in attachment.


Thank you for checking,

but I still have a problem with this file. I am also using newest aspose slide version 2.5.0.

I try to open generated file that you send me and again I have a message that file is need to be repaired, same case as before.(when repaired file is impossible to edit)

I am using MS office 2010, maybe it is a problem of office version?



Hi Branko,

Please share your office 2010 version with us. Is this version for 32 bit or 64 bit operating system?

MsOffice is of version of 14.0.5128.5000 (32-bit)

My windows is also 32-bit operating system.

Hi Branko,

Please share the screen shot of warning message which you are experiencing while opening PPT file.