Free Support Forum - aspose.com

Opening password protected MPP error

Hi,

We are getting an OverflowException when opening a password protected MPP with the password. The error message is “Array dimensions exceeded supported range.”.

The condensed code is as follows:

var stream = new FileStream(item.FilePath, FileMode.Open, FileAccess.Read);
var password = @“password”
var loadOptions = new LoadOptions {Password = password};
var project = new Project(stream, loadOptions);

I have also attached a sample file.

I look forward to hearing from you.

Example Password MPP.zip (252.3 KB)

@lawgb686

I have added an issue with ID TASKSNET-4611 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 notified once the issue will be fixed.