Windows Server 2012/win8 iis8 上安装 asp.net 4.5 当时用了mvc5 .net framework 4.5 所以得装下
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
On the Start page, choose Control Panel, and then choose Programs.
Under Programs and Features, choose Turn Windows features on or off.
In the Windows features dialog box, expand .NET Framework 4.5 Advanced Services, and then select ASP.NET 4.5.
Expand WCF Services, and then select HTTP Activation.
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.
In the Windows features list, expand Internet Information Services, and then expand World Wide Web Services.
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
Expand Common HTTP Features, and then select the Static Content feature.
Expand Security, and then select the following features:
- Request Filtering
- Windows Authentication
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.
Choose the OK button to complete the installation.
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
On the Start page, choose Server Manager.
In the navigation pane, choose Dashboard, and then choose Add roles and features.
In the Add Roles and Features Wizard, in the Before You Begin page, choose the Next button.
On the Select installation type page, select Role-based or feature-based installation, and then choose the Next button.
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.
In the Select Server Roles window, select Web Server (IIS), and then choose the Next button.
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. On the Select features page, expand .NET Framework 4.5, and then select ASP.NET 4.5.
Expand WCF Services, and then select HTTP Activation.
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
If .NET Framework 3.5 is installed, then do the following:
- Expand the .NET Framework 3.5 Features node.
- Select HTTP Activate.
- 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
On the Select Features page, choose the Next button.
On the Web Server Role (IIS) page, choose the Next button.
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. - Common HTTP Features
Choose the Next button
On the Confirm installation selections page, choose the Install button.
On the Installation progress page, confirm that your installation completed successfully, and then choose the Close button.
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 所以得装下的更多相关文章
- 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 ...
- Windows Server 2012 R2 IIS8.5+PHP(FastCGI)+MySQL环境搭建教程
原文地址:http://www.osyunwei.com/archives/7378.html 搬运是为了自己找资料方便. 准备篇 一.环境说明: 操作系统:Windows Server 2012 R ...
- 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 ...
- 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个 ...
- Windows Server 2012 在桌面上显示”我的电脑”图标
1.本地方式如果是在Windows Server 2012本地控制台下,直接按Win(键盘上的微软徽标键)+R,输入: rundll32.exe shell32.dll,Control_RunDLL ...
- Windows Server 2012 在桌面上显示”我的电脑”
转至:https://jingyan.baidu.com/article/f25ef2544f6883482c1b82e5.html Windows Server 2012 沒有快捷方式显示我的电脑到 ...
- 在Windows Server 2008 R2(x64)上安装.NET Framework 4.5 兼谈.NET Framework 4.0 “在服务器核心角色上不受支持”含义
完成了一个服务器文件监控系统,该系统的核心是一个Windows服务,需要安装在服务器上.由于是Visual Studio 2012开发,为了保证开发的Windows服务可以运行,必须在Windows服 ...
- 阿里云服务器(windows server 2012 r2 64位)安装MYSQL8.0.18数据库 (小白必备)
今儿中午询问了朋友关于服务器的一些事情后,就开始安装了,从中午大概一点,整到晚上九点,终于装成功了,感觉安装过程能遇到的问题全遇到了,给后面的朋友一些参考意见把. 第一次碰云服务器,措辞不当或不正确之 ...
- Windows Server 2012 R2 里面如何安装Net Framework 3.5
图示 不要慌,和windows是不一样的,没有问题 下一步 默认即可,下一步 这里面的东西以后会装,先不管,我们今天目的是装 net framework 3.5 选一下 正在安装 如果出错了请参考: ...
随机推荐
- RC522 模块驱动程序
本文主要讲述了基于SPI总线的RC522驱动程序的设计.描述了主控如何与从设备通过SPI总线进行数据的读写. 一 在SPI驱动中,有两个重要的结构:spi_device&spi_driver. ...
- BZOJ 3064 CPU监控
题目链接:CPU监控 学习一番线段树的历史标记- 这道题就是区间加法,区间赋值,要询问区间最大值 和 区间历史最大值的最大值. 然后这种题就是在现有标记的基础上多弄一套标记,维护这个点出现过的最大的标 ...
- python 使用两个列表合成字典
keys = ['red', 'green', 'blue'] values = ['#FF0000','#008000', '#0000FF'] color_dictionary = dict(zi ...
- PHP 手机号中间4位加密
/** * 中间加密 字符串截取法 */ public static function encryptTel($tel) { $new_tel = substr($tel, 0, 3).'****'. ...
- vapply
尽管 sapply 非常方便和智能,但有时智能可能隐藏着风险.假如我们有一个数字列表:x <- list(c(1, 2), c(2, 3), c(1, 3))如果我们想得到一个向量,其中每个元素 ...
- bzoj2463: [中山市选2009]谁能赢呢? 博弈
小明和小红经常玩一个博弈游戏.给定一个n×n的棋盘,一个石头被放在棋盘的左上角.他们轮流移动石头.每一回合,选手只能把石头向上,下,左,右四个方向移动一格,并且要求移动到的格子之前不能被访问过.谁不能 ...
- PowerDesigner16工具学习笔记-创建RQM
1.点击标准工具条中的
- UVALive-5095 Transportation (最小费用流+拆边)
题目大意:有n个点,m条单向边.要运k单位货物从1到n,但是每条道路上都有一个参数ai,表示经这条路运送x个单位货物需要花费ai*x*x个单位的钱.求最小费用. 题目分析:拆边.例如:u到v的容量为5 ...
- UVALive-2966 King's Quest(强连通+二分图匹配)
题目大意:有n个男孩和和n个女孩,已只每个男孩喜欢的女孩.一个男孩只能娶一个女孩.一个女孩只能嫁一个男孩并且男孩只娶自己喜欢的女孩,现在已知一种他们的结婚方案,现在要求找出每个男孩可以娶的女孩(娶完之 ...
- CF 160D Edges in MST 最小生成树的性质,寻桥,缩点,批量处理 难度:3
http://codeforces.com/problemset/problem/160/D 这道题要求哪条边存在于某个最小生成树中,哪条边不存在于最小生成树中,哪条边绝对存在于最小生成树中 明显桥边 ...