<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.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>I think I lost my brain : Technology</title><link>http://blogs.msdn.com/dsutton1/archive/tags/Technology/default.aspx</link><description>Tags: Technology</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>16-bit client app failing after installing Windows XP Service Pack 2 (XPSP2)</title><link>http://blogs.msdn.com/dsutton1/archive/2004/11/03/251701.aspx</link><pubDate>Wed, 03 Nov 2004 18:01:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:251701</guid><dc:creator>DSutton1</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/dsutton1/comments/251701.aspx</comments><wfw:commentRss>http://blogs.msdn.com/dsutton1/commentrss.aspx?PostID=251701</wfw:commentRss><description>&lt;p&gt;&lt;font face="Verdana" size="2"&gt;So I've been working on a recent escalation case for my team that deals with a 16-bit client application trying to use a 32-bit out of process com server. When the client application would do CoCreateInstance on the server, this would work fine (hr = S_OK) and the out of process com exe would start. However, if the client then did a QueryInterface for a specific interface, it would fail with this HR:&lt;/font&gt;&lt;/p&gt;&lt;font size="1"&gt; &lt;p&gt;&lt;br /&gt;&lt;font face="Courier New" size="2"&gt;Error Result :&amp;nbsp;0x80010104&amp;nbsp;&amp;nbsp; ( -2147417852 )&lt;br /&gt;ID Defined as :&amp;nbsp;RPC_E_FAULT&lt;br /&gt;Error Type :&amp;nbsp;OLE HRESULT Error&lt;br /&gt;Facility :&amp;nbsp;FACILITY_RPC&amp;nbsp;&amp;nbsp; 0x00000001&amp;nbsp;&amp;nbsp; ( 1 )&lt;br /&gt;Severity :&amp;nbsp;SEVERITY_ERROR&amp;nbsp;&amp;nbsp; 0x00000001&amp;nbsp;&amp;nbsp; ( 1 )&lt;br /&gt;Code :&amp;nbsp;0x00000104&amp;nbsp;&amp;nbsp; ( 260 )&lt;br /&gt;Source Error file :&amp;nbsp;Winerror.h&lt;br /&gt;Message Text :&amp;nbsp;RPC could not call the server or could not return the results of calling the server.&lt;br /&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" size="2"&gt;After digging around for a very long time and consulting with our development team, I finally found the solution. There was&amp;nbsp;a change made in xpsp2 that essentially turned off the Universal Proxy Stub (UPS) by default but allowed for it to be turned back on through a registry key. That registry key is:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OleAut]&lt;br /&gt;"EnableUPS"=dword:00000001&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=251701" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/dsutton1/archive/tags/Technology/default.aspx">Technology</category></item></channel></rss>