转自VC错误:http://www.vcerror.com/?p=1861
问题描述:
开发环境:visual studio 2010
数据库: IBM db2 9.7 for windows
reason code 2错误信息:
SQL1159 Initialization error with DB2 .NET Data Provider, reason code 2, tokens E:\SourceCode\DB2Test\DB2Test\bin\db2app.dll, , Process Owner: XQUANT-BFAA77C8\Administrator
reason code 10错误信息:
SQL1159 Initialization error with DB2 .NET Data Provider, reason code 2, tokens 0.0.0 E:\SourceCode\DB2Test\DB2Test\bin\db2app.dll
解决方法:
具体的解决方法参考文章:http://www.vcerror.com/?p=1861