【发布时间】:2012-02-07 18:46:46
【问题描述】:
我正在使用 Excel Interop 更改 excel 单元格。
我尝试了许多开源解决方案,但文件在读取时损坏。因此,我坚持使用 Excel Interop。
在服务器上开发的时候遇到了这个问题:
Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
因此,我想在我的服务器上安装 Office 互操作:http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=18346
但是,当我安装它时,我遇到了这个问题:
“请在安装此产品之前安装 Microsoft Office 2007”
我的问题是:是否可以在服务器上安装没有 office 2007 的互操作?
提前致谢。
【问题讨论】: