<?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>Technology 'n Me (Sukesh) : 945701</title><link>http://blogs.msdn.com/sukeshak/archive/tags/945701/default.aspx</link><description>Tags: 945701</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>After installing MS07-045 Cumulative Security Update for Internet Explorer - CreateObject call fails with 8000ffff</title><link>http://blogs.msdn.com/sukeshak/archive/2007/09/18/installing-ms07-045-cumulative-security-update-for-internet-explorer-createobject-call-fails-with-8000ffff.aspx</link><pubDate>Wed, 19 Sep 2007 04:38:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4990202</guid><dc:creator>sukeshak</dc:creator><slash:comments>15</slash:comments><comments>http://blogs.msdn.com/sukeshak/comments/4990202.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sukeshak/commentrss.aspx?PostID=4990202</wfw:commentRss><wfw:comment>http://blogs.msdn.com/sukeshak/rsscomments.aspx?PostID=4990202</wfw:comment><description>&lt;P&gt;We have noticed an issue of CreateObject call failure after installing MS07-045 IE update. This issues goes away if you uninstall the patch.&amp;nbsp; As per the information available it's happening only when .NET managed component (using interop) is called from an ASP page. &lt;/P&gt;
&lt;P&gt;&lt;FONT color=#ff0000&gt;&lt;FONT color=#000000&gt;&lt;U&gt;Error shown in the browser looks like below&lt;/U&gt;&lt;/FONT&gt; &lt;/FONT&gt;
&lt;P&gt;&lt;FONT color=#ff0000&gt;Server object error 'ASP 0177 : 8000ffff' &lt;BR&gt;Server.CreateObject Failed &lt;BR&gt;/hellocom.asp, line 2 &lt;BR&gt;8000ffff &lt;/FONT&gt;
&lt;P mce_keep="true"&gt;Repro steps given below&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Install MS07-045 security patch 
&lt;LI&gt;Create a .NET managed component (helloworld.dll) 
&lt;LI&gt;Make it COM visible and register it using "regasm helloworld.dll /codebase" 
&lt;LI&gt;Create an ASP page (inside your website folder) which calls this component using CreateObject (hellocom.asp) 
&lt;LI&gt;The page fails with the error mentioned above&lt;/LI&gt;&lt;/UL&gt;
&lt;P mce_keep="true"&gt;For repro and testing I'm attaching following repro files&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;helloworld.dll (managed component) 
&lt;LI&gt;hellocom.asp (which uses the above component using CreateObject call)&lt;/LI&gt;&lt;/UL&gt;
&lt;P mce_keep="true"&gt;&lt;U&gt;Code inside helloworld.dll&lt;/U&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;PRE style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; BORDER-BOTTOM-STYLE: none"&gt;&lt;SPAN style="COLOR: #0000ff"&gt;using&lt;/SPAN&gt; System;
&lt;SPAN style="COLOR: #0000ff"&gt;using&lt;/SPAN&gt; System.Collections.Generic;
&lt;SPAN style="COLOR: #0000ff"&gt;using&lt;/SPAN&gt; System.Text;

    &lt;SPAN style="COLOR: #0000ff"&gt;public&lt;/SPAN&gt; &lt;SPAN style="COLOR: #0000ff"&gt;class&lt;/SPAN&gt; HelloWorldClass
    {
        &lt;SPAN style="COLOR: #0000ff"&gt;public&lt;/SPAN&gt; HelloWorldClass() 
        {}

        &lt;SPAN style="COLOR: #0000ff"&gt;public&lt;/SPAN&gt; String SayHello()
        {
            &lt;SPAN style="COLOR: #0000ff"&gt;return&lt;/SPAN&gt; &lt;SPAN style="COLOR: #006080"&gt;"Hello World!"&lt;/SPAN&gt;;
        }
    }
&lt;/PRE&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;U&gt;Code inside hellocom.asp&lt;/U&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;PRE style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; BORDER-BOTTOM-STYLE: none"&gt;&lt;SPAN style="BACKGROUND-COLOR: #ffff00"&gt;&amp;lt;%&lt;/SPAN&gt;&lt;PRE style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: white; BORDER-BOTTOM-STYLE: none"&gt;&lt;SPAN style="COLOR: #606060"&gt;   1:&lt;/SPAN&gt;&amp;nbsp; &lt;/PRE&gt;&lt;PRE style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; BORDER-BOTTOM-STYLE: none"&gt;&lt;SPAN style="COLOR: #606060"&gt;   2:&lt;/SPAN&gt; Set hello = Server.CreateObject(&lt;SPAN style="COLOR: #006080"&gt;"HelloWorldClass"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;PRE style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: white; BORDER-BOTTOM-STYLE: none"&gt;&lt;SPAN style="COLOR: #606060"&gt;   3:&lt;/SPAN&gt; Response.Write hello.SayHello()&lt;/PRE&gt;&lt;SPAN style="BACKGROUND-COLOR: #ffff00"&gt;%&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;
&lt;P mce_keep="true"&gt;&lt;U&gt;In my repro I get access denied for these registry keys for IUSR account&lt;/U&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;A href="http://blogs.msdn.com/blogfiles/sukeshak/WindowsLiveWriter/InstallingMS07045CumulativeSecurityUpdat_61E9/Accessdenied.jpg" mce_href="http://blogs.msdn.com/blogfiles/sukeshak/WindowsLiveWriter/InstallingMS07045CumulativeSecurityUpdat_61E9/Accessdenied.jpg"&gt;&lt;IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=197 alt=Accessdenied src="http://blogs.msdn.com/blogfiles/sukeshak/WindowsLiveWriter/InstallingMS07045CumulativeSecurityUpdat_61E9/Accessdenied_thumb.jpg" width=405 border=0 mce_src="http://blogs.msdn.com/blogfiles/sukeshak/WindowsLiveWriter/InstallingMS07045CumulativeSecurityUpdat_61E9/Accessdenied_thumb.jpg"&gt;&lt;/A&gt;&amp;nbsp; &lt;/P&gt;
&lt;P mce_keep="true"&gt;Till an official update is available on this issue, please run regmon and fix the permission issues shown in the logs. &lt;FONT color=#ff0000&gt;Please give permission to only the user account shown in regmon logs and not for everyone group since it would increase security risk.&lt;/FONT&gt; &lt;/P&gt;
&lt;P&gt;For testing if the permission requirement is only for IUSR account, add IUSR account to administrators group and test. In my case it works and confirms that it's missing permission only for IUSR. This step is for only for testing and needs to be reverted immediately.&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#ff0000&gt;&lt;STRONG&gt;Uninstalling this patch is not recommended since it's a security update.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color=#ff0000&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4990202" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/sukeshak/attachment/4990202.ashx" length="11519" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/sukeshak/archive/tags/Debugging+_2800_User+Mode_2900_/default.aspx">Debugging (User Mode)</category><category domain="http://blogs.msdn.com/sukeshak/archive/tags/Issue/default.aspx">Issue</category><category domain="http://blogs.msdn.com/sukeshak/archive/tags/IE/default.aspx">IE</category><category domain="http://blogs.msdn.com/sukeshak/archive/tags/945701/default.aspx">945701</category><category domain="http://blogs.msdn.com/sukeshak/archive/tags/HTTP/default.aspx">HTTP</category><category domain="http://blogs.msdn.com/sukeshak/archive/tags/IIS+_2600_amp_3B00_amp/default.aspx">IIS &amp;amp;amp</category></item></channel></rss>