Hi,
We’ve created an Excel spreadsheet using the one of the Excel Templates provided with Excel. I’ve tried converting this to HTML and PDF but the conversion process is throwing an exception.
We’re using v18.2 of GroupDocs.Conversion. I’ve attached the spreadsheet we’re using for our tests.test trend budget.zip (18.0 KB)
{“Index was out of range. Must be non-negative and less than the size of the collection.\r\nParameter name: startIndex”}
This is the stack trace;
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.BitConverter.ToInt16(Byte[] value, Int32 startIndex)
at . (Byte[] , Int32 , Boolean& )
at . (Border , Byte[] , Int32 )
at . ( )
at . ( )
at . (MemoryStream )
at . ( )
at . ( )
at Aspose.Cells.Workbook. (Stream , LoadOptions , Boolean )
at . (LoadOptions )
at . (FileDescription , Stream , LoadOptions , SaveOptions )
at . (Stream , LoadOptions , SaveOptions )
at GroupDocs.Conversion.Handler.ConversionHandler.Convert(Stream fileStream, SaveOptions saveOptions)
at ConvertFileTest.Program.Main(String[] args) in C:\Visual Studio 2015 Projects\Architecture\Prototypes\DoCCS.Converter\ConvertFileTest\Program.cs:line 38
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()