当我尝试打开excel文件时,文件已损坏将出错 [英] When I try to opening a excel file there will be a error the file is corrupted

查看:290
本文介绍了当我尝试打开excel文件时,文件已损坏将出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



当我使用CarlosAg.ExcelXmlWriter工具生成excel文件时。在asp.net中生成文件后没有错误。



然后我尝试打开excel文件Microsoft Excel弹出错误,如



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?





我不知道该怎么办。请帮我解决这个问题



我尝试过:



我试图用CarlosAg生成excel文件。 ExcelXmlWriter工具。



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.

推荐答案

与创建它的人交谈: CarlosAg Excel Xml Writer Library [ ^ ] - 他们应该提供技术支持,并将比我们更了解他们的产品。如果他们不这样做,那么找到另一个XLS / XLSX文件编写器 - 有足够的关于没有必要坚持使用不受支持的库!
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!


这篇关于当我尝试打开excel文件时,文件已损坏将出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆