<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Tricky Exception Message while Remoting...</title><link>http://msmvps.com/blogs/williamryan/archive/2004/09/26/14407.aspx</link><description>Well, as you may know, I've recently taken a position at a new company . We are doing some really really cool stuff which, amongst other things, takes advantage of .NET Remoting , Service Oriented Architecture , MSMQ , Biztalk Server 2004 and Web Service</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>re: Tricky Exception Message while Remoting...</title><link>http://msmvps.com/blogs/williamryan/archive/2004/09/26/14407.aspx#14442</link><pubDate>Mon, 27 Sep 2004 18:04:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:14442</guid><dc:creator>William</dc:creator><description>Thanks for the tip Beth - much appreciated&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=14442" width="1" height="1"&gt;</description></item><item><title>re: Tricky Exception Message while Remoting...</title><link>http://msmvps.com/blogs/williamryan/archive/2004/09/26/14407.aspx#14441</link><pubDate>Mon, 27 Sep 2004 17:26:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:14441</guid><dc:creator>William</dc:creator><description>FYI.. you can also just flip the formatter to SOAP in the server and client config files and the real message will come through.&lt;br&gt;&lt;br&gt;Client:&lt;br&gt;&amp;lt;channels&amp;gt;&lt;br&gt;    &amp;lt;channel ref=&amp;quot;http&amp;quot; useDefaultCredentials=&amp;quot;true&amp;quot; port=&amp;quot;0&amp;quot;&amp;gt;&lt;br&gt;        &amp;lt;clientProviders&amp;gt;&lt;br&gt;            &amp;lt;formatter ref=&amp;quot;soap&amp;quot; /&amp;gt;&lt;br&gt;        &amp;lt;/clientProviders&amp;gt;&lt;br&gt;    &amp;lt;/channel&amp;gt;&lt;br&gt;&amp;lt;/channels&amp;gt;&lt;br&gt;&lt;br&gt;Server:&lt;br&gt;&amp;lt;channels&amp;gt;&lt;br&gt;  &amp;lt;channel ref=&amp;quot;http&amp;quot;&amp;gt;&lt;br&gt;    &amp;lt;serverProviders&amp;gt;&lt;br&gt;      &amp;lt;formatter ref=&amp;quot;soap&amp;quot; /&amp;gt;&lt;br&gt;    &amp;lt;/serverProviders&amp;gt;&lt;br&gt;  &amp;lt;/channel&amp;gt;&lt;br&gt;&amp;lt;/channels&amp;gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=14441" width="1" height="1"&gt;</description></item><item><title>re: Tricky Exception Message while Remoting...</title><link>http://msmvps.com/blogs/williamryan/archive/2004/09/26/14407.aspx#14425</link><pubDate>Mon, 27 Sep 2004 10:18:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:14425</guid><dc:creator>William</dc:creator><description>Fortunatelly for us there are only four main areas in ado.net that we are worried about when it comes to cross version serialization. The DataSet/datatable (huge, I am so glad I don't own this!) the SqlTypes (also not on my plate),  managed provider exceptions and managed provider code access permissions. Exceptions are currently broken and I don't think anybody cares about code access security...&lt;br&gt;&lt;br&gt;I must have missed the blog on session state datareaders *shudders* that must have been interesting. At least you can't serialize datareaders&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=14425" width="1" height="1"&gt;</description></item><item><title>re: Tricky Exception Message while Remoting...</title><link>http://msmvps.com/blogs/williamryan/archive/2004/09/26/14407.aspx#14412</link><pubDate>Mon, 27 Sep 2004 03:10:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:14412</guid><dc:creator>William</dc:creator><description>Hi Angel:&lt;br&gt;&lt;br&gt;You know, that's a really interesting point that I didn't even consider - it would be pretty darned important that my remotable object in v.X can be consumed by v.Xa for instance.  Ingo Rammer is pretty much the man from what I've come across and his book on Advanced .NET REmoting (&lt;a target="_new" href="http://www.apress.com/book/bookDisplay.html?bID=47"&gt;http://www.apress.com/book/bookDisplay.html?bID=47&lt;/a&gt;) is the best resource I've found.  Similarly, Matthew MacDonald has a pretty good discussion in his enterprise development book but Ingo's is dedicated to Remoting and totally a must have.  ALso, Paul Kimmel who is another dude I pretty much respect the heck out of has a really good discussion in his Visual Basic .NET for Advanced developers book.  If you head over to www.thinktecture.com (Ingo's company) he's got some pretty good stuff.  The only reason I found the problem was from his site which gave me the info I needed to track it down.  The thing that makes this one tricky is that IT'S not a serialization problem but it says it is.  And it's not a bug in the framework - it's based on what comes back from the remote machine however it's really misleading in that you're naturally inclined to hunt down something with formatting when in fact it's something else making itself look like its a formatting problem.&lt;br&gt;&lt;br&gt;This is definitely something that's got my interest up - when I have time tomorrow I'll give it a try.  I don't know how far you've gone with it so far, but Remoting ADO.NET objects is particularly interesting b/c in many cases, you just create an interface and use it to grab the remote object.  But with a typed dataset for instance, creating an interface for it would be too much of a pain in many cases.  But you can return it as a regular dataset and then just set the tablemappings/columnmappings to a locally created typed dataset and use it from there. &lt;br&gt;&lt;br&gt;When I have some time I might try to use the 1.1 framework to pass a SqlDataReader remotely and access the connection from 5 different threads and see what happens just for giggles.  WHat the heck, if Caustic Phil worked with a dude that advocated storing datareaders in session state, why can't I remote one &amp;lt;Hopefully no one will actually take this last nonsensical paragraph seriously).&lt;br&gt;&lt;br&gt;I'll drop you a line tomorrow evening when I get home b/c this is a pretty interesting thing to look into&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=14412" width="1" height="1"&gt;</description></item><item><title>re: Tricky Exception Message while Remoting...</title><link>http://msmvps.com/blogs/williamryan/archive/2004/09/26/14407.aspx#14410</link><pubDate>Mon, 27 Sep 2004 01:32:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:14410</guid><dc:creator>William</dc:creator><description>Bill,&lt;br&gt;I have just started working with cross version serialization (trying to make sure our ado.net serializable objects can serialize across frameworks) and I hate it &amp;lt;grin&amp;gt; I am glad to hear that getting this right is somewhat important. &lt;br&gt;&lt;br&gt;Any good resources on Remoting you can point me to? &lt;br&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=14410" width="1" height="1"&gt;</description></item></channel></rss>