<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: C# &#8211; &#8220;Type is not resolved for member&#8221; SerializationException in Connection.get_LocalIP() RESOLVED!</title>
	<atom:link href="http://finite.mikeandcorinne.com/2010/03/c-type-is-not-resolved-for-member-serializationexception-in-connection-get_localip-resolved/feed/" rel="self" type="application/rss+xml" />
	<link>http://finite.mikeandcorinne.com/2010/03/c-type-is-not-resolved-for-member-serializationexception-in-connection-get_localip-resolved/</link>
	<description>Mike&#039;s thoughts on programming and tech</description>
	<lastBuildDate>Wed, 17 Aug 2011 07:18:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: Julian</title>
		<link>http://finite.mikeandcorinne.com/2010/03/c-type-is-not-resolved-for-member-serializationexception-in-connection-get_localip-resolved/comment-page-1/#comment-2212</link>
		<dc:creator>Julian</dc:creator>
		<pubDate>Thu, 07 Jul 2011 04:15:04 +0000</pubDate>
		<guid isPermaLink="false">http://finite.mikeandcorinne.com/2010/03/c-type-is-not-resolved-for-member-serializationexception-in-connection-get_localip-resolved/#comment-2212</guid>
		<description>I solved this problem setting the specific property in CallContext to null. In my case I use Remoting to consume Business Objects and this problem happen because the my custom Principal object is put in CallContext. I set null in CallContext thgouh the SetData method ands works.
The problem happen when calling of Response.Flush();</description>
		<content:encoded><![CDATA[<p>I solved this problem setting the specific property in CallContext to null. In my case I use Remoting to consume Business Objects and this problem happen because the my custom Principal object is put in CallContext. I set null in CallContext thgouh the SetData method ands works.<br />
The problem happen when calling of Response.Flush();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: metal model cars</title>
		<link>http://finite.mikeandcorinne.com/2010/03/c-type-is-not-resolved-for-member-serializationexception-in-connection-get_localip-resolved/comment-page-1/#comment-1762</link>
		<dc:creator>metal model cars</dc:creator>
		<pubDate>Sat, 28 May 2011 01:25:13 +0000</pubDate>
		<guid isPermaLink="false">http://finite.mikeandcorinne.com/2010/03/c-type-is-not-resolved-for-member-serializationexception-in-connection-get_localip-resolved/#comment-1762</guid>
		<description>undefined</description>
		<content:encoded><![CDATA[<p>undefined</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John1596</title>
		<link>http://finite.mikeandcorinne.com/2010/03/c-type-is-not-resolved-for-member-serializationexception-in-connection-get_localip-resolved/comment-page-1/#comment-983</link>
		<dc:creator>John1596</dc:creator>
		<pubDate>Mon, 28 Feb 2011 04:02:34 +0000</pubDate>
		<guid isPermaLink="false">http://finite.mikeandcorinne.com/2010/03/c-type-is-not-resolved-for-member-serializationexception-in-connection-get_localip-resolved/#comment-983</guid>
		<description>Very nice site!</description>
		<content:encoded><![CDATA[<p>Very nice site!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John1596</title>
		<link>http://finite.mikeandcorinne.com/2010/03/c-type-is-not-resolved-for-member-serializationexception-in-connection-get_localip-resolved/comment-page-1/#comment-982</link>
		<dc:creator>John1596</dc:creator>
		<pubDate>Mon, 28 Feb 2011 04:02:18 +0000</pubDate>
		<guid isPermaLink="false">http://finite.mikeandcorinne.com/2010/03/c-type-is-not-resolved-for-member-serializationexception-in-connection-get_localip-resolved/#comment-982</guid>
		<description>Very nice site!  [url=http://oixapey.com/aqvoxr/2.html]is it yours too[/url]</description>
		<content:encoded><![CDATA[<p>Very nice site!  [url=http://oixapey.com/aqvoxr/2.html]is it yours too[/url]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John1596</title>
		<link>http://finite.mikeandcorinne.com/2010/03/c-type-is-not-resolved-for-member-serializationexception-in-connection-get_localip-resolved/comment-page-1/#comment-981</link>
		<dc:creator>John1596</dc:creator>
		<pubDate>Mon, 28 Feb 2011 04:02:02 +0000</pubDate>
		<guid isPermaLink="false">http://finite.mikeandcorinne.com/2010/03/c-type-is-not-resolved-for-member-serializationexception-in-connection-get_localip-resolved/#comment-981</guid>
		<description>Very nice site! &lt;a href=&quot;http://oixapey.com/aqvoxr/1.html&quot; rel=&quot;nofollow&quot;&gt;is it yours too&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Very nice site! <a href="http://oixapey.com/aqvoxr/1.html" rel="nofollow">is it yours too</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jmorris</title>
		<link>http://finite.mikeandcorinne.com/2010/03/c-type-is-not-resolved-for-member-serializationexception-in-connection-get_localip-resolved/comment-page-1/#comment-15</link>
		<dc:creator>jmorris</dc:creator>
		<pubDate>Tue, 16 Mar 2010 23:25:13 +0000</pubDate>
		<guid isPermaLink="false">http://finite.mikeandcorinne.com/2010/03/c-type-is-not-resolved-for-member-serializationexception-in-connection-get_localip-resolved/#comment-15</guid>
		<description>Funny, I just ran into this. It actually happens when you assign the IPrincipal implementation to the Thread.CurrentPrincipal property. Setting the Context.User field is fine, however. It also only failed in my case when I called the Page.ClientScript.GetCallbackEventReference method!

I tried your suggestion with the ComVisible and deriving from MarshalByRefObject and then ran into trouble with serialization/deserialization using the DataContractJsonSerializer. I stopped short there and just removed the Thread.CurrentPrincipal = principal code, since this is a cassini specific error and I&#039;ll be on IIS next week. 

-Jeff</description>
		<content:encoded><![CDATA[<p>Funny, I just ran into this. It actually happens when you assign the IPrincipal implementation to the Thread.CurrentPrincipal property. Setting the Context.User field is fine, however. It also only failed in my case when I called the Page.ClientScript.GetCallbackEventReference method!</p>
<p>I tried your suggestion with the ComVisible and deriving from MarshalByRefObject and then ran into trouble with serialization/deserialization using the DataContractJsonSerializer. I stopped short there and just removed the Thread.CurrentPrincipal = principal code, since this is a cassini specific error and I&#8217;ll be on IIS next week. </p>
<p>-Jeff</p>
]]></content:encoded>
	</item>
</channel>
</rss>

