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

Error open workbook of a route

Thread ID:

Created:

Updated:

Platform:

Replies:

124894 Jul 6,2016 10:30 PM UTC Jul 8,2016 11:15 AM UTC ASP.NET Web Forms 3
loading
Tags: XlsIO
Roimer Machacón Otero
Asked On July 6, 2016 10:30 PM UTC

Hi we're using XlsIO and we have this error when trying of open a file in a route with this code:

string ruta2 = HttpContext.Current.Server.MapPath("~\\Reportes\\Masters\\MasterIncidenciaEnfermedades2.xlsx");
ExcelEngine engine = new ExcelEngine();
IWorkbook libro = engine.Excel.Workbooks.Open(ruta2);
IWorksheet hoja = engine.Excel.Worksheets[0];

When open the route appear this error: "Ya existe una entrada con la misma clave."

Kesavan D [Syncfusion]
Replied On July 7, 2016 07:34 AM UTC

Hi Roimer, 

Thanks for contacting Syncfusion support. 

We tried all possible scenarios to recreate the stated exception “Ya existe una entrada con la misma clave.”(English translation: There is already an entry with the same key) in our end but we were not able to reproduce the exception. We kindly request you share the input document upon which you faced the mentioned exception. 

Regards, 
Kesavan 


Roimer Machacón Otero
Replied On July 7, 2016 04:51 PM UTC

Hi, the problem occurr with the file attached to this forum (FileError.xlsx).

We thought it may be because it has a graphic that need create starting of information that put in the table in the sheet1 "Informacion".

We are needing that the graphic appear how the example attached too to this forum (Example.xlsx)

Attachment: Desktop_31b9725c.zip

Abirami Varadharajan [Syncfusion]
Replied On July 8, 2016 11:15 AM UTC

Hi Roimer  
  
We are able to reproduce the issue with Argument Exception thrown while opening Excel file. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates.  
  
  
Please let us know if you have any concerns.  
  
Regards,   
Abirami.  


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

;