How to resolve this export Issue

Posted by Jayakumars under ASP.NET AJAX on 1/20/2017 | Points: 10 | Views : 343 | Status : [Member] [MVP] | Replies : 2
Hi

when i export excel using C# code
i meet this issue when i exported excel file open . How to Resolve it


This is error

Excel completed file level validation and repair. Some parts of this workbook may have been repaired or discarded.

Mark as Answer if its helpful to you


Responses

Posted by: Mridul89koul on: 1/20/2017 [Member] Starter | Points: 25

Up
0
Down
Hey i found a link for you but don't know if it will help you or not

https://www.mrexcel.com/forum/excel-questions/508275-excel-completed-file-level-validation-repair.html

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: A2H on: 1/20/2017 [Member] [MVP] Silver | Points: 25

Up
0
Down
From the error message it seems like the excel file which you created is corrupted. You might consider using some of the open source tools like
EPPlus

http://epplus.codeplex.com/
Closed XML

https://github.com/closedxml/closedxml
to create the file. The have some easy options to create excel files

Thanks,
A2H
My Blog

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response