﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - StackOverflowException (mscorlib.dll)  in WebGrid with LoadTablesStructureFromXml</title><link>http://www.intersoftsolutions.com/Community/WebGrid/StackOverflowException-mscorlibdll-in-WebGrid-with-LoadTablesStructureFromXml/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>StackOverflowException (mscorlib.dll)  in WebGrid with LoadTablesStructureFromXml</title><link>http://www.intersoftsolutions.com/Community/WebGrid/StackOverflowException-mscorlibdll-in-WebGrid-with-LoadTablesStructureFromXml/</link><pubDate>Tue, 06 Apr 2010 04:09:21 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;The issue has been fixed in this new hotfix. I attached the hotfix. Please test it and let me know if you have the same result or not. Btw, I suggested to load the structure inside !ISPostBack condition.&lt;br /&gt;&lt;span style="color: rgb(63, 63, 63); font-family: 'segoe ui', arial, verdana, tahoma; font-size: 12px; line-height: 18px; " /&gt;&lt;/p&gt;&lt;p style="font-family: 'segoe ui', arial, verdana, tahoma; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;FYI, this nightly build has not been tested for regression and we are really appreciate if you might give us feedbacks when you encounter any issues/problems regarding this build.&lt;/p&gt;
&lt;p style="font-family: 'segoe ui', arial, verdana, tahoma; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;Regards,&lt;br style="font-family: 'segoe ui', arial, verdana, tahoma; " /&gt;Handy&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>StackOverflowException (mscorlib.dll)  in WebGrid with LoadTablesStructureFromXml</title><link>http://www.intersoftsolutions.com/Community/WebGrid/StackOverflowException-mscorlibdll-in-WebGrid-with-LoadTablesStructureFromXml/</link><pubDate>Mon, 05 Apr 2010 04:27:44 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello Andrzej,&lt;/p&gt;&lt;p&gt;I have sent email to ask and remind our developer teams regarding this issue. I will let you know asap when I received news from them.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>StackOverflowException (mscorlib.dll)  in WebGrid with LoadTablesStructureFromXml</title><link>http://www.intersoftsolutions.com/Community/WebGrid/StackOverflowException-mscorlibdll-in-WebGrid-with-LoadTablesStructureFromXml/</link><pubDate>Fri, 02 Apr 2010 07:06:21 GMT</pubDate><dc:creator>ands</dc:creator><description>&lt;p&gt;Hi Handy,&lt;/p&gt;
&lt;p&gt;When this issue will be solved ?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;regards &lt;/p&gt;
&lt;p&gt;Andrzej&lt;/p&gt;</description></item><item><title>StackOverflowException (mscorlib.dll)  in WebGrid with LoadTablesStructureFromXml</title><link>http://www.intersoftsolutions.com/Community/WebGrid/StackOverflowException-mscorlibdll-in-WebGrid-with-LoadTablesStructureFromXml/</link><pubDate>Wed, 24 Mar 2010 05:25:38 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hi Andrzej,&lt;/p&gt;&lt;p&gt;I am able to see the error now. It only can be seen in debug mode. In order to replicate the issue, you can also select any row after WebGrid loaded data and goto prev/next page.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>StackOverflowException (mscorlib.dll)  in WebGrid with LoadTablesStructureFromXml</title><link>http://www.intersoftsolutions.com/Community/WebGrid/StackOverflowException-mscorlibdll-in-WebGrid-with-LoadTablesStructureFromXml/</link><pubDate>Wed, 24 Mar 2010 05:18:53 GMT</pubDate><dc:creator>ands</dc:creator><description>&lt;p&gt;Hi Handy,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thank you, I'll be waiting for reply&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Andrzej&lt;/p&gt;</description></item><item><title>StackOverflowException (mscorlib.dll)  in WebGrid with LoadTablesStructureFromXml</title><link>http://www.intersoftsolutions.com/Community/WebGrid/StackOverflowException-mscorlibdll-in-WebGrid-with-LoadTablesStructureFromXml/</link><pubDate>Wed, 24 Mar 2010 04:52:15 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hi Andrzej,&lt;/p&gt;&lt;p&gt;I am sorry that I missunderstanding your point. The last modified sample also could not replicate the exception you mentioned. But I think there is an issue. I got no exception, but WebGrid got not responding. I will discuss this issue to our developer regarding this issue.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>StackOverflowException (mscorlib.dll)  in WebGrid with LoadTablesStructureFromXml</title><link>http://www.intersoftsolutions.com/Community/WebGrid/StackOverflowException-mscorlibdll-in-WebGrid-with-LoadTablesStructureFromXml/</link><pubDate>Wed, 24 Mar 2010 04:20:22 GMT</pubDate><dc:creator>ands</dc:creator><description>&lt;p&gt;Hello Handy,&lt;/p&gt;
&lt;p&gt;..what would you like to replicate if you save to xml file, empty structure of WebGrid ?????&lt;/p&gt;
&lt;p&gt;...next your example load structure without column, &lt;/p&gt;
&lt;p&gt;...next you change the page of webGrid , but there is no data - what is it ????&lt;/p&gt;
&lt;p&gt;Are you understand what I'd like to show you ??????&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I attach clear sample without iAnywhere dll one again.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I kindly ask you to do the following (4-steps):&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;1. run the&amp;nbsp;"stackoverflow2.aspx" (so you've got list of products)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;2.&amp;nbsp;click&amp;nbsp;"next page"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;3. click on row with ProductID=2&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;4. click "previous page"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;... after 30 sec. you should get Stackoverflow exception&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;Andrzej&lt;/span&gt;&lt;/p&gt;</description></item><item><title>StackOverflowException (mscorlib.dll)  in WebGrid with LoadTablesStructureFromXml</title><link>http://www.intersoftsolutions.com/Community/WebGrid/StackOverflowException-mscorlibdll-in-WebGrid-with-LoadTablesStructureFromXml/</link><pubDate>Tue, 23 Mar 2010 23:00:05 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p /&gt;&lt;p style="margin-top: 10px; margin-bottom: 10px; "&gt;Hello Andrzej,&lt;/p&gt;
&lt;p style="margin-top: 10px; margin-bottom: 10px; "&gt;Previously, I thought you have the structure. Now, please try to watch my recording video. I could not replicate your error in here. All I did, just comment out iAnyware library and create the new Nort.xsd dataset. The others still the same as before. Please let me know if there is something that you want to know.&lt;/p&gt;
&lt;p style="margin-top: 10px; margin-bottom: 10px; "&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>StackOverflowException (mscorlib.dll)  in WebGrid with LoadTablesStructureFromXml</title><link>http://www.intersoftsolutions.com/Community/WebGrid/StackOverflowException-mscorlibdll-in-WebGrid-with-LoadTablesStructureFromXml/</link><pubDate>Tue, 23 Mar 2010 07:55:16 GMT</pubDate><dc:creator>ands</dc:creator><description>&lt;p&gt;Sorry, but I don't understand your example. &lt;/p&gt;
&lt;p&gt;If I run stackoverflow2.aspx there is no structure.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;&lt;span style="font-size: 13px"&gt;I suppose you have to use  &lt;span style="font-size: 13px"&gt;SaveTablesStructure in&amp;nbsp; default.aspx to create binary&amp;nbsp;file and next using it in stackoverflow2.aspx - don't you ?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;So there is missing &lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;WebGrid1.LoadTablesStructure(Server.MapPath(&lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;"Products.xml"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;));&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;in &lt;span style="font-size: 13px"&gt;WebGrid1_InitializeLayout method in stackoverflow2.aspx &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;&lt;span style="font-size: 13px"&gt;When I use  &lt;span style="font-size: 13px"&gt;SaveTablesStructure &lt;/span&gt;and next LoadTablesStructure I 've got Stackoverflow exception also in situation described in previous post.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;At the end when  I click previous page, the "Loading page 2..." is showing c.a. 30sec and next:&lt;/p&gt;
&lt;p&gt;An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;&lt;span style="font-size: 13px"&gt;regards&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;&lt;span style="font-size: 13px"&gt;Andrzej&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;&lt;span style="font-size: 13px"&gt;&lt;span style="font-size: 13px"&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>StackOverflowException (mscorlib.dll)  in WebGrid with LoadTablesStructureFromXml</title><link>http://www.intersoftsolutions.com/Community/WebGrid/StackOverflowException-mscorlibdll-in-WebGrid-with-LoadTablesStructureFromXml/</link><pubDate>Tue, 23 Mar 2010 05:55:31 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;I have modified your sample and got different error (something like "error line of code..."). So, I sent you the modified project. Please let me know if there is something that I was missing in replicating your issue.&lt;/p&gt;&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>StackOverflowException (mscorlib.dll)  in WebGrid with LoadTablesStructureFromXml</title><link>http://www.intersoftsolutions.com/Community/WebGrid/StackOverflowException-mscorlibdll-in-WebGrid-with-LoadTablesStructureFromXml/</link><pubDate>Sat, 20 Mar 2010 09:30:07 GMT</pubDate><dc:creator>ands</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;p&gt;WebGrid (401) with ClientSideBinding and Classic Custom Paging.&lt;/p&gt;
&lt;p&gt;On Page_Load WebGrid load structure by LoadTablesStructureFromXml method. If you put this code without checking isPostBack like this:&lt;/p&gt;&lt;pre&gt;//if (!IsPostBack)
//{
        WebGrid1.DataMember = "V_CONN_STAT";
        WebGrid1.LoadTablesStructureFromXml(Server.MapPath("~/V_CONN_STAT.xml"));
//}&lt;/pre&gt;

&lt;p&gt;then you can get StackOverflowException  .&lt;/p&gt;
&lt;p&gt;To replicate , try this steps:&lt;/p&gt;
&lt;p&gt;1. after first loading page, change the page numer to another (page 3)&lt;/p&gt;
&lt;p&gt;2. (important) click any row to select them (if don't exception doesn't appear)&lt;/p&gt;
&lt;p&gt;3. go to page back (page 2 for example)&lt;/p&gt;
&lt;p&gt;and you've got a StackOverflowException&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I include example page without database(I work on Sybase)&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Andrzej&lt;/p&gt;</description></item></channel></rss>