我在服务器上处理Excel,当我尝试使用Microsoft.Office.Interop.Excel打开我的Excel文件时,出现此错误:
Exception de HRESULT:0x800A03EC
我检查了对我文件的访问权限,我的IIS帐户对此有完全控制权。这是我的代码:
var excelApp = new Excel.Application();
Excel.Workbook workbook = excelApp.Workbooks.Open(
Filepath,
Type.Missing, Type.Missing, Type.Missing,
Type.Missing, Type.Missing, Type.Missing,
Type.Missing, Type.Missing, Type.Missing,
Type.Missing, Type.Missing, Type.Missing,
Type.Missing,
true
);
由于