IIS 8.0和ASP.NET错误500.19 [英] IIS 8.0 ASP.NET and Error 500.19

查看:370
本文介绍了IIS 8.0和ASP.NET错误500.19的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我似乎无法得到任何ASP.NET网站在Windows 8 IIS8下运行在IIS下防爆preSS他们都很好,但我有:

I can't seem to get any ASP.NET sites to run under IIS8 on Windows 8. Under IIS Express they are fine, but I've:


  1. 安装IIS8

  2. 安装了ASP.NET 3.5和4.5功能在IIS

  3. 创建一个有效的应用程序池

  4. 添加IIS管理器指向我的网站新的应用程序

但我得到:
HTTP错误500.19 - 内部服务器错误
所请求的页面无法访问,因为该页的相关配置数据无效。

But I get: HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.

配置源:
-1:
0:

Config Source: -1: 0:

任何想法?

推荐答案

ASP.Net应用程序来pre-有线与在web.config一个处理程序部分。

ASP.Net applications come pre-wired with a handlers section in the web.config.

在默认情况下,它被设置为IIS中的功能委派中是只读的。

By default, this is set to readonly within feature delegation within IIS.

以在IIS管理器一看,服务器名称下的→功能委派的。
如果处理程序映射设置为只读,并且你的网站web.configs有一个处理程序部分,翻转为读/写,并看看会发生什么价值。

Take a look in IIS Manager, under the Server nameFeature delegation. If Handler Mappings is set to readonly and your site web.configs have a handlers section, flip the value to read/write and see what happens.

迁移至Windows 8 / IIS 8 / ASP.Net MVC 4时为我工作。

Worked for me when moving to Windows 8 / IIS 8 / ASP.Net MVC 4.

这篇关于IIS 8.0和ASP.NET错误500.19的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆