vs2013+mvc5 +.net framework 4.5  本地 iisexpress 调试一点问题没有,当部署到本机iis时 出现 无法识别 modules错误,具体错误提示是:

锁定是默认设置的(overrideModeDefault="Deny"),或者是通过包含 overrideMode="Deny" 或旧有的 allowOverride="false" 的位置标记明确设

所以没办法,重装下 iis吧。。。。,通过下面的方案搞定

不用都看完,我装

Installing IIS Features on Windows 8

The following procedure describes how to install IIS and the required features for the Microsoft Dynamics NAV Web client on Windows 8.

To install IIS features on Windows 8

  1. On the Start page, choose Control Panel, and then choose Programs.

  2. Under Programs and Features, choose Turn Windows features on or off.

  3. In the Windows features dialog box, expand .NET Framework 4.5 Advanced Services, and then select ASP.NET 4.5.

  4. Expand WCF Services, and then select HTTP Activation.

  5. If the .NET Framework 3.50 is installed, then expand Microsoft .NET Framework 3.5 (including .NET 2.0 and 3.0), and then select Windows Communication Foundation HTTP Activation.

  6. In the Windows features list, expand Internet Information Services, and then expand World Wide Web Services.

  7. Expand Application Development Features, and select the following features:

    • .NET Extensibility 3.5 (if .NET Framework 3.5 is installed)
    • .NET Extensibility 4.5
    • ASP.NET 3.5 (if .NET Framework 3.5 is installed)
    • ASP.NET 4.5
    • ISAPI Extensions
    • ISAPI Filters
  8. Expand Common HTTP Features, and then select the Static Content feature.

  9. Expand Security, and then select the following features:

    • Request Filtering
    • Windows Authentication
  10. To install Internet Information Service (IIS) Manager, under Internet Information Services, expand Web Management Tools, and then select IIS Management Console.

    This step is optional. You use Internet Information Service IIS Manager to manage local and remote web servers and sites.

  11. Choose the OK button to complete the installation.

  12. To verify that the web server has been installed correctly, start your browser, and then type http://localhost in the address.

    The default web site opens and should display an IIS 8 image.

Installing IIS Features on Windows Server 2012

The following procedure describes how to install IIS and the required features for the Microsoft Dynamics NAV Web client on Windows Server 2012.

To install IIS features on Windows Server 2012

  1. On the Start page, choose Server Manager.

  2. In the navigation pane, choose Dashboard, and then choose Add roles and features.

  3. In the Add Roles and Features Wizard, in the Before You Begin page, choose the Next button.

  4. On the Select installation type page, select Role-based or feature-based installation, and then choose the Next button.

  5. On the Select destination server page, select Select a server from the server pool, select your server from Server Pool list, and then choose the Nextbutton.

  6. In the Select Server Roles window, select Web Server (IIS), and then choose the Next button.

  7. If the Add features that are required for Web Server (IIS) dialog box appears, then choose Add Features.

    Note
    If you do not want to install the IIS Management Console, clear the Include management tools check box, and then choose the Continue button.

  8. On the Select features page, expand .NET Framework 4.5, and then select ASP.NET 4.5.

  9. Expand WCF Services, and then select HTTP Activation.

  10. In the Add features that are required for ASP.NET 4.5? dialog box, choose the Add Features button.

    The following additional features are added.

    • ASP.NET 4.5
    • ISAPI Extensions
    • ISAPI Filters
    • .NET Extensibility 4.5
  11. If .NET Framework 3.5 is installed, then do the following:

    1. Expand the .NET Framework 3.5 Features node.
    2. Select HTTP Activate.
    3. If the Add features that are required for ASP.NET 3.5 dialog box appears, choose the Add Features button.

      The following additional features are added.

      • .NET Framework 3.5 (including .NET 2.0 and 3.0)
      • .NET Extensibility 3.5
  12. On the Select Features page, choose the Next button.

  13. On the Web Server Role (IIS) page, choose the Next button.

  14. On the Select role services page, verify that the following role services are selected at a minimum.

    • Common HTTP Features

      • Static Content
    • Security 
      • Request Filtering
      • Windows Authentication
    • Application Development 
      • .NET Extensibility 3.5 (if .NET Framework 3.5 is installed)
      • .NET Extensibility 4.5
      • ASP.NET 3.5 (if .NET Framework 3.5 is installed)
      • ASP.NET 4.5
      • ISAPI Extensions
      • ISAPI Filters
    • Management Tools (optional)
      • IIS Management Console (optional)
    Note
    You can leave other role services that are selected by default as selected.

  15. Choose the Next button

  16. On the Confirm installation selections page, choose the Install button.

  17. On the Installation progress page, confirm that your installation completed successfully, and then choose the Close button.

  18. To verify that the web server has been installed correctly, start your browser, and then type http://localhost in the address.

    The default website opens and should display an IIS 8 image.

安装思路参考:https://msdn.microsoft.com/en-us/library/hh167503(v=nav.71).aspx#Win8

Windows Server 2012/win8 iis8 上安装 asp.net 4.5 当时用了mvc5 .net framework 4.5 所以得装下的更多相关文章

  1. windows server 2012 r2 iis8.5 部署asp.net mvc4/5程序小结

    windows server 2012 r2 iis8.5 部署asp.net mvc4/5程序小结 原文链接:http://www.xuanhun521.com/Blog/66d491f8-b479 ...

  2. Windows Server 2012 R2 IIS8.5+PHP(FastCGI)+MySQL环境搭建教程

    原文地址:http://www.osyunwei.com/archives/7378.html 搬运是为了自己找资料方便. 准备篇 一.环境说明: 操作系统:Windows Server 2012 R ...

  3. Windows Server 2012 R2 IIS8.5+PHP(FastCGI)+MySQL环境搭建教程

    准备篇 一.环境说明: 操作系统:Windows Server 2012 R2 PHP版本:php 5.5.8 MySQL版本:MySQL5.6.15 二.相关软件下载: 1.PHP下载地址: htt ...

  4. Windows Server 2008 R2系统上安装SQLServer2012集群(简略)

    4台服务器(1台AD.2台SQL服务器.1台iSCSI存储服务器) 9个IP(1个AD的IP.2个SQL服务器的IP.2个心跳IP.1个iSCSI存储服务器的IP.1个集群IP.1个DTC的IP.1个 ...

  5. Windows Server 2012 在桌面上显示”我的电脑”图标

    1.本地方式如果是在Windows Server 2012本地控制台下,直接按Win(键盘上的微软徽标键)+R,输入: rundll32.exe shell32.dll,Control_RunDLL ...

  6. Windows Server 2012 在桌面上显示”我的电脑”

    转至:https://jingyan.baidu.com/article/f25ef2544f6883482c1b82e5.html Windows Server 2012 沒有快捷方式显示我的电脑到 ...

  7. 在Windows Server 2008 R2(x64)上安装.NET Framework 4.5 兼谈.NET Framework 4.0 “在服务器核心角色上不受支持”含义

    完成了一个服务器文件监控系统,该系统的核心是一个Windows服务,需要安装在服务器上.由于是Visual Studio 2012开发,为了保证开发的Windows服务可以运行,必须在Windows服 ...

  8. 阿里云服务器(windows server 2012 r2 64位)安装MYSQL8.0.18数据库 (小白必备)

    今儿中午询问了朋友关于服务器的一些事情后,就开始安装了,从中午大概一点,整到晚上九点,终于装成功了,感觉安装过程能遇到的问题全遇到了,给后面的朋友一些参考意见把. 第一次碰云服务器,措辞不当或不正确之 ...

  9. Windows Server 2012 R2 里面如何安装Net Framework 3.5

    图示 不要慌,和windows是不一样的,没有问题 下一步 默认即可,下一步 这里面的东西以后会装,先不管,我们今天目的是装 net framework 3.5 选一下 正在安装 如果出错了请参考: ...

随机推荐

  1. windows10下如何进行源码编译安装tensorflow

    1.获取python3.5.x https://www.python.org/ftp/python/3.5.4/python-3.5.4-amd64.exe 2.安装python3.5.x,默认安装即 ...

  2. @Bean 生命周期

    bean生命周期: 实例bean 1.当调用者通过getBean(beanName)向容器请求某一个Bean时,如果容器注册了org.springframework.beans.factory.con ...

  3. Knockout 监控数组对象属性

    代码: function Product(ProductID,ProductName,ProductNum,Result,Price) { this.ProductID = ko.observable ...

  4. 【日志】修改redis日志路径

    redis默认不记录log文件,需要在Redis.conf文件,找到loglevel notice,在其后的logfile "",双引号中,写redis的路径"/redi ...

  5. (转载)YOLO配置文件理解

    YOLO配置文件理解 转载自 [net] batch=64 每batch个样本更新一次参数. subdivisions=8 如果内存不够大,将batch分割为subdivisions个子batch,每 ...

  6. POJ 2262 Goldbach's Conjecture(Eratosthenes筛法)

    http://poj.org/problem?id=2262 题意: 哥德巴赫猜想,把一个数用两个奇素数表示出来. 思路:先用Eratosthenes筛法打个素数表,之后枚举即可. #include& ...

  7. photoswipe图片滑动插件使用

    第一步:  引入jss和css文件 <!-- Core CSS file --> <link rel="stylesheet" href="path/t ...

  8. js脚本控制图片水平与垂直居中

    使用方法: 1.定义ResizeImg(obj)方法 function ResizeImg(obj) { var boxHeight = $(".box").height(); v ...

  9. QWebEngine_C++_交互

    参考网址:http://blog.csdn.net/liuyez123/article/details/50509788 ZC: 该文章里面的: “ <ahref="javascrip ...

  10. 【Python】实现将Excel编写的用例上传到testlink指定用例集

    背景 百科上说TestLink 是基于web的测试用例管理系统,主要功能是测试用例的创建.管理和执行,并且还提供了一些简单的统计功能.其他的信息可以参照他们的官网http://www.testlink ...