Skip to content

How to allow ASP.NET MVC to be enabled on IIS6

April 29, 2014

Here is a extremely useful tip for allowing ASP.NET MVC to be used on IIS6 which was needed to be done on Friday.

Natively, IIS6 does not support ASP.NET MVC. In order to allow ASP.NET MVC to be enabled on IIS6, essentially you need to check the configuration mappings to have the .mvc extension inside the extension list.

You can check this by right clicking the specific application within the folder Web Sites.

– Go to Home Directory Tab

– Click on Configuration button

– There you see the list od Application Extensions with the extension name, executable path, and verbs that are supported.

– If you do not see .mvc in the extension column, you can add this by clicking the Add button.

– Inside the Add/Edit Application Extension Mapping window.

– On Executable, type in C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll

– On Extension, type in .mvc

– On Verbs, type in GET,HEAD,POST,DEBUG

– Click OK

Finally test that ASP.NET MVC works on the published site and it should work.

Advertisements

From → Uncategorized

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: