Click here to Skip to main content
15,902,189 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
when i generate a excel file using CarlosAg.ExcelXmlWriter tool. After generating the file without error in asp.net.

Then I try open the excel file the Microsoft Excel popup error like

The file format and extension of report.xls don't match. The file could be corrupted or unsafe. Unless you trust its source,don't open it. Do you want to open it anyway?


I don't know what to do.Please help me to solve this

What I have tried:

Am trying to generate the excel file with CarlosAg.ExcelXmlWriter tool.
Posted
Updated 28-Nov-17 1:09am

1 solution

Talk to the people who created it: CarlosAg Excel Xml Writer Library[^] - they should provide technical support and will know more about their product than we will. If they don't, then find another XLS / XLSX file writer - there are enough of them about that there is no point in sticking with a unsupported library!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900