Create a new package based on a template.
Delete one of the sheets.
Save and try to open the file in Excel.
The error is "Excel found unreadable content in <filename>. Do you want to recover the contents of this workbook?"
Here is the log file of the repairs:
```
<?xml version="1.0" encoding="UTF-8" standalone="true"?>
-<recoveryLog xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">
<logFileName>error135640_09.xml</logFileName>
<summary>Errors were detected in file ''</summary>
-<removedRecords summary="Following is a list of removed records:">
<removedRecord>Removed Records: View from /xl/workbook.xml part (Workbook)</removedRecord>
</removedRecords>
</recoveryLog>
```
I suspect I know what causes it: even though the sheets are deleted, if you look at the workbook's View.SchemaNodeOrder, the deleted ones are still present.
Possibly same error as here https://epplus.codeplex.com/workitem/14516
Delete one of the sheets.
Save and try to open the file in Excel.
The error is "Excel found unreadable content in <filename>. Do you want to recover the contents of this workbook?"
Here is the log file of the repairs:
```
<?xml version="1.0" encoding="UTF-8" standalone="true"?>
-<recoveryLog xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">
<logFileName>error135640_09.xml</logFileName>
<summary>Errors were detected in file ''</summary>
-<removedRecords summary="Following is a list of removed records:">
<removedRecord>Removed Records: View from /xl/workbook.xml part (Workbook)</removedRecord>
</removedRecords>
</recoveryLog>
```
I suspect I know what causes it: even though the sheets are deleted, if you look at the workbook's View.SchemaNodeOrder, the deleted ones are still present.
Possibly same error as here https://epplus.codeplex.com/workitem/14516