近来IIS经常出问题,如ASP不能运行,运行cshtml的文件解释不了,在网上翻了不少资料,知道是windows process activation service的问题。重新安装IIS和windows process activation service都不行,后来找到以下文章:
http://support.microsoft.com/kb/976982
按一下步骤操作,就可正常安装IIS和windows process activation service了。
1、下载dotnetfx_cleanup_tool.zip:http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Components-PostAttachments/00-08-90-44-93/dotnetfx_5F00_cleanup_5F00_tool.zip
2、使用dotnetfx_cleanup_tool把所以.NET FrameWork清除
3、重新启动机器
4、重新安装windows process activation service(如果已安装,先卸载重启后再安装)
5、重新安装.NET FrameWork
只要windows process activation service能正常安装和启动,就能正确安装和使用IIS了。
本文提供了解决IIS运行ASP、解析cshtml文件时出现问题的方法,通过下载并使用dotnetfx_cleanup_tool,清除.NET Framework,重新启动计算机,重新安装相关服务,最终确保IIS能够正常工作。
1万+

被折叠的 条评论
为什么被折叠?



