I keep getting a error when connecting to DB2. But only on the deployed app. Everything work perfectly when running the app from Visual Studio 2017. in either debug or release builds.
I spent all this time adding support for DB2/LUW databases to my ORM, but now I can deploy it.
I'm using libs from nuget for version 18.104.22.168 on windows 10
I'm also using the free community version of the server, a recent download install on win server 2012 r2.
Any idea whats going on? This obviously inside IBM code...
System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
at IBM.Data.DB2.Core.DB2ConnPool.Open(DB2Connection connection, String& szConnectionString, DB2ConnSettings& ppSettings, Object& ppConn)
at FormDatabaseConnection.btnTestConnection_Click(Object sender, EventArgs e)