The SqlDenpendency.OnChange
event is not firing when the tool is published and deployed on IIS Server.
It is working fine on my local machine.
I have referred to this answer https://stackoverflow.com/a/38917421/6763912
The SqlDenpendency.OnChange
event is not firing when the tool is published and deployed on IIS Server.
It is working fine on my local machine.
I have referred to this answer https://stackoverflow.com/a/38917421/6763912
To find the root cause, we need to dig the exception. First of all , please check your event viewer.
If there is any exception thrown from .net runtime, you will find it. If no exception can be found in event viewer. It might be a first chance exception. Then you need to collect dump file with debug diagnostic collection and analyze the dump file with WINDBG.