Error when changing legacy VB.Net code from InterSystems.Data.CacheClient to InterSystems.Data.IRISClient
I have updated some legacy VB/ASP.NET code and changed the references of InterSystems.Data.CacheClient to InterSystems.Data.IRISClient. I am struggling with the code as I am not a .NET expert and there is little or no documentation.
I have published the code on several test IIS sites and on some the code works fine but on others I get the below error. The error doesn't appear to be O/S specific as I have it working on some Windows 2016 servers and not working on other Windows 2016 servers. I have checked the network card settings as the error seems to refer to IPv6 and IPv6 is not enabled on any of the servers.
None of the discovered or specified addresses match the socket address family.
Parameter name: context
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentException: None of the discovered or specified addresses match the socket address family.
Parameter name: context Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
|