我有一个ASP.NET MVC3应用程序,我想在其中导入excel文件。
我使用linq-to-excel库设法做到了这一点。但是当我在IIS上部署应用程序时,我得到了一个错误,原来是由于IIS在64位系统上运行而导致的。
这可以通过在IIS中为池启用32-bits applications选项来解决。
这会影响应用程序的性能吗?如果是,是否有其他linq-to-excel的替代方案可以在64位上运行。
发布于 2013-04-01 18:02:40
https://code.google.com/p/linqtoexcel/wiki/UsingLinqToExcel
x64 Support
如果希望LinqToExcel在64位应用程序中运行,请确保使用64位版本的库。
计算机上安装的Access数据库引擎的You will also need to make sure to have the 64 bit version。
并确保将DatabaseEngine属性手动设置为DatabaseEngine.Ace
var excel = new ExcelQueryFactory("excelFileName");
excel.DatabaseEngine = DatabaseEngine.Ace;https://stackoverflow.com/questions/15741303
复制相似问题