一定要用Windows自带的记事本编辑 applicationHost.config
2014-11-12 16:07
549 查看
访问IIS时,发生了一个 HipIISEngineStub.dll不能读取的问题。(Windows Event可以确认)。
很容易在网上找到了对策,
http://chrisfleischhacker.wordpress.com/2013/12/16/iis-7-application-pool-stops-hipiisenginestub-dll-failed-to-load/
可是怎么编辑都没能解决问题。
终于, 想起自己4,5年前曾经遇到过这个问题, 有些文件只能用记事本来编辑的。 Notepad++ 或者 EditPlus是不行的。
http://stackoverflow.com/questions/11280076/unable-to-save-applicationhost-config-file
If you're on a 64-bit architecture and trying to edit with a 32-bit editor (e.g. Notepad++) apparently you can't save the file. Try editing your file with the regular notepad that is shipped with Windows. Weird but it did the trick for me.
非常非常的恶心,如果保存不了,你可以出警告呀。 一切的一切都好像保存了似得,而事实上却没有保存。
我该埋怨微软还是编辑器 ?? 太恶心了。 文件就是文件, 你他妈的还32位程序不能用来编辑?
很容易在网上找到了对策,
http://chrisfleischhacker.wordpress.com/2013/12/16/iis-7-application-pool-stops-hipiisenginestub-dll-failed-to-load/
Event log error is: “HipIISEngineStub.dll failed to load. The data is the error.” Edit the IIS 7.0 applicationHost.config file and remove the following configuration lines: Edit %windir%\system32\inetsrv\config\applicationHost.config as Administrator. In the <globalModules> section, remove the following line: <add name=”MfeEngine” image=”%windir%\System32\inetsrv\HipIISEngineStub.dll” /> In the <modules> section, remove the following line: <add name=”MfeEngine” /> Save the file, then restart IIS.
可是怎么编辑都没能解决问题。
终于, 想起自己4,5年前曾经遇到过这个问题, 有些文件只能用记事本来编辑的。 Notepad++ 或者 EditPlus是不行的。
http://stackoverflow.com/questions/11280076/unable-to-save-applicationhost-config-file
If you're on a 64-bit architecture and trying to edit with a 32-bit editor (e.g. Notepad++) apparently you can't save the file. Try editing your file with the regular notepad that is shipped with Windows. Weird but it did the trick for me.
非常非常的恶心,如果保存不了,你可以出警告呀。 一切的一切都好像保存了似得,而事实上却没有保存。
我该埋怨微软还是编辑器 ?? 太恶心了。 文件就是文件, 你他妈的还32位程序不能用来编辑?
相关文章推荐
- [导入]Windows Application的app.config文件
- IIS7: applicationHost.config:requestFiltering
- applicationhostconfig
- 修复IIS:因ApplicationHost.config被破坏导致的崩溃
- WIX: 用XmlConfig修改ApplicationHost.config出错
- 从中性的bytes获取正确的编码(如windows自带的记事本)
- 解决注册.net4.0时出现Changing IIS ApplicationHost.config
- Win7 IIS配置 applicationHost.config 错误:无法识别的特性“setProfileEnvironment” 解决方法
- [记录] Host Office Document In WebBrowser control in a Windows Form Application.
- IIS配置文件的XML格式不正确 applicationHost.config崩溃 恢复解决办法
- 通过C#程序调用 Windows 记事本程序 编辑一个
- Corrupted applicationHost.config file in IIS 7
- C盘空间用完竟然造成applicationHost.config文件内容为空
- Web.Config - create WCF REST Service and host in Windows Azure
- Windows自带记事本的实用技巧
- Corrupted applicationHost.config file in IIS 7
- (转)Windows Form Application 读取并修改App.config文件
- 用Notepad2替换Windows自带记事本
- How to host WPF Control into the Windows Form Application
- Notepad2替换windows自带记事本