DB2 .Net Connector error : AESEncryptADONet
问题 I have a very simple .Net Core app trying to create and open a connection to a DB2 database (on AS/400). I have this error when I try to create the DBConnection object, with the message: ERROR 58005 SQL0902 There are no context policies. Function: AESEncryptADONet . There are no more details, unfortunately. 回答1: We meet the same error and solved it by setting Path of environment variables on Windows / Linux ( LD_LIBRARY_PATH ) / MacOS ( DYLD_LIBRARY_PATH ). For example: Our environment: ASP