[ERROR] (0x800A03EC): 不能读取文件

在服务程序中调用Excel操作Excel文件出错

事件类型: 错误
事件来源: Report Service MMS
事件种类: 无
事件 ID: 110
日期:  2006-9-7
事件:  11:21:35
用户:  N/A
计算机: NMC19
描述:
使用Excel组件打开Excel式的Report时出错
System.Runtime.InteropServices.COMException (0x800A03EC): 不能读取文件。
   at Microsoft.Office.Interop.Excel.Workbooks.Open(String Filename, Object UpdateLinks, Object ReadOnly, Object Format, Object Password, Object WriteResPassword, Object IgnoreReadOnlyRecommended, Object Origin, Object Delimiter, Object Editable, Object Notify, Object Converter, Object AddToMru, Object Local, Object CorruptLoad)
   at ReportMmsParseService.ReportListener.Transace(String fileName, String receivers, String m_smsLogFilePath, String m_smsChannel, String m_subject, String maxRow, String maxColumn)

有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。




请查明原因!

1.可以肯定一点,就是这个excel文件有问题,正常用excel打开时会有一个警告!

原文地址:https://www.cnblogs.com/xuzhong/p/497392.html