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 选一下 正在安装 如果出错了请参考: ...
随机推荐
- jQuery Mobile中的页面加载与跳转机制
第一次做用jQuery Mobile做东西,发现一些跟平时的思维习惯不太一样的.其中这个框架的页面加载机制便是其中一个.如果不明白其中的奥秘,往往会出现一些让人摸不着头脑的怪现象,比如页面进入后点击按 ...
- 【同步时间】Linux设置时间同步
所有节点都要确保已安装ntpd(在步骤4已安装) 1.首先选择一台服务器作为时间服务器. 假设选定为node1.sunny.cn服务器为时间服务器. 2.ntp服务器的配置 修改ntp.conf文件: ...
- spring boot2 基于百度云apiface实现人脸检测与认证1
原理介绍: 基于百度云的人脸资料库(用户上传),调用本地摄像头抓拍的图像,与百度云的用户图像做比对,实现人脸认证. 主要步骤如下: 1. 创建百度去账号 2. 在百度云控制台中创建人脸识别的应用,并记 ...
- python fromkeys() 创建字典
# d = dict.fromkeys("张无忌","赵敏") #创建字典 # print(d)#{'张': '赵敏', '无': '赵敏', '忌': '赵敏 ...
- SSH基本管理和配置文件的使用
服务端:linl_S IP:10.0.0.15 客户端:lin_C IP:10.0.0.16 SSHD服务 SSH协议:安全外壳协议.为Secure Shell的缩写.SSH为建立在应 ...
- Rspec: everyday-rspec实操: 第10章测试其他功能,第11章TDD 第12章总结。
10.测试文件上传 作者推荐的Paperclip,官方维护组已经不推荐使用deprecated. 推荐使用rails自带的 ActiveStorage. Active Storage: 推进文件上传到 ...
- 51nod-1455-dp/缩小范围
1455 宝石猎人 题目来源: CodeForces 基准时间限制:2 秒 空间限制:131072 KB 分值: 40 难度:4级算法题 收藏 关注 苏塞克岛是一个有着30001个小岛的群岛,这 ...
- 如何使用Win8系统自带杀毒软件
首先我们要说明的是,Windows Defender并不是我们杀毒首选,这只是微软在用户没有安装仍和杀软时提供的备用防护机制.因此我们如果安装了第三方的杀毒软件,系统就会将Windows Defend ...
- wikioi1036 商务旅行 挺水的lca
链接:http://wikioi.com/problem/1036/ 题意不写了. 思路:很明显找到lca然后用两个点的深度相加-lca的深度就是这一步的最近步数. #include <stdi ...
- IOS-快速集成检查更新
一直以为Appstore有了检查版本是否更新的机制,我们在APP上做这个更新功能会被拒,但是也有看到一些APP也是做了这个更新功能的.因为在网上没有找到完全正确的方法能获取到iTunes里的数据的,于 ...