Dear all,,,
Hope you're fine and doing well.
I'm having an issue while trying spire.Office in order to create XLS files.
Firs thing as following:
When I exceed the column range AA spire rises an error as following:
System.ArgumentOutOfRangeException was unhandled by user code
HResult=-2146233086
Message=StartIndex cannot be less than zero.
Parameter name: startIndex
ParamName=startIndex
Source=mscorlib
StackTrace:
at System.String.Substring(Int32 startIndex, Int32 length)
at spr1140.0(String A_0, Int32& A_1, Int32& A_2)
at spr1140.1(String A_0)
at spr1140.0(String A_0, IWorkbook A_1, Int32& A_2, Int32& A_3, Int32& A_4, Int32& A_5)
at Spire.Xls.Core.Spreadsheet.XlsRange.get_Item(String name, Boolean IsR1C1Notation)
at Spire.Xls.Core.Spreadsheet.XlsRange.get_Item(String name)
at Spire.Xls.CellRange.get_Item(String name)
at BHFuture.Core.Providers.SpaceOutProvider.ExportTemplate(String Folder) in \\Mac\Home\Desktop\EleanorPC\Projects\Doom\Source\Release201501171100\ProjectPCPFuture\BHFuture.Core\Providers\SpaceOutProvider.cs:line 703
at BHFuture.Core.Tests.SpaceOutTest.RunTest() in \\Mac\Home\Desktop\EleanorPC\Projects\Doom\Source\Release201501171100\ProjectPCPFuture\BHFuture.Core\Tests\SpaceOutTest.cs:line 152
at BHFuture.Core.Tests.TestEngine.RunTest() in \\Mac\Home\Desktop\EleanorPC\Projects\Doom\Source\Release201501171100\ProjectPCPFuture\BHFuture.Core\Tests\TestEngine.cs:line 42
at BHFuture.MainWindow..ctor() in \\Mac\Home\Desktop\EleanorPC\Projects\Doom\Source\Release201501171100\ProjectPCPFuture\BHFuture\MainWindow.xaml.cs:line 34
Is this due to the limitation of the using it without a license?
Second thing:
I requested a license for Spire.Office for .Net but then I released I'm using it for WPF does this issue matters when using the 1 month evolution license ?
Regards & thanks for this great product.