我正在使用Excel Interop更改Excel單元格。安裝在服務器上沒有Office的Office Interops
我已經嘗試過許多開源解決方案,但是在閱讀時文件已損壞。因此,我堅持使用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」
我的問題是:這將會是p可以在服務器上安裝沒有office 2007的interop嗎?
在此先感謝。
感謝您的明確答案! – 2014-11-20 11:28:03