问题描述
我收到上述错误消息.我已经进行了足够的研究并尝试了各种选择,但仍然没有运气.
I am getting the above mentioned error message. I have made enough research and tried out various options but still no luck.
以下是详细信息:
OS: Windows 7 64 bit version
Visual studio version: 2013 Premium
.NET framework version is : 4.0.30319
ASP.NET version: 4.0.30319.34249
IIS version: 7.0
DB2 installed path: C:Program Files (x86)IBM
DLL path: C:Program Files (x86)IBMSQLLIBBIN
etf40IBM.DB2.dll
DLL Version: 9.7.4.4
我还将我的解决方案配置管理器平台更改为任何 CPU,并且我通过将属性 enable 32-bit application 设置为 True 更改了应用程序池中的设置>.
I have also changed my solution configuration manager platform to Any CPU and also I have changed the settings in the application pool by setting the property enable 32-bit application to True.
但仍然遇到同样的错误.还有其他解决方法吗?
But still am getting the same error. Is there any other workaround?
请帮助我提出您的建议.
Please help me with your suggestions.
推荐答案
这几天遇到这个问题,按照这个 IBM 文档说,就是去项目中的引用,将 DB2 dll 的复制本地"设置为 false,直接引用来自DB2 客户端设置
This problem happened me these days and it was solved following what this IBM document says, that is to go to the reference in the project and set "Copy local" to false for DB2 dlls, referencing diretly the ones from the DB2 client setup
这篇关于IBM DB2 问题--System.BadImageFormatException:无法加载文件或程序集 IBM.DB2.DLL 或其依赖项之一的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!


大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)