We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Exception while opening Excel workbook

Thread ID:

Created:

Platform:

Replies:

106185 Dec 14,2012 11:58 AM UTC General Discussion 0
loading
Tags: General Discussion
harishchepuri
Asked On December 14, 2012 11:58 AM UTC

Hi,
while opening the excel from the code 
application.Workbooks.OpenReadOnly
we got the below message
Message : ErrorMessage :Specified argument was out of the range of valid values.
Parameter name: firstRow or lastRow
StackTrace :   at Syncfusion.XlsIO.Implementation.RangeImpl..ctor(IApplication application, Object parent, Int32 firstCol, Int32 firstRow, Int32 lastCol, Int32 lastRow)
   at Syncfusion.XlsIO.Implementation.ApplicationImpl.CreateRange(Object parent, Int32 firstCol, Int32 firstRow, Int32 lastCol, Int32 lastRow)
   at Syncfusion.XlsIO.Implementation.RangeImpl.get_Item(Int32 row, Int32 column, Int32 lastRow, Int32 lastColumn)
   at Syncfusion.XlsIO.Implementation.HyperLinkImpl.get_Range()
   at Syncfusion.XlsIO.Implementation.HyperLinkImpl.get_TextToDisplay()
   at Syncfusion.XlsIO.Implementation.XmlReaders.Excel2007Parser.ParseHyperlink(XmlReader reader, WorksheetImpl sheet, HyperLinksCollection hyperlinks, RelationCollection relations)
   at Syncfusion.XlsIO.Implementation.XmlReaders.Excel2007Parser.ParseHyperlinks(XmlReader reader, WorksheetImpl sheet)
   at Syncfusion.XlsIO.Implementation.XmlReaders.Excel2007Parser.ParseAfterSheetData(XmlReader reader, WorksheetImpl sheet, MemoryStream& streamCF, String strParentPath, Dictionary`2 dictItemsToRemove)

Regards,
Harish Chepuri

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;