我在设置本地站点时遇到了问题。
该项目使用 ASP.NET Framework 4.0,我的 DefaultAppPool 使用 4.0,并将托管管道模式设置为集成。
这是我收到的错误信息:
HTTP Error 500.21 - Internal Server Error
Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list
Module IIS Web Core
Notification ExecuteRequestHandler
Handler PageHandlerFactory-Integrated
Error Code 0x8007000d
Requested URL http://localhost:80/default.aspx
Physical Path C:\Snugabye\Website\default.aspx
Logon Method Anonymous
Logon User Anonymous
Most likely causes:
Managed handler is used; however, ASP.NET is not installed or is not installed completely.
There is a typographical error in the configuration for the handler module list.
Things you can try:
Install ASP.NET if you are using managed handler.
Ensure that the handler module's name is specified correctly. Module names are case-sensitive and use the format modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule".
在控制面板 -> 程序 -> 打开 / 关闭窗口功能下,我只看到了Microsoft .NET Framework 3.5.1,没有关于4.0的选项,请问我有什么遗漏吗?