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 选一下 正在安装 如果出错了请参考: ...
随机推荐
- linux下查看当前登陆的用户数目
在shell下输入以下语句即可获取: who | awk '{print $1}' | sort | uniq | wc -l
- java bitmap/bitvector的分析和应用
转自: http://shmilyaw-hotmail-com.iteye.com/blog/1741608 简介 bitmap在很多海量数据处理的情况下会用到.一些典型的情况包括数据过滤, ...
- office的project的激活码
8XWTK-7DBPM-B32R2-V86MX-BTP8PMVR3D-9XVBT-TBWY8-W3793-FR7C326K3G-RGBT2-7W74V-4JQ42-KHXQWD4HF2-HMRGR-R ...
- 51Nod 1070 Bash游戏 V4(斐波那契博弈)
http://www.51nod.com/onlineJudge/questionCode.html#!problemId=1070 题意: 思路: 这个是斐波那契博弈,http://blog.csd ...
- 理解flex布局
我们传统的布局方式是基于在盒子模型下的,依赖于display属性的,position属性的或者是float属性的,但是在传统的布局上面并不好布局; 比如我们想让某个元素垂直居中的话,我们常见的会让其元 ...
- IDEAL葵花宝典:java代码开发规范插件 GenerateAllSetter、ECtranslation、translation、插件
前言: GenerateAllSetter: 我们在程序开发过程中,往往要编写这样的类:类的部分或者全部属性不希望让外部世界直接访问,而不用public字段修饰.这样,方法调用成了访问这些属性的唯一 ...
- 使用yum安装pip
PIP 简介:pip 是一个现代的,通用的 Python 包管理工具.提供了对 Python 包的查找.下载.安装.卸载的功能.功能类似于RedHat里面的yum 使用yum安装pip 因为测试环境搭 ...
- 017PHP基础知识——流程控制语句(五)
<?php /** * break;退出循环: * 语法结构:break int;可以指定跳过几级循环: * while do_while for foreach switch */ /*$i= ...
- BOM之JavaScript常用事件
body, table{font-family: 微软雅黑; font-size: 10pt} table{border-collapse: collapse; border: solid gray; ...
- Faces人脸识别项目简介
Faces人脸识别 分为两个模块,Faces文件夹下存放人脸识别算法的代码,Web文件夹下存放网站搭建的代码 详情请查看各个模块下的readme文档 项目简介 核心算法 一款基于Dlib.opencv ...