我在历经千辛万苦成功安装了Microsoft visual studio express for web 后,加载项目运行发现IIS Express无法启动,
1.首先查看事件管理器,发现有错误如下
2.然后安装IIS 服务器报错,卸载重装N次无果
3.按照网上
启动iis7管理服务器提示:无法启动计算机上的服务W3SVC
启动Windows Process Activation Service服务,报错:6801 指定资源管理器中的事务支持未启动或已关闭
启动world wide web publishing service服务,报错:1068:依赖服务或组无法启动
修复错误
运行命令提示符 fsutil resource setautoreset true c:\
打开运行输入 services.msc
启动Windows Process Activation Service服务
再启动world wide web publishing service服务
再启动iis7就可以了
1.启动Windows Process Activation Service报错,然后在windows添加或删除功能中安装Windows Process Activation Service
2.然后启动world wide web publishing service提示无法加载依赖项
然后按照
Well finally after a week struggle, i came to a solution. I am listing down the steps which i followed to solve my error
1- Confirm that "Windows Management Instrumentation" is started and its start up type is set to automatic.
2- Also make sure the following dependency services are started for World Wide Web Publishing Service.
Windows Process Activation Service, Remote Procedure Call (RPC), DCOM Server Process Launcher, RPC Endpoint Mapper.
3- Open regedit, navigate to [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP]: a) Double click on Start and change value data from 4(disabled) to 3(automatically). b) Delete "NoRun" key if this key exists
4- UN-install "Internet information Service" and "Windows process activation service(if it is already installed)" from "Turn windows feature on or off" and Restart your PC.
5- Type the below command in CMD and press enter net start http Now it will notify you that service is already running.
6- Re-install Internet information Service from "Turn windows feature on or off".
7- Start IIS and my websites are started now, no more "w3svc service is not running error."
在第6步net start http报错,提示找不到服务修改注册表重启后,可以正常启动IIS Express了