SQL1159 DB2 .NET数据提供程序的初始化错误,原因码10,标记0.0.0,8.1.18

时间:2017-05-01 07:17:45

标签: asp.net db2 asmx

我正在尝试从我的asmx和asp.net(IIS)连接db2服务器,但我收到以下错误。我已经完全访问了IBM.Data.DB.dll的网络服务

{System.TypeInitializationException: The type initializer for 'IBM.Data.DB2.DB2Connection' threw an exception. ---> System.InvalidOperationException: SQL1159  Initialization error with DB2 .NET Data Provider, reason code 10, tokens 0.0.0, 8.1.18
   at IBM.Data.DB2.DB2ConnPool.d()
   at IBM.Data.DB2.DB2ConnPool..ctor()
   at IBM.Data.DB2.DB2Connection..cctor()
   --- End of inner exception stack trace ---
   at IBM.Data.DB2.DB2Connection..ctor(String connectionString)

0 个答案:

没有答案