A control that contains multiple duplicate properties causing deadlock issues on IIS
- by heads5150
I am trying to work out if the above case is true for our site. I've been told by my hosting provider that this fix (http://support.microsoft.com/kb/974165) has to applied to our server due to performance issues.
It basically describes an issues where UI code like:
<asp:gridview id="GridView1" runat="server"
...
PageSize="100" PagerSettings-Mode="Numeric"
PagerStyle-BorderStyle="None" PagerStyle-BorderColor="Navy"
PagerStyle-HorizontalAlign="Right" PagerSettings-PageButtonCount="2"
PagerSettings-Position="Bottom">
<PagerStyle HorizontalAlign="Left" BorderColor="Navy" BorderStyle="None"></PagerStyle>
...
<PagerSettings PageButtonCount="2"></PagerSettings>
...
</asp:gridview>
causing the following warning on the server "ISAPI 'C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll' reported itself as unhealthy for the following reason: 'Deadlock detected'."
Does anybody know of a way that I can detect this issue in the build process or the debugger?
Any help would be much appreciate.