VS2010、Framework 2.0 和 KB979909 的问题

发布于 2024-09-13 03:40:13 字数 1193 浏览 3 评论 0原文

我们的团队已于周五下午安装了 VS2010。当我周一早上上班时,.Net Framework(特别是其中的 2.0 部分)的安装似乎已损坏。程序抱怨找不到 2.0 程序集,并且我们的主应用程序无法启动。 Reflector 无法启动,因为它找不到 System.Data。

尝试从仍在我的计算机上运行现有 VS2008 版本的解决方案现在也失败了。这在周五运行得很好,而且我还没有更新代码。

我搜索了事件日志,发现周五深夜,机器自动开始安装修补程序 KB979909等。不过,这个很引人注目,因为它安装失败。修补程序说明是:

MS10-041:适用于 Windows 2000、Windows Server 2003 和 Windows XP 的 .NET Framework 3.5 Service Pack 1 和 .NET Framework 2.0 Service Pack 2 的安全更新说明:2010 年 6 月 8 日< /p>

日安装已损坏计算机上的 2.0 框架程序集。

从那时起,更新已自动应用到这里其他开发人员的计算机上,他们现在遇到了同样的问题。我不知道这个修补程序在周五晚上之前是否已经安装在机器上 - 这似乎有点巧合,机器在安装 VS2010 后很快就决定安装它,尽管它似乎同样适用于我的安装VS2010之前的机器。

我删除了 VS2008 和 VS2010 以及所有版本的框架,尝试从头开始。然后我只安装了VS2010。现在机器认为它没有安装任何版本的框架。 VS2010好像还是可以启动的。我尝试安装框架 3.5 SP1,但安装程序失败。

我的调查正在进行中,但我在网络上发现了其他关于此修补程序安装失败的提及,但不是从开发人员角度“哦,天啊,我无法做任何开发工作,我该如何解决这个问题”。

如果有人能帮忙的话,我会给你买一杯虚拟啤酒。如果你在伦敦,我什至可能会给你买一件正品。

编辑:回应评论 - 这是在 XP SP3 32 位、基于 Intel 的系统上。在安装VS2010之前,机器上有VS2008 SP1。没有 VS2005 或更早版本。

有人知道修补程序安装日志吗?查明在安装 VS2010 之前计算机上是否已安装 KB979909 可能会很有趣(因为该修补程序涉及 3.5 SP1 和 2.0 SP2)。

Our team has installed VS2010 on Friday afternoon. When I came into work on Monday morning, it appeared the installation of the .Net Framework (specifically the 2.0 part of it) was corrupted. Programs were complaining that they couldn't find 2.0 assemblies, and our main app was failing to start. Reflector wouldn't start because it couldn't find System.Data.

Trying to run the solution from the existing VS2008 version still on my machine was now failing as well. This was working perfectly fine on Friday, and I hadn't updated the code.

I searched through the event log and found that late Friday night, the machine automatically started installing hotfix KB979909, among others. This one stood out, though, because it failed to install. The hotfix description is:

MS10-041: Description of the security update for the.NET Framework 3.5 Service Pack 1 and for the.NET Framework 2.0 Service Pack 2 for Windows 2000, for Windows Server 2003, and for Windows XP: June 8, 2010

It seems that the installation has corrupted the 2.0 framework assemblies on the machine.

Since then, the update has been automatically applied on other developers' machines here, and they are now getting the same problem. I have no idea whether this hotfix was already on the machine before Friday night - it does seem a bit of a coincidence that the machine decides to install it very soon after installing VS2010, even though it would seem to have been just as applicable to my machine before installing VS2010.

I removed VS2008 and VS2010, and all versions of the framework to attempt to start from scratch. I then installed only VS2010. Now the machine thinks it doesn't have any versions of the Framework installed. VS2010 seems to still start ok. I tried to install framework 3.5 SP1 and the installer fails.

My investigations are ongoing, but I have found other mentions of this hotfix failing installation on the web, but not from a developer angle of "oh sh*t, I can't do any dev work, how do I fix this".

If anyone can help with this, I'll buy you a virtual beer. If you're in London, I might even buy you a real one.

edit: In response the the comment - this is on XP SP3 32 bit, on an Intel based system. Before installing VS2010, the machine had VS2008 SP1. No VS2005 or earlier versions.

Does anyone know of a log of hotfix installations? It may be interesting to find out if KB979909 had already been installed on the machine before VS2010 was installed (as the hotfix relates to 3.5 SP1 and 2.0 SP2).

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

眼藏柔 2024-09-20 03:40:13

不确定日志本身,但 HotFix 卸载文件夹将注明日期...

.. C:\Windows 中的文件夹,格式为 $NtUninstallKB2229593$

Not sure of a log as such, but the HotFix uninstall folders will be dated...

.. the ones in C:\Windows, of the form $NtUninstallKB2229593$

何以心动 2024-09-20 03:40:13

好的,这是另一个想法...

在我的 XP Pro 系统上,修补程序似乎记录在系统事件日志中,位于 Windows Update Agent 源下。

Ok, here's another idea...

On my XP Pro system, it appears that hotfixes are logged in the System Event Log, under a source of Windows Update Agent.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文