Internet Explorer无法在IIS7中显示网页 [英] Internet explorer cannot display the webpage in IIS7

查看:72
本文介绍了Internet Explorer无法在IIS7中显示网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


在我的Web应用程序中,我正在使用表单身份验证,并且在我的本地计算机上工作正常.在IIS7.0上部署代码后,它会工作一段时间,有时却不能.当我运行该应用程序时,它将为我提供登录页面,并在输入凭据后大约1分钟后显示为"Internet Explorer无法显示该网页".
以下是我的web.config设置.

 <  身份验证   模式  ="  > 
      <  表单    ="   Login.aspx" 
             保护  ="  
 
                     span>       超时   30 " 
                     名称  . ASPXAUTH"  
 
                     span>       路径  /" 
                     span>        requireSSL    false " 
                     span>        slidingExpiration    true " 
                   span>        defaultUrl    SDAuditUI .aspx"  
 
                     span>       无cookie    UseDeviceProfile " 
                   span>        enableCrossAppRedirects    false " / <  /authentication  > 
    <  授权 > 
      <  拒绝    ="  ?" / <  允许    ="   *" / <  /authorization  >  


这些是我在IIS7.0中的应用程序池
托管管道模式:集成
身份:NetworkService

请确认IIS7.0中缺少的设置在哪里?

解决方案

检查您的IIS是否具有所需的身份验证.默认情况下,IIS 7没有安装所有身份验证.
还要在IIS中检查您的应用程序池.

missing-windows-authentication-provider-for-iis-7-on-windows-server-2008.aspx [ installing-iis -7-on-windows-server-2008-or-windows-server-2008-r2/ [ Below are my web.config settings.

<authentication mode="Forms">
      <forms loginUrl="Login.aspx"

      protection="All"

           timeout="30"

           name=".ASPXAUTH"

           path="/"

           requireSSL="false"

           slidingExpiration="true"

           defaultUrl="SDAuditUI.aspx"

           cookieless="UseDeviceProfile"

           enableCrossAppRedirects="false" />
    </authentication>
    <authorization>
      <deny users="?" />
      <allow users="*" />      
    </authorization>    


These are my settting is Appliacation pool in IIS7.0
Managed Pipelinemode: Integragrated
Identity: NetworkService

Please adive where are the settings I am missing in IIS7.0

解决方案

Check if your IIS has the authentication you need. By default IIS 7 does not have all the authentication installed.
Also check your app pool in the IIS.

missing-windows-authentication-provider-for-iis-7-on-windows-server-2008.aspx[^]

installing-iis-7-on-windows-server-2008-or-windows-server-2008-r2/[^]


这篇关于Internet Explorer无法在IIS7中显示网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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