导入Excel在本地环境没有问题,但部署到服务器上后出现异常。
经排查,是系统问题,因为本地是32位系统,而服务器上则是64位系统。
解决方法:
1、打开IIS管理器
2、右击应用程序所在的连接池
3、修改“启用32为应用程序”为true
感谢:http://www.cnblogs.com/dwfbenben/archive/2011/12/13/2286058.html
关于 The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. 异常处理
时间: 2024-07-28 22:53:23