<?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>KB928365 for MS07-040 Leaves Some Managed Applications Sluggish</title><link>http://blogs.msdn.com/heaths/archive/2007/07/13/kb928365-for-ms07-040-leaves-some-managed-applications-sluggish.aspx</link><description>After installing Security Update KB928365 for the Microsoft .NET Framework 2.0 to fix MS07-040 , some users are noticing some managed applications - especially those developed using the Windows Presentation Framework (WPF) - are running sluggish. The</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: KB928365 for MS07-040 Leaves Some Managed Applications Sluggish</title><link>http://blogs.msdn.com/heaths/archive/2007/07/13/kb928365-for-ms07-040-leaves-some-managed-applications-sluggish.aspx#3858231</link><pubDate>Sat, 14 Jul 2007 05:36:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3858231</guid><dc:creator>Christopher Painter</dc:creator><description>&lt;p&gt;Man, and I thought the Garbage Collection patterns in .NET were interesting. &amp;nbsp;Taking that model and applying it to preJITing assemblies whenever the system gets around to it after the installs are finished is.... well.... `interesting`.&lt;/p&gt;</description></item><item><title>re: KB928365 for MS07-040 Leaves Some Managed Applications Sluggish</title><link>http://blogs.msdn.com/heaths/archive/2007/07/13/kb928365-for-ms07-040-leaves-some-managed-applications-sluggish.aspx#3858278</link><pubDate>Sat, 14 Jul 2007 05:43:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3858278</guid><dc:creator>Christopher Painter</dc:creator><description>&lt;p&gt;I also wonder.... on Vista w/UAC.... should `ngen queue status` really require Admin priv?&lt;/p&gt;</description></item><item><title>re: KB928365 for MS07-040 Leaves Some Managed Applications Sluggish</title><link>http://blogs.msdn.com/heaths/archive/2007/07/13/kb928365-for-ms07-040-leaves-some-managed-applications-sluggish.aspx#3860548</link><pubDate>Sat, 14 Jul 2007 09:31:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3860548</guid><dc:creator>John L. Galt</dc:creator><description>&lt;p&gt;I was wondering - when I ran this, at first I received this information:&lt;/p&gt;
&lt;p&gt;________________________________________________&lt;/p&gt;
&lt;p&gt;Microsoft (R) CLR Native Image Generator - Version 2.0.50727.312&lt;/p&gt;
&lt;p&gt;Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.&lt;/p&gt;
&lt;p&gt;Failed to load dependency stdole of assembly ehiProxy, Version=6.0.6000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following e&lt;/p&gt;
&lt;p&gt;rror : The system cannot find the file specified. (Exception from HRESULT: 0x80070002)&lt;/p&gt;
&lt;p&gt;Failed to load dependency stdole of assembly ehiProxy, Version=6.0.6000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following e&lt;/p&gt;
&lt;p&gt;rror : The system cannot find the file specified. (Exception from HRESULT: 0x80070002)&lt;/p&gt;
&lt;p&gt;Failed to load dependency stdole of assembly ehiPlay, Version=6.0.6000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following er&lt;/p&gt;
&lt;p&gt;ror : The system cannot find the file specified. (Exception from HRESULT: 0x80070002)&lt;/p&gt;
&lt;p&gt;Failed to load dependency stdole of assembly ehiProxy, Version=6.0.6000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following e&lt;/p&gt;
&lt;p&gt;rror : The system cannot find the file specified. (Exception from HRESULT: 0x80070002)&lt;/p&gt;
&lt;p&gt;Failed to load dependency stdole of assembly ehiPlay, Version=6.0.6000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following er&lt;/p&gt;
&lt;p&gt;ror : The system cannot find the file specified. (Exception from HRESULT: 0x80070002)&lt;/p&gt;
&lt;p&gt;Failed to load dependency stdole of assembly ehiVidCtl, Version=6.0.6000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following&lt;/p&gt;
&lt;p&gt;error : The system cannot find the file specified. (Exception from HRESULT: 0x80070002)&lt;/p&gt;
&lt;p&gt;Failed to load dependency stdole of assembly ehiProxy, Version=6.0.6000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following e&lt;/p&gt;
&lt;p&gt;rror : The system cannot find the file specified. (Exception from HRESULT: 0x80070002)&lt;/p&gt;
&lt;p&gt;Failed to load dependency stdole of assembly ehiPlay, Version=6.0.6000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following er&lt;/p&gt;
&lt;p&gt;ror : The system cannot find the file specified. (Exception from HRESULT: 0x80070002)&lt;/p&gt;
&lt;p&gt;Failed to load dependency stdole of assembly ehiProxy, Version=6.0.6000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following e&lt;/p&gt;
&lt;p&gt;rror : The system cannot find the file specified. (Exception from HRESULT: 0x80070002)&lt;/p&gt;
&lt;p&gt;Failed to load dependency stdole of assembly ehiProxy, Version=6.0.6000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following e&lt;/p&gt;
&lt;p&gt;rror : The system cannot find the file specified. (Exception from HRESULT: 0x80070002)&lt;/p&gt;
&lt;p&gt;Compiling 74 assemblies:&lt;/p&gt;
&lt;p&gt;________________________________________________&lt;/p&gt;
&lt;p&gt;After that last line it started compiling a lot of things - but the errors at the beginning, is that SOP?&lt;/p&gt;
&lt;p&gt;The reason I ask is I just (last week) had to re-install Vista, due to a mobo replacement, and I was advised (since they mobos were different brands and I could not get Vista to load) that a complete wipe and re-installation of XP followed by upgrade to Vista (yes, I purchased the upgrade) was required since the drivers were too different. &amp;nbsp;Anyhoo, this is a fairly basic system, not a lot of apps installed, yet, but everything has been updated through tonight, so I was wondering is this was normal b/c I don't have a lot installed other than Vista, Firefox, Thunderbird, and Sunbird, along with a few tweaking apps?&lt;/p&gt;</description></item><item><title>re: KB928365 for MS07-040 Leaves Some Managed Applications Sluggish</title><link>http://blogs.msdn.com/heaths/archive/2007/07/13/kb928365-for-ms07-040-leaves-some-managed-applications-sluggish.aspx#3865736</link><pubDate>Sat, 14 Jul 2007 16:56:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3865736</guid><dc:creator>Mike Dimmick</dc:creator><description>&lt;p&gt;You need admin privileges to do this on Windows 2000 and later as well.&lt;/p&gt;</description></item><item><title>re: KB928365 for MS07-040 Leaves Some Managed Applications Sluggish</title><link>http://blogs.msdn.com/heaths/archive/2007/07/13/kb928365-for-ms07-040-leaves-some-managed-applications-sluggish.aspx#3869022</link><pubDate>Sat, 14 Jul 2007 21:44:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3869022</guid><dc:creator>Heath Stewart</dc:creator><description>&lt;p&gt;Christopher: the CLR team might have some good reason for that, but I can't really say what that might be. You could ask in &lt;a rel="nofollow" target="_new" href="http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=44&amp;amp;SiteID=1"&gt;http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=44&amp;amp;SiteID=1&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;John: dependent assemblies of ehiProxy.dll and ehiPlay.dll are missing. These files appear to belong to Windows Media Center. If you look in %WINDIR%\assembly do you see stdole? If not, you might get it from another machine. I'm not sure how it might've went missing, but appears to have done just that.&lt;/p&gt;
&lt;p&gt;Mike: you need admin privileges on all NT-based platfors, including 2000, XP, 2003, and Vista. I mentioned &amp;quot;elevated&amp;quot;, however, since on Vista and newer an admin doesn't have full privileges unless they are running in an elevated process. So, even as an admin, you could perform certain operations. See &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/heaths/archive/2006/10/20/impersonating-the-right-token-in-vista.aspx"&gt;http://blogs.msdn.com/heaths/archive/2006/10/20/impersonating-the-right-token-in-vista.aspx&lt;/a&gt; for more details with additional links to topics on MSDN.&lt;/p&gt;
</description></item><item><title>KB928365 - not just sluggish.</title><link>http://blogs.msdn.com/heaths/archive/2007/07/13/kb928365-for-ms07-040-leaves-some-managed-applications-sluggish.aspx#3893096</link><pubDate>Mon, 16 Jul 2007 12:23:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3893096</guid><dc:creator>George Helyar</dc:creator><description>&lt;p&gt;My applications were not just sluggish, but wouldn't even run without recompiling. This was a nightmare to debug (as I use Vista but most of my users don't). If you google KB928365 you find a lot of people with similar problems. Here is an example: &lt;a rel="nofollow" target="_new" href="http://forums.asp.net/t/1132582.aspx"&gt;http://forums.asp.net/t/1132582.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In my case about 90% of my users could not use my C# application, in this user's case the server could not create the ASP.NET page at all.&lt;/p&gt;
&lt;p&gt;If your applications are *just* sluggish, it seems you are pretty lucky.&lt;/p&gt;</description></item><item><title>re: KB928365 for MS07-040 Leaves Some Managed Applications Sluggish</title><link>http://blogs.msdn.com/heaths/archive/2007/07/13/kb928365-for-ms07-040-leaves-some-managed-applications-sluggish.aspx#3919257</link><pubDate>Tue, 17 Jul 2007 19:23:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3919257</guid><dc:creator>Heath Stewart</dc:creator><description>&lt;p&gt;George: the absense of native images won't prevent an application from running, only that they must first be JIT'd. Something else is likely wrong. Could you run fuslogvw.exe from the SDK's bin directory, make sure it's enabled, then run your application again. Refresh fuslogvw.exe and see if it says any assemblies are missing.&lt;/p&gt;
</description></item><item><title>re: KB928365 for MS07-040 Leaves Some Managed Applications Sluggish</title><link>http://blogs.msdn.com/heaths/archive/2007/07/13/kb928365-for-ms07-040-leaves-some-managed-applications-sluggish.aspx#4034409</link><pubDate>Tue, 24 Jul 2007 23:55:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4034409</guid><dc:creator>Jason Zubrick</dc:creator><description>&lt;p&gt;We've also experienced a problem with this patch and the BinaryReader using the PeekChar() method. &amp;nbsp;It seems that this path somehow has affected the encoding under the covers and it results in incorrect data being passed by the reader. &amp;nbsp;The end result was refactoring our application to NOT use the PeekChar() method.&lt;/p&gt;</description></item><item><title>re: KB928365 for MS07-040 Leaves Some Managed Applications Sluggish</title><link>http://blogs.msdn.com/heaths/archive/2007/07/13/kb928365-for-ms07-040-leaves-some-managed-applications-sluggish.aspx#4036153</link><pubDate>Wed, 25 Jul 2007 03:09:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4036153</guid><dc:creator>Heath Stewart</dc:creator><description>&lt;p&gt;Jason, the problem is that binary data should not be treated as text and fixes in the Encoding classes uncovered problem areas that did this. Please read &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/shawnste/archive/2005/09/26/474105.aspx"&gt;http://blogs.msdn.com/shawnste/archive/2005/09/26/474105.aspx&lt;/a&gt;.&lt;/p&gt;
</description></item><item><title>re: KB928365 for MS07-040 Leaves Some Managed Applications Sluggish</title><link>http://blogs.msdn.com/heaths/archive/2007/07/13/kb928365-for-ms07-040-leaves-some-managed-applications-sluggish.aspx#4037124</link><pubDate>Wed, 25 Jul 2007 05:20:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4037124</guid><dc:creator>Josh</dc:creator><description>&lt;p&gt;John: The error you describe with ehiProxy and the like is on all Vista boxes with Media Center. &amp;nbsp;See &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/astebner/archive/2006/08/06/690489.aspx"&gt;http://blogs.msdn.com/astebner/archive/2006/08/06/690489.aspx&lt;/a&gt; for an explanation.&lt;/p&gt;</description></item><item><title>re: KB928365 for MS07-040 Leaves Some Managed Applications Sluggish</title><link>http://blogs.msdn.com/heaths/archive/2007/07/13/kb928365-for-ms07-040-leaves-some-managed-applications-sluggish.aspx#4160802</link><pubDate>Wed, 01 Aug 2007 08:15:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4160802</guid><dc:creator>George Helyar</dc:creator><description>&lt;p&gt;Heath: The only fix was to recompile the application.&lt;/p&gt;
&lt;p&gt;The actual error that almost all of my users received was something like &amp;quot;Unable to find a runtime version to run this application&amp;quot;.&lt;/p&gt;
&lt;p&gt;This only happened to users after installing the security update, and after removing the update the application worked again. It is a .net 1.1 application for compatibility. Recompiling with the update installed on a 1.1 compiler allows it to run, but the old application (compiled before the update, run after the update) still does not work.&lt;/p&gt;</description></item><item><title>re: KB928365 for MS07-040 Leaves Some Managed Applications Sluggish</title><link>http://blogs.msdn.com/heaths/archive/2007/07/13/kb928365-for-ms07-040-leaves-some-managed-applications-sluggish.aspx#4170865</link><pubDate>Wed, 01 Aug 2007 18:42:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4170865</guid><dc:creator>Heath Stewart</dc:creator><description>&lt;p&gt;George: thanks for reporting this. I'm not sure we've seen that problem and I'll report it immediately. Could you go to &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/heaths/contact.aspx"&gt;http://blogs.msdn.com/heaths/contact.aspx&lt;/a&gt; and send me your contact detail for follow up?&lt;/p&gt;
&lt;p&gt;We also have a list of reported problems for both KB928365 (.NET 2.0) and KB928366 (.NET 1.1 SP1) at &lt;a rel="nofollow" target="_new" href="http://support.microsoft.com/kb/928365"&gt;http://support.microsoft.com/kb/928365&lt;/a&gt; and &lt;a rel="nofollow" target="_new" href="http://support.microsoft.com/kb/928366"&gt;http://support.microsoft.com/kb/928366&lt;/a&gt;, respectively. Leaving managed applications sluggish (most notable for WPF applications) was, unfortunately, just one of the problems encountered.&lt;/p&gt;
</description></item></channel></rss>