Loading presentation fails when referenced spreadsheet is not reachable

Hi GemBox Team,

loading a PowerPoint file with a diagram whose data basis is a spreadsheet seems to fail, when the referenced spreadsheet cannot be found.

This is the exception:

 System.ArgumentException: Row or column index is invalid or out of required range.
   at GemBox.Spreadsheet.CellRange.(Int32 , Int32)
   at GemBox.Spreadsheet.CellRange.get_Item(Int32 relativeRow, Int32 relativeColumn)
   at GemBox.Spreadsheet.CellRange.get_Item(Int32 contextIndex)
   at .(CellRange ,`1)
   at GemBox.Spreadsheet.Charts.ChartHelper.PopulateExcelFileWithChartData( cachedData, ExcelFile file)
   at GemBox.Spreadsheet.Charts.ChartHelper.GenerateFileFromChartCachedDataCore( cachedData, ExcelChart chart, Boolean forInvalidReferencesOnly, Func`2 themeColorResolver)
 cachedData, ExcelChart chart, Boolean forInvalidReferencesOnly, Func`2 themeColorResolver)
   at GemBox.Spreadsheet.Charts.ChartHelper. )
   at.( , Action`1)
   at.(Stream , Action`1)
   at GemBox.Spreadsheet.Charts.ChartHelper.ReadChartCore(Stream stream, Boolean preserveUnsupportedFeatures, ICollection`1 relationshipIds, Func`2 getPictureContent, Boolean generateFileFromChart, Func`2 themeColorResolver)
   at GemBox.Spreadsheet.Charts.ChartHelper.ReadChart(ValueTuple`6 arg)
   at .(Stream , Boolean, ICollection`1 , Func`2 , Boolean , Func`2 , Object& , Object& )
   at .(GraphicFrame )
   at .⸮
t GemBox.Presentation.PptxLoadOptions.2avatad2rqgmrafexv9mnuesdacaxjhrresentationDocument , Stream, String )

When I open it in PowerPoint itself, I cannot edit the data either, but the diagram is visible:

Can I somehow handle it and load the file anyway just with the diagram data it shows? Or if this is not possible just load the other contents of the file without the diagrams based on external files?

Best regards,
Sarah

Hi Sarah,

Please send us your PPTX file so we can reproduce the issue and investigate it.

Regards,
Mario

Hi Mario,

I sent it to you via mail.

Hi Sarah,

Please try again with this NuGet package:

Install-Package GemBox.Spreadsheet -Version 2025.6.129

Note that this is a hidden (unlisted) version. To install it, you’ll need to run the above command on the NuGet Package Manager Console (Tools → NuGet Package Manager → Package Manager Console).

Does this solve your issue?

Regards,
Mario

Hi Mario,

thank you for the fix.

Just a question about the package availability: I am using Gembox.Bundle and at the moment I cannot update to the version containing GemBox.Spreadsheet in version 2025.6.129, because it seems that GemBox.Email in version 2025.6.106 cannot be loaded. Is that a problem with my connection to the package feed? Or is this package not available yet?

Regards,
Sarah

Hi Sarah,

I’m not sure what problem you encountered. I’m unable to reproduce it.

Nevertheless, can you please try using the latest GemBox.Bundle package:

Install-Package GemBox.Bundle -Version 2025.6.146

I hope this helps.

Regards,
Mario

Hi Mario,

when I try to update the package in my IDE to version 2025.6.146 I get the following error:

Install failed (project: ProjectName, package: GemBox.Bundle v2025.6.146)
Package restore failed. Rolling back package changes for 'ProjectName'.
Unable to find package GemBox. Email with version (>= 2025.6.106)
- Found 559 version(s) in nuget. org [ Nearest version: 2025.6.105 ]

When I try to access the package GemBox.Email in the referenced version directly via Nuget (https://nuget.info/packages/GemBox.Email/2025.6.106) I receive the following warning:

The specified version 2025.6.106 was not found. You have been taken to version 2025.6.105.

Is the package not visible yet?

Regards,
Sarah