简体   繁体   English

Microsoft.VisualStudio.Web.Host.exe使用Visual Studio 2012 / WIn7锁定32位进程

[英]Microsoft.VisualStudio.Web.Host.exe locking 32-bit processes with Visual Studio 2012/WIn7

I have Windows 7/64 Pro box with Visual Studio 2012 Ultimate, revised to Update 4, with a problem. 我有Visual Studio 2012 Ultimate的Windows 7/64 Pro包,修改为Update 4,但有问题。

Over the last week, I've started experiencing a problem that was originally tolerable, but now has grown worse to a matter of unusability, and I'm in need of some (any?) suggestions. 在过去的一周里,我开始遇到一个原本可以忍受的问题,但是现在已经变得更糟糕到无法解决的问题,而且我需要一些(任何?)建议。 It may turn out this is more appropriate over as a Microsoft issue moreso than a purely programming issue, but I thought perhaps someone might have experienced the issue, hence I'm taking a shot here. 事实证明,这比微软的问题更适合于纯粹的编程问题,但我想也许有人可能已经遇到过这个问题,因此我在这里采取行动。

The problem: The VS2012 IDE, moments after starting, seizes with no solution or project loaded, going into "Not Responding" mode, never to return. 问题:VS2012 IDE,启动后不久,没有解决方案或项目加载,进入“无响应”模式,永远不会返回。 Worse, however, is that when this occurs, it blocks the OS from starting any 32-bit processes, and 64-bit processes aren't exactly responsive. 然而,更糟糕的是,当发生这种情况时,它会阻止操作系统启动任何 32位进程,并且64位进程并不完全响应。

This had occurred only once or twice in the last week, and thus I assumed it was an odd/one-off situation and didn't think it was a chronic problem. 这在上周只发生过一次或两次,因此我认为这是一个奇怪/一次性的情况,并不认为这是一个长期问题。 Today became chronic. 今天成了慢性病。 Whereas over the last few days this symptom was unusual, today it prevented me from working in VS2012 all day. 虽然在过去的几天里这种症状很不寻常,但是今天它让我无法全天在VS2012工作。 The VS2012 IDE would be responsive for a brief time, then seize up. VS2012 IDE将在短时间内响应,然后抓紧。

Doing a bit of research on the nature of the issue, and observing it didn't occur until I started VS2012, I began to realize it must be associated with the native VS executable or the ancillary devenv.exe that starts along with it. 做了一些关于问题性质的研究,并且在我开始VS2012之前没有观察它,我开始意识到它必须与本机VS可执行文件或与它一起启动的辅助devenv.exe相关联。 The real culprit, however, was the Microsoft.VisualStudio.Web.Host.exe executable that provides the web version of the VS hosting environment that was causing the problem. 然而,真正的罪魁祸首是Microsoft.VisualStudio.Web.Host.exe可执行文件,它提供导致问题的VS托管环境的Web版本。

When the VS2012 IDE would seize, killing the Web.Host.exe process would immediately free the IDE for a time, and allow any "queued" 32-bit apps to start. 当VS2012 IDE占用时,杀死Web.Host.exe进程会立即释放IDE一段时间,并允许任何“排队”的32位应用程序启动。 However, the symptom would return as soon as the web hosting process restarted. 但是,一旦Web托管进程重新启动,症状就会恢复。

I have updated VS2012 to Update 4, and performed a repair installation of VS2012, and nothing has changed. 我已经将VS2012更新到Update 4,并执行了VS2012的修复安装,但没有任何改变。 There are no errors in the event logs that would indicate hardware issues (such as a hard drive failure) or any other lower-level/organic OS issues. 事件日志中没有错误表明硬件问题(例如硬盘驱动器故障)或任何其他较低级别/有机操作系统问题。 There's really nothing to configure (that I know of) on the web host process side, so short of a complete reinstall of VS2012, I'm not sure what else to try. 在Web主机进程方面确实没有配置(我知道),所以没有完全重新安装VS2012,我不知道还有什么可以尝试。

I saw a fleeting resemblance to this error in a Microsoft Connect forum, but the symptoms were not, in fact, identical, and the prescribed fix (VS2012 up to Update 4) was to no avail. 我在Microsoft Connect论坛中看到了与此错误略有相似之处,但实际上症状并不相同,并且规定的修复(VS2012直到更新4)无济于事。

Edit: Minor bit of additional information - the only unusual element that might prove an "x-factor" in this situation is the recent switch to TFS - within the last week - frighteningly coincident with the onset of the problem. 编辑: 一些额外的信息 - 在这种情况下唯一可能证明是“x因子”的不寻常因素是最近一次切换到TFS - 在上周内 - 与问题的发生可怕地重合。 But thinking the SCC provider would be less interested in the content than supporting things like Intellisense, debugging, and the like, I had a tough time convincing myself it would be a player. 但是考虑到SCC提供商对内容的兴趣不如支持Intellisense,调试等等,我很难说服自己会成为一名玩家。 At this point, however, who knows. 然而,在这一点上,谁知道。

Any suggestions appreciated. 任何建议赞赏。

Regret that I can only offer a general solution for this - after updating to Update 4, I then performed a Repair Install of Visual Studio 2012, and since that time, this lockup problem has not recurred. 很遗憾,我只能为此提供一般解决方案 - 在更新到Update 4之后,我执行了Visual Studio 2012的修复安装 ,从那时起,这个锁定问题没有再次发生。 I can't say if a particular library was updated or reinstalled, or if some configuration setting was changed, but either way (so far) VS 2012 is happy and I'm working again. 我不知道是否更新或重新安装了某个特定的库,或者是否更改了某些配置设置,但无论哪种方式(到目前为止)VS 2012都很高兴并且我再次工作。 Will update with more information if I find it. 如果我找到它,将更新更多信息。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 vs 2013 Update 5在打开项目Microsoft.VisualStudio.Web.Host.exe后崩溃 - vs 2013 update 5 crash after open projects, Microsoft.VisualStudio.Web.Host.exe 为什么在Visual Studio 2012中禁用了“首选32位”复选框? - Why is the checkbox 'Prefer 32-bit' disabled in Visual Studio 2012? 无法从 Win7 x64 上的 32 位进程启动屏幕键盘 (osk.exe) - Unable to launch onscreen keyboard (osk.exe) from a 32-bit process on Win7 x64 Visual Studio 2010/2012:32位还是64位? - Visual Studio 2010/2012: 32 or 64 bit? 在Win7 32位上使用Gtk#进行国际化 - Internationalisation with Gtk# on Win7 32 Bit 如何编译32位(我的操作系统是64位) - 错误exe不是一个有效的Win32应用程序 - How to compile 32-bit (my OS is 64-bit) - Error exe is not a valid Win32 application Visual Studio 中的“首选 32 位”在控制台应用程序 (.NET Core) 下生成 64 位代码 - 'Prefer 32-bit' in Visual Studio Generates 64-bit Code Under Console App (.NET Core) 使用Visual Studio 2010时,32位和64位操作系统之间的性能差异? - Performance difference between 32-bit and 64-bit OS when i use Visual Studio 2010? MVC Web服务返回-32位过程中不支持Microsoft SharePoint - MVC Web Service returns - Microsoft SharePoint is not supported in 32-bit process 如何使用沙盒控制台应用程序,Visual Studio 2012 停止 .exe 的文件锁定 - How to stop file locking of .exe with a Sandbox Console Application, Visual Studio 2012
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM