This project has moved. For the latest updates, please go here.

Cannot add part for the specified URI because it is already in the package.

Aug 22, 2012 at 6:20 AM

I got error in this line:



var chart = xlSheets.Drawings.AddChart(dataSet.DataSetName, OfficeOpenXml.Drawing.Chart.eChartType.ColumnClustered);
I am creating multiple sheets.
Any idea how to fix this?
Aug 22, 2012 at 6:40 AM

Error: Cannot add part for the specified URI because it is already in the package