zoukankan      html  css  js  c++  java
  • IIS配置技巧

    一、运行aspx页面,显示错误

    Server Application Unavailable

    The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.

    Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.

    原因:在安装IIS前,安装了Net

    解决方法:

    开始 >> 运行 >> CMD >> CD C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ >> aspnet_regiis.exe -i

    >> CD C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\ >> aspnet_regiis.exe -i

    “setup has detected some errors during the operation. for details, please read the setup log file aspnetsetup_00008.log”

    二、Iis上某种类型文件无法下载的问题

    1.在IIS服务器属性里的MIME类型,添加.exe(举例说明)   类型   application/octet-stream 

    2.将网站属性里的执行权限设置为纯脚本

     

    三、错误:无法下载Silverlight应用程序。请查看Web服务器设置

    解决办法:

    在IIS的HTTP头中,添加MIME类型:
    .xaml application/xaml+xml
    .xap application/x-silverlight-app

      

        如仍有问题,请检查IE的配置,放开安全里面的Xaml Active 下载等选项

     

    四、127.0.0.1无法访问iis上配置的默认站点,但localhost可以

    1、C:\WINDOWS\system32\drivers\etc中添加

    127.0.0.1 localhost

    2、ie的安全设置中,把127.0.0.1设置为信任

  • 相关阅读:
    oracle拼接函数:将多个字段拼接在一行显示
    Source Insight 自定义命令说明
    harview .har文件解析
    GSM设备和网络错误代码
    mknod 创建设备
    linux下的usb抓包方法
    一些函数
    vmware 软件打开 自动开启虚拟机(快捷方式)
    Unix下C程序内存泄漏检测工具Valgrind安装与使用
    windows vmware 系统自启动
  • 原文地址:https://www.cnblogs.com/smallidea/p/2573221.html
Copyright © 2011-2022 走看看