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 选一下 正在安装 如果出错了请参考: ...
随机推荐
- Execution Order for the ApiController
Execution Order for the ApiController Assuming the request goes into the ApiController scope, the op ...
- office的project的激活码
8XWTK-7DBPM-B32R2-V86MX-BTP8PMVR3D-9XVBT-TBWY8-W3793-FR7C326K3G-RGBT2-7W74V-4JQ42-KHXQWD4HF2-HMRGR-R ...
- Rails 5 Test Prescriptions 第4章 什么制造了伟大的测试
伴随着程序成长,测试变长,复杂性增加,如何更高效的写测试,对以后开发不会造成麻烦. 测试本身没发被测试,所以一定要清楚,可控.不要加循环,不要过于复杂的自动编程. Cost and Value 成本和 ...
- 机器学习算法--svm实战
1.不平衡数据分类问题 对于非平衡级分类超平面,使用不平衡SVC找出最优分类超平面,基本的思想是,我们先找到一个普通的分类超平面,自动进行校正,求出最优的分类超平面 测试代码如下: import nu ...
- UVA-10801 Lift Hopping (最短路)
题目大意及分析:一道简单的最短路...好几天没写程序了,憋得难受!!! 代码如下: # include<iostream> # include<cstdio> # includ ...
- MySQL中视图和普通表的区别
1.视图是数据库数据的特定子集.可以禁止所有用户访问数据库表,而要求用户只能通过视图操作数据,这种方法可以保护用户和应用程序不受某些数据库修改的影响. 2.视图是抽象的,他在使用时,从表里提取出数据, ...
- html中用变量作为django字典的键值
若字典为dic={'name': Barbie, 'age': 20},则在html中dic.name为Barbie,dic.age为20. 但若字典为dic={'Barbie': 1, 'Roger ...
- IOS-网络(JSON解析数据与XML解析数据)
一.JSON解析数据 // // VideoModel.h // IOS_0130_网络视频 // // Created by ma c on 16/1/30. // Copyright © 2016 ...
- 聊聊一直困扰前端程序员的浏览器兼容-【JavaScript】
上篇已经写过浏览器的兼容发展历史以及主流浏览器,主要的css兼容我知道的已全部写到,这篇这篇专攻javascript的兼容. 1.getYear()方法 var year = new Date().g ...
- Eclipse CDT 配置C /C ++ 标准库 (UBUNTU 12 )
http://blog.csdn.net/wudiwo/article/details/7682320