I am experiencing a strange situation where when one application (running in it's own app pool) uses the IBM.Data.DB2.iSeries .net driver, any onther app pool that attempts to access
the same resource gets an 'access to the path is denied' message. If I recycle the app pool that initially 'worked' and then access using another app pool, the one that worked before does not and the one that didn't does.
this is the line of code referenced in the error:
Dim connection as iDB2Connection = new iDB2Connection(ConfigurationManager.COnnectionStrings("theConnectionStringname").ConnectionString())
it fails on this line in either app in the app pool that fails.
Type : System.TypeInitializationException, mscorlib, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b77a5c561934e089 Message : The type initializer for 'IBM.Data.DB
View Complete Post