Question Mark Dashwood · Feb 10, 2023

I get the following error trying to access Cache using IRIS ADO.NET "InterSystems IRIS Provider is not compatible with Cache xDBC server"

Hi

I am upgrading our application from dotNet Framework to dotNet Core.

Prior to the upgrade I was able to connect to both my Cache & IRIS instances using the IRIS ADO.NET driver.

However, in dotNet Core, whilst I can connect to IRIS, I get the following error connecting to Cache.

InterSystems IRIS Provider is not compatible with Cache xDBC server
 

I am using the IRIS  driver from the Windows (x86-64) 2022.1 distribution (the one in dev\dotnet\bin\net5.0).

The cache version is Cache for Windows (x86-64) 2018.1.2

Thanks

Product version: IRIS 2022.1

Comments

Bidyut Patra · Feb 17, 2023

I am getting this error for .NET Framework as well. Do you know what could be the reason?

0
Mark Dashwood  Feb 20, 2023 to Bidyut Patra

I can connect to the Cache version given in my post using the .Net Framework IRIS driver (InterSystems.Data.IRISClient.dll) version 2018.2.0.415, which is what we used pre-netCore upgrade.

0
Dmitry Maslennikov · Feb 17, 2023

Cache is quite old, and obviously, it may be incompatible with IRIS.

So, you would need to use separate drivers for Cache and IRIS.

0
Mark Dashwood  Feb 20, 2023 to Dmitry Maslennikov

There is some level of backward-compatibility as I can connect to both Cache & IRIS using the single dotnet framework IRIS driver.

What is not clear is what is supported in different versions of the driver.

0