StackOverflowException workaround for Guids (was: System.Data.DataSet Bug)

I got some emails saying System.Data.DataSet will throw a StackOverflowException. I tried several databases and tables, but I never got this error. Now, I found the difference: they are all using System.Guid.

I have already fixed this in the next version will be released this evening. There is a workaround available as a IAjaxObjectConverter. Download the GuidConverter.cs and add the converter in your web.config file (i.e. <add type="CSharpSample.GuidConverter, YourAssemblyName"/>).

The next release will support HtmlControls update (argument and return value). Now, with this feature you are able to modify controls without the need of JavaScript code.

Published Thursday, June 02, 2005 9:31 AM by Michael Schwarz

Comments

# re: Ajax.NET bugfixes and new features

Wednesday, June 01, 2005 9:35 PM by TrackBack

# Ajax.NET bugfixes and new features

Wednesday, June 01, 2005 9:36 PM by TrackBack

# re: StackOverflowException workaround for Guids (was: System.Data.DataSet Bug)

Thursday, June 02, 2005 5:01 AM by AndersH
Will, the HtmlControl support fallback to the "good" old method?

# re: StackOverflowException workaround for Guids (was: System.Data.DataSet Bug)

Thursday, June 02, 2005 5:09 AM by Shunjie
Sometimes I get the error too if I used custom entity objects. I will test out with the new version and see if it is solved =)

# re: StackOverflowException workaround for Guids (was: System.Data.DataSet Bug)

Thursday, June 02, 2005 5:28 AM by Michael Schwarz
@AndersH: what do you mean with "good old method"??

# re: StackOverflowException workaround for Guids (was: System.Data.DataSet Bug)

Thursday, June 02, 2005 8:28 AM by Michael Schwarz
@Shunjie: can you send me some detailed information, perhaps which data types are you using?