WebGrid server crash every month

64 replies. Last post: February 22, 2012 3:22 AM by Eric
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Eric Member

Hi,

This is the same question as our initial support request [IS-C4A66AE8-3423-4C20-A164-35B59B3FE656] {83029} via mail which is from February 2009. The issue still happens, although we upgraded Webgrid in the meantime from version 5 to version 6. We use Framework 2.0, IIS5 on an old Windows 2000 Advanced Server.

The problem is that we have in all WebGrids the code <ClientSideEvents OnUnhandledError="GridUnhandledError" with the JavaScript redirecting to a new page (or something similar).

This code gets triggered and it happens about once a month. Sometimes it "repairs itself" after about half an hour or so, but sometimes it doesn't. Closing the client web browser, clearing its cache etc. doesn't help. Restarting the web server (services) also doesn't help or only during a few minutes. The only thing that helps is to reboot the whole server. We have to raise critical tickets and wake up people. This lets us look bad, especially because everything else works, only the WebGrid interactions don't work. All pages that don't use a WebGrid work fine. All pages with the WebGrid initially also load, but any interaction that causes a FlyPostback results in a crash showing our general error page or something similar.

In the meantime I have Fiddler installed, so I can trace the HTTP traffic. This clearly shows the problem (just an example here):

POST /xxxxx.aspx HTTP/1.1
Accept: */*
Accept-Language: en-us,de-ch;q=0.5
Referer: http://server/xxxxx.aspx
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E; MS-RTC LM 8)
Host: server
Content-Length: 10101
Connection: Keep-Alive
Pragma: no-cache
Cookie: WT_FPC=id=123.123.123.123-1234123412.12341234:lv=1234123412345:ss=1234123412345; lazy_tnummer=username; ASP.NET_SessionId=3yz3iv452f2ivcn2clp2wz46

WebGridRequest=¢WebGrid>¢request id="grdSearch" action="Custom"/>¢/WebGrid>
&__VIEWSTATE=/abc[...]def/k1
&grdSearch=
&grdSearch$grdSearch_h=¢
WebGrid ServerUniqueID="grdSearch" UseDefaultStyle="True" IsPreviewMode="False" UseWebResourcesForClient="True" UseWebResourcesForScript="True" TotalLoadedRows="26" TotalRows="26" GBBLabelClass="WG5-GBBL" RowClass="ISGridItemStyleHt11">¢
ChartSettings/>¢
FlyPostBackSettings PostHiddenFields="False"/>¢
LayoutSettings AllowContextMenu="False" TreeLines="False" InProgressUIBehavior="ChangeCursorToHourGlass" RowHeaders="No" Culture="en-US" SelectedRowClass="ISGridSelectedRowStyle" CheckedRowClass="WG5-CR" LostFocusClass="WG5-LFR" EditFocusClass="WG5-EFC" TextBoxClass="WG5-ET">¢
StatusBarCommandStyle Active="WG5-SBC-A" Over="WG5-SBC-O" Normal="WG5-SBC-N"/>¢
ClientSideEvents çUnhandledError="alert('Session timeout or other error. Please close all windows and try again.');window.close();" ç
RowSelect="DoBlaBla"/>¢
/LayoutSettings>¢
RootTable TableLevel="0" Name="" IsRootTable="True" Position="0" IsUseColumnSet="False" HasMultiPrimaryKey="False">¢
FocusCellStyle BorderColor=""/>¢
ChildTables/>¢
FilteredColumns/>¢
SortedColumns/>¢
ColumnSets/>¢
GroupedColumns/>¢
Columns>¢
WebGridColumn Name="Item_ID" Visible="False" DataType="System.Int32" DataMember="Item_ID" Caption="Item_ID"/>¢
WebGridColumn ColumnType="Custom" Width="100%" Name="Item_Name" DataMember="Item_Name" Position="1" Caption="Item_Name"/>¢
WebGridColumn Name="SPID" Visible="False" DataMember="SPID" Position="2" Caption="SPID"/>¢
WebGridColumn Name="CRR" Visible="False" DataMember="CRR" Position="3" Caption="CRR"/>¢
WebGridColumn Name="HD" Visible="False" DataType="System.DateTime" DataMember="HD" Position="4" Caption="HD"/>¢
WebGridColumn Name="HC" Visible="False" DataType="System.Int32" DataMember="HC" Position="5" Caption="HC"/>¢
/Columns>¢
/RootTable>¢
ChartInteractiveUI/>¢
ChartCategoryCollection/>¢
UtilizedCustomEditors/>¢
ChartFilterCollection/>¢
ChartDataCollection/>¢
ChartSeriesCollection/>¢
WebCombos/>¢
selectedObject tblName="" type="Row" rowIndex="12" cellIndex="0" parentIndex="">¢
keyValue>¢
![CDATA[1234]]>¢
/keyValue>¢
/selectedObject>¢
/WebGrid>
&WebGridID=grdSearch&PID=1234
&__EVENTTARGET=ISControl
&__EVENTARGUMENT=PostBack
&__FLYPOSTBACK=true
&__FLYPOSTBACKID=grdSearch


HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Wed, 09 Feb 2011 11:10:39 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Length: 0

(added some additional line breaks and anonymized)
(ç = char 0x02)
(¢ = char 0x03)

As you can see, the FlyPostback POST request is answered by the server with a 200 OK, but without any data. The client interprets this as an error and runs the client-side event OnUnhandledError.

As this only happens for WebGrid's FlyPostback HTTP POST requests, I have no idea of what else I should check.

Also I think updating to WebGrid 7, upgrading the server's operating system or the .NET Framework will probably not help, as long as you haven't fixed this specific problem.

So what should we do now? Get rid of WebGrid? Any other ideas?

Thanks,

Eric

All times are GMT -5. The time now is 2:36 AM.
Previous Next