Error when trying to open file

Jan 5, 2015 at 1:14 PM
Edited Jan 5, 2015 at 1:17 PM
Error Info

System.IndexOutOfRangeException не обработано
Message=Индекс находился вне границ mассива.
Source=ClosedXML
StackTrace:
   в ClosedXML.Excel.XLWorkbook.ParseReference(String item, String& sheetName, String& sheetArea) в C:\Users\Kozlov_ag\Desktop\ClosedXml\ClosedXML_v0.76.0.0_.net3.5\ClosedXML\ClosedXML\ClosedXML\Excel\XLWorkbook_Load.cs:строка 792
   в ClosedXML.Excel.XLWorkbook.LoadDefinedNames(Workbook workbook) в C:\Users\Kozlov_ag\Desktop\ClosedXml\ClosedXML_v0.76.0.0_.net3.5\ClosedXML\ClosedXML\ClosedXML\Excel\XLWorkbook_Load.cs:строка 716
   в ClosedXML.Excel.XLWorkbook.LoadSpreadsheetDocument(SpreadsheetDocument dSpreadsheet) в C:\Users\Kozlov_ag\Desktop\ClosedXml\ClosedXML_v0.76.0.0_.net3.5\ClosedXML\ClosedXML\ClosedXML\Excel\XLWorkbook_Load.cs:строка 385
   в ClosedXML.Excel.XLWorkbook.LoadSheets(String fileName) в C:\Users\Kozlov_ag\Desktop\ClosedXml\ClosedXML_v0.76.0.0_.net3.5\ClosedXML\ClosedXML\ClosedXML\Excel\XLWorkbook_Load.cs:строка 48
   в ClosedXML.Excel.XLWorkbook.Load(String file) в C:\Users\Kozlov_ag\Desktop\ClosedXml\ClosedXML_v0.76.0.0_.net3.5\ClosedXML\ClosedXML\ClosedXML\Excel\XLWorkbook_Load.cs:строка 37
   в ClosedXML.Excel.XLWorkbook..ctor(String file, XLEventTracking eventTracking) в C:\Users\Kozlov_ag\Desktop\ClosedXml\ClosedXML_v0.76.0.0_.net3.5\ClosedXML\ClosedXML\ClosedXML\Excel\XLWorkbook.cs:строка 651
   в ClosedXML.Excel.XLWorkbook..ctor(String file) в C:\Users\Kozlov_ag\Desktop\ClosedXml\ClosedXML_v0.76.0.0_.net3.5\ClosedXML\ClosedXML\ClosedXML\Excel\XLWorkbook.cs:строка 639
   в ClosedXml3._5.GenerateXlsxReport.Generate(String IputFile) в D:\Projects\ClosedXml3.5\ClosedXml3.5\Form1.cs:строка 50
   в ClosedXml3._5.Form1.button1_Click(Object sender, EventArgs e) в D:\Projects\ClosedXml3.5\ClosedXml3.5\Form1.cs:строка 28
   в System.Windows.Forms.Control.OnClick(EventArgs e)
   в System.Windows.Forms.Button.OnClick(EventArgs e)
   в System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   в System.Windows.Forms.Control.WndProc(Message& m)
   в System.Windows.Forms.ButtonBase.WndProc(Message& m)
   в System.Windows.Forms.Button.WndProc(Message& m)
   в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   в System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   в System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   в System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
   в System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   в System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   в System.Windows.Forms.Application.Run(Form mainForm)
   в ClosedXml3._5.Program.Main() в D:\Projects\ClosedXml3.5\ClosedXml3.5\Program.cs:строка 18
   в System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
   в System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
   в Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   в System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   в System.Threading.ThreadHelper.ThreadStart()
InnerException:

If Worksheet name contains "," and print area then library create error.
library: ClosedXML_v0.76.0.0 for .net3.5

if need xslx file, i can send into email

Sorry for my English