Windows Server 2012/win8 iis8 installed on ASP. NET 4.5 at that time using the MVC5. NET Framework 4.5 so I have to install

Source: Internet
Author: User
Tags microsoft dynamics
vs2013 + mvc5 + .net framework 4.5 The local iisexpress debugging has no problem. When deploying to the local iis, there is an unrecognized module error. The specific error prompt is:

Locking is set by default (overrideModeDefault = "Deny"), or it is explicitly set via a position marker that includes overrideMode = "Deny" or the old allowOverride = "false"

 

So no way, reinstall iis. . . . Through the following scheme

 

I do n’t have to finish it, I ’ll pretend

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.
 

 

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.

 

Installation ideas reference: https://msdn.microsoft.com/en-us/library/hh167503(v=nav.71).aspx#Win8

Windows Server 20
12 / win8 iis8 asp.net 4.5 installed mvc5 .net framework 4.5 was used at the time, so it must be installed
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.