I am using OpcNetApi.dll driver to connect Softing opc server and i am reading few tags from subscription read method every second in the windows service, Initially it reads the value fine for few hours like 10 or 15 hours but then i constantly getting this ReadMaxAge exception for each read, when i reboot the server it starts working correctly again for few hours. i tried searching to find what is causing but no luck.
Does anyone have idea about ReadMaxAge exception please help.
In my instance its hold up to roughly 3 to 4 days continuously. When this happen restarting the service will work again. Currently i'm trying to let the service to auto restart when this happen. Obviously this something temporary to keep it going.
Once the service exit with error, set the service recovery option as below; service recovery option