31013   Connection attribute cannot be modified directly

Cause

This error occurs if there is an attempt to modify the Connection class state property or the TcpIpConnection class remoteName or remoteIpAddress property.

Action

Change your application code to ensure you do not attempt to modify the state, remoteName, or remoteIpAddress property.