大家好,
为了将数据按excel导出,我在程序中引了Microsoft Office Web components 11.0 (C:\Program Files\Common Files\Microsoft Shared\Web Components\11\OWC11.DLL).
测试时没有问题.但是当我将网站发布到服务器上以后,就出现了该错误:
Could not load file or assembly 'Microsoft.Office.Interop.Owc11, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.在服务器上我已经安装了Office,在相应文件夹下也找到了OWC11.DLL文件.是不是两个文件版本不一样造成的啊?兄弟们帮忙看下,谢谢!!