We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

System.NullReferenceException when openning password protected pptx file


when i open the attached pptx file (password protected "1"),

we receive the following error message. Any ideas?


- code -

string fileName = @"C:\TestPassword.pptx";

Aspose.Slides.LoadOptions opt = new Aspose.Slides.LoadOptions();
opt.Password = "1";
Aspose.Slides.Presentation doc = new Aspose.Slides.Presentation(fileName, opt);
}catch (Exception ex){

- error -
System.NullReferenceException: 개체 참조가 개체의 인스턴스로 설정되지 않았습니다.
위치: ..š„( encryptionInfo)
위치: ..—(Byte[] block, Boolean isEncryption)
위치: ..‹()
위치: ...ctor(String hashAlgorithm, XmlNode encryptionDataNode, Byte[] passwordBytes)
위치: ”.˜.„‹(MemoryStream encryptedPackage, MemoryStream encryptionInfo, String password)
위치: ”.˜.ƒ‹(Stream packageStream, String password)
위치: Aspose.Slides.Presentation.‚›(Stream stream)
위치: Aspose.Slides.Presentation.(Stream seekableStream)
위치: Aspose.Slides.Presentation.Ÿ(Stream stream)
위치: Aspose.Slides.Presentation..ctor(String file, LoadOptions loadOptions)
위치: Program.Main(String[] args) 파일 D:\Visual Studio 2008\Projects\Test_Aspose\Test_Aspose\Program.cs:줄 20
개체 참조가 개체의 인스턴스로 설정되지 않았습니다.

Hi Hyunwoo,

I have worked with the presentation file shared by you and have been able to observe the issue specified. An issue with ID SLIDESNET-36225 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the presentation so that you may be automatically notified once the issue will be resolved.

We are sorry for your inconvenience,

this attatched file from ms office 2013

Hi Hyunwoo,

Thank you for sharing the additional piece of information. We will share the feedback with you as soon as it will be shared by our development team.

Many Thanks,

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

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