我正在尝试从我的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)