EDITBIN给LNK1104(无法打开文件) [英] EDITBIN gives LNK1104 (cannot open file)

查看:438
本文介绍了EDITBIN给LNK1104(无法打开文件)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用下面的命令

EDITBIN /STACK:1048576 w3wp.exe

但面临着以下问题:

but facing following issue:

fatal error LNK1104: cannot open file w3wp.exe

我查w3wp.exe的是present 窗/ SYSTEM32 / INETSRV 文件夹中。

推荐答案

了解您用明确创建线程解决方法解决您的问题(presumably堆栈溢出异常),这里的实际问题的解答:

Understanding that you addressed your issue (presumably a Stack Overflow Exception) with the explicitly-create-threads workaround, here's the actual answer to your question:

提供的错误(无法打开文件的w3wp.exe)是,如上所述,文件访问错误或某种。文档( http://msdn.microsoft.com/en-us/library/ ts7eyw4s.aspx )列出了各种此错误的可能原因,但你很可能遇到的三个问题之一:

The error provided ("cannot open file w3wp.exe") is, as described, a file access error or some sort. The documentation (http://msdn.microsoft.com/en-us/library/ts7eyw4s.aspx) lists all sorts of possible causes for this error, but you are likely encountering one of three issues:


  • 也许文件正在使用中,因为进程正在运行(请确保你停止的w3wp.exe的所有实例您SYSTE运行,无论是谁开始的过程中 - 例如通过手动停止所有应用程序池)。

  • 也许你没有权限编辑这个文件,因为你没有启动VS命令提示符以管理员身份。

  • 也许你没有权限,因为它是由的TrustedInstaller拥有编辑文件,甚至是Administrators组没有写权限。如果是这种情况,则修改该文件则需要改变所有者(例如<一href=\"http://helpdeskgeek.com/windows-7/windows-7-how-to-delete-files-protected-by-trustedinstaller/\" rel=\"nofollow\">http://helpdeskgeek.com/windows-7/windows-7-how-to-delete-files-protected-by-trustedinstaller/)

  • Maybe the file is in use because the process is running (make sure you stop all instances of w3wp.exe running on your syste, regardless of who started the process - eg by stopping all application pools manually).
  • Maybe you do not have permissions to edit the file because you did not start the VS command prompt "As Administrator".
  • Maybe you do not have permissions to edit the file because it is owned by "TrustedInstaller", and even the "Administrators" group does not have write access. If this is the case, then to modify the file you would need to change the owner (eg http://helpdeskgeek.com/windows-7/windows-7-how-to-delete-files-protected-by-trustedinstaller/)

我不得不处理这三个问题能够真正更改IIS默认的最大堆栈大小在Windows 7上。

I had to deal with all three of these issues to be able to actually change the default max stack size in IIS on Windows 7.

但正如你提到的,明确创建线程通常会是一个更好的主意,如果你能做到这一点,因为这将避免每一个Windows更新修改它的时间手工修补w3wp.exe的文件服务器维护开销。

But as you noted, the explicit thread creation will usually be a better idea if you CAN do this, as it will avoid the server-maintenance overhead of manually patching the w3wp.exe file every time a windows update modifies it.

这篇关于EDITBIN给LNK1104(无法打开文件)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆