设为首页 收藏本站
查看: 910|回复: 0

[经验分享] windows7 配置iis技巧

[复制链接]

尚未签到

发表于 2015-8-15 07:18:04 | 显示全部楼层 |阅读模式
  今天把开发环境一直到Windows7下,在IIS7.5中部署站点的时候遇到了这个问题,现在把我的解决方案贴出来。

  

  错误信息:

  Server Error in Application "DEMOSITE"

Internet Information Services 7.5

  Error Summary

HTTP Error 500.23 - Internal Server Error

An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.

Detailed Error Information

Module ConfigurationValidationModule

Notification BeginRequest

Handler PageHandlerFactory-Integrated

Error Code 0x80070032

  Requested URL http://localhost:80/Default.aspx

Physical Path F:\Projects\*\Default.aspx

Logon Method Not yet determined

Logon User Not yet determined



Most likely causes:

This application defines configuration in the system.web/httpHandlers section.



Things you can try:

Migrate the configuration to the system.webServer/handlers section. You can do so manually or by using AppCmd from the command line - for example, %SystemRoot%\system32\inetsrv\appcmd migrate config "Default Web Site/". Using appcmd to migrate your application will enable it to work in Integrated mode, and continue to work in Classic mode and on previous versions of IIS.

If you are certain that it is OK to ignore this error, it can be disabled by setting system.webServer/validation@validateIntegratedModeConfiguration to false.

Alternatively, switch the application to a Classic mode application pool -
for example, appcmd set app "Default Web Site/" /applicationPool:"Classic .NET AppPool". Only do this if you are unable to migrate your application.

(Set "Default Web Site" and "Classic .NET AppPool" to your application path and application pool name)

Links and More InformationIntegrated mode is the preferred mode for running ASP.NET applications on IIS 7.0 and above.

View more information »












解决办法:



1、打开ISS,进入









在右侧列表中找到“高级设置” Advanced Setting 打开,找到 “应用程序池”

Application Pool 一栏。








  接下来介绍两种解决办法:

  方法一、将Application pool 设置为 "Classic .Net AppPool" 即可;









方法二、找到对应的 应用程序池(Application pool )的名字,我这里是 demosite

在IIS主页,找到 "Application Pools"





在中间列表中打开 "demosite",将 Managed pipeline mode 由 Integrated 改为 Classic 即可,如下图







问题解决!





为了您的安全,请只打开来源可靠的网址  打开网站    取消

来自: http://hi.baidu.com/lwj531/blog/item/0e77cff2be27421bb07ec517.html

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-99094-1-1.html 上篇帖子: 代码创建IIS站点 下篇帖子: 在VS2013中强制IIS Express应用程序池使用经典模式
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表