我在设置本地站点时遇到问题。
I am having an issue setting up a local site.
该项目正在使用ASP.NET Framework 4.0,我使用DefaultAppPool将4.0与托管管道模式一起使用as integrated。
The project is using ASP.NET Framework 4.0 and I have my DefaultAppPool to use 4.0 with Managed Pipeline Mode as Integrated.
这是我得到的错误:
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 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框架3.5.1并没有关于4.0的东西我有什么遗漏?
Under Control Panel -> Programs -> Turn Window features on / off all I see is Microsoft .NET Framework 3.5.1 and nothing regarding 4.0 is there something I am missing?
推荐答案您是否在IIS中注册了.NET? 如果没有运行以下命令:
Did you register .NET with IIS? If not run the following commands:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i您需要从提升的命令提示符(...以管理员身份运行)执行此操作。
You need to do this from an elevated command prompt (...run as admin).
更多推荐
ASP.NET IIS 7.5 HTTP 500.21错误
发布评论