There are two immediate thoughts: (1) is Integrated Windows enabled on the server as a feature in the role (2) is the authentication configured in the right part of web.config? IIS7 stores some of its configuration is web.config, and moving from IIS6 to IIS7 often involves adding extra information.
A lot of the settings in the web.config move from system.web to system.webserver when changing from classic mode to integrated mode. For example custom httpmodules move into system.webserver. Do you have any httpmodules that are handling custom authentication?
发布评论
评论(2)
有两个直接的想法:(1) 是否在服务器上启用集成 Windows 作为角色中的一项功能 (2) 身份验证是否在 web.config 的右侧部分配置? IIS7 将其一些配置存储在 web.config 中,从 IIS6 迁移到 IIS7 通常需要添加额外的信息。
另请参阅:http://forums.iis.net/t/1153827.aspx
There are two immediate thoughts: (1) is Integrated Windows enabled on the server as a feature in the role (2) is the authentication configured in the right part of web.config? IIS7 stores some of its configuration is web.config, and moving from IIS6 to IIS7 often involves adding extra information.
See also: http://forums.iis.net/t/1153827.aspx
从经典模式更改为集成模式时,web.config 中的许多设置都会从 system.web 移动到 system.webserver。例如,自定义 httpmodules 移动到 system.webserver 中。你有处理自定义身份验证的 httpmodules 吗?
A lot of the settings in the web.config move from system.web to system.webserver when changing from classic mode to integrated mode. For example custom httpmodules move into system.webserver. Do you have any httpmodules that are handling custom authentication?