[英]“The application was unable to start correctly (0xc000007b). Click ok to close the application.”
I am getting the error message in the title on a VPS running Windows Server 2008 R2 Enterprise SP1 when I try to open Visual Studio 2010. Things were working fine in the beginning even after I installed SQL Server 2012 and VS 2013. 当我尝试打开Visual Studio 2010时,我在运行Windows Server 2008 R2 Enterprise SP1的VPS的标题中收到错误消息。即使在我安装了SQL Server 2012和VS 2013之后,一切正常。
In trying to resolve this, I found others who had this issue stating that the 32 bit version of the msvcp100, msvcp100d, msvcr100, msvcr100d, and msvcr100_clr0400 DLLs in the SysWOW64 folder were overwritten somehow with the 64 bit version. 在尝试解决此问题时,我发现有其他人遇到此问题,说明SysWOW64文件夹中的32位版本的msvcp100,msvcp100d,msvcr100,msvcr100d和msvcr100_clr0400 DLL以64位版本被覆盖。 So, I downloaded the 32 bit version and replaced them with no luck.
所以,我下载了32位版本并替换它们没有运气。 I, also, removed the versions in the system32 folder.
我也删除了system32文件夹中的版本。 This didn't work either so I put the originals back.
这也不起作用,所以我把原件放回原处。
I, also, performed a full clean uninstall of Visual Studio 2010, then, I reinstalled VS 2010 Shell Integrated; 我也执行了完全干净的Visual Studio 2010卸载,然后,我重新安装了VS 2010 Shell Integrated; Visual Studio still will not start and gives the same error.
Visual Studio仍然无法启动并给出相同的错误。
Can anyone help me to resolve this issue? 任何人都可以帮我解决这个问题吗? If it is a problem with a DLL, does anyone know of a tool to help me narrow down exactly what DLL(s) are causing the problem?
如果它是一个DLL的问题,有没有人知道一个工具,以帮助我缩小究竟是什么DLL导致问题?
Any help would be greatly appreciated. 任何帮助将不胜感激。 Thanks!!!
谢谢!!!
Using the Dependency Walker tool and finding a post that provided a little information on how to use the tool, I figured out that I had a 64-bit version of the ATL100.DLL instead of the 32-bit version. 使用Dependency Walker工具并找到提供有关如何使用该工具的一些信息的帖子,我发现我有一个64位版本的ATL100.DLL而不是32位版本。 This file went missing earlier and I unknowingly downloaded and replaced it with a 64-bit version.
这个文件早先丢失了,我在不知不觉中下载并用64位版本替换它。
I've looked around for details on this issue, and haven't found anything conclusive. 我已经四处寻找有关这个问题的详细信息,但没有找到任何结论。 One post, from a Microsoft support technician, states this:
一篇来自Microsoft支持技术人员的帖子指出:
"From your error 0xc000007b I found that the error means this: "STATUS_INVALID_IMAGE_FORMAT" ".
“从你的错误0xc000007b我发现错误意味着:”STATUS_INVALID_IMAGE_FORMAT“”。
The error message is probably referring to a file image - most likely one of the MS VS SDK DLL's. 错误消息可能是指文件映像 - 很可能是MS VS SDK DLL之一。 The exact file name should be in the Windows Event Logs - Application section.
确切的文件名应该在Windows事件日志 - 应用程序部分中。 If not, they are probably in a log file (in your %temp% area).
如果没有,它们可能位于日志文件中(在%temp%区域中)。
Assuming you can't find the file name: Have you tried a repair of all the VS 2010 SDK's? 假设您找不到文件名:您是否尝试过修复所有VS 2010 SDK? If a file has been updated (via MS installer) since the install of MS VS, it will not be rolled back via install - even if it's invalid.
如果自安装MS VS后文件已经更新(通过MS安装程序),它将不会通过安装回滚 - 即使它无效。 It won't be removed if you uninstall, either, since another app installed/updated it.
如果您卸载它也不会被删除,因为另一个应用程序已安装/更新它。 You need to force this via repair (in "Programs and Features)".
您需要通过修复强制执行此操作(在“程序和功能”中)。
Update: MS Repair Tool for .NET Components - Not sure if it's just .NET libs or if it scans VC++/VC#/etc. 更新: 用于.NET组件的MS修复工具 - 不确定它是否只是.NET库或是否扫描VC ++ / VC#/等。 I'm still searching for a similar tool for other MS components.
我还在为其他MS组件寻找类似的工具。
ALSO: If none of that helps, try the following: 另外:如果这些都没有帮助,请尝试以下方法:
-Force the error to occur, and leave the process running (VS 2010) with its error message - 强制发生错误,并使进程运行(VS 2010)及其错误消息
-Pull up Process Explorer (utility from Microsoft - sysinternals.com) and select that process - 启动Process Explorer(Microsoft的实用程序 - sysinternals.com)并选择该进程
-Enable DLL view for the lower pane - 下部窗格的启用DLL视图
-Look through the DLL's, and there should be one in there with an odd date, and perhaps in an odd location (like in the VS 2010 folder, and not System32.) - 浏览DLL,并且应该有一个奇怪的日期,也许在一个奇怪的位置(如在VS 2010文件夹中,而不是System32。)
-Close VS 2010 (and its error message) -Close VS 2010(及其错误消息)
-Move any DLL's that don't live under system32/syswow64 to a temp location (don't forget where you got them!) - 将任何不在system32 / syswow64下的DLL移动到临时位置(不要忘记你得到它们的位置!)
-Launch VS 2010 again - 再次启动VS 2010
LATEST CONTENT: 最新内容:
Try this for better logging - launch VS2010 like this: 试试这个以获得更好的日志记录 - 像这样启动VS2010:
devenv.exe /Log devenv.exe / Log
Log goes here: 日志在这里:
%APPDATA%\\Roaming\\Microsoft\\VisualStudio\\\\ActivityLog.xml %APPDATA%\\漫游\\微软\\ VisualStudio的\\\\ ActivityLog.xml
More devenv.exe switches in the [source web page] 2 . 更多devenv.exe在[源网页]中切换2 。
For me I got same issue, The problem was due to 32/64-bit mismatches of various system dlls required by Visual studio. 对我来说,我有同样的问题,问题是由于Visual Studio所需的各种系统dll的32/64位不匹配。 Somehow the dlls it needs got replaced by 64-bit versions that it couldn't load.
不知何故,它需要的dll被无法加载的64位版本所取代。 I uninstalled x64 vc++2013 redistribute and installed x86 and it started working.
我卸载了x64 vc ++ 2013重新分发并安装了x86,它开始工作了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.