A control that contains multiple duplicate properties causing deadlock issues on IIS

Posted by heads5150 on Stack Overflow See other posts from Stack Overflow or by heads5150
Published on 2010-03-25T01:10:32Z Indexed on 2010/03/25 1:13 UTC
Read the original article Hit count: 490

Filed under:
|
|

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.

© Stack Overflow or respective owner

Related posts about iis

Related posts about ASP.NET