我在服务器中运行了命令“%windir%\system32\inetsrv\appcmd list requests /elapsed:1000
”并遇到以下错误:
错误< hresult:80004001,消息:命令执行失败。不 实施
答案 0 :(得分:12)
在设置时,似乎没有包含某些IIS功能。
Right Click on My Computer and Select Manage.This will open Server Manager
Select Manage and Choose Add Roles/Features
Select Installation Type Role-Based/ feature based installation,Click next
Select server,Click next
Select server roles and you should see Web Server(IIS)->Web Server->Health and Diagnostics
Check Request Monitor and tracing