Essayflow goes over the full essay creating procedure - from organizing and likely to conclusion. Composing essays is organised gradually so i highly recommend that you use it this way. On the other hand, you will see coming from the sidebar that this guideline is split into several help me write an essay that it is separated into reduced parts or subsections. Allowing you to often study it right thru from beginning to end or go directly to the area that’s most relevant to you. You will notice in the topbar choices higher than that additionally there is a glossary of terms employed in this article; and a list of encouraged additionally reading through and internet based information. It can do not deliver comprehensive advice on typical study capabilities although it does deal with some areas of reading for crafting and the way compose a literature assessment. Not like some instructions, that one does not have everything to say about using computing devices with the exception of: make use of them, and keep your operate often.

Deploying ASP.NET MVC Application under IIS6

When deploying an ASP.NET MVC application under Windows Server 2003 and IIS6 (and Windows Server 2008 Classic Mode), you’ll get 404 page not found error on every page, except the index of the site. This is because IIS6 doesn’t not support routing.

There are many solutions to fix this, I’ll just explain my favorite, which is extension-less url.

So lets show IIS6 how to handle extension-less URL. For this, we’ll use the Wildcard Mapping feature.

  • Open Internet Information Services (IIS) Manager. (run inetmgr)
  • Right Click » Properties on your website.
    1
  • Open the Home Directory tab.
  • Click on the Configuration button.
  • Open the Mappings tab of the Application Configuration window.2
  • In the Wildcard application maps section, click on the Insert button.
  • Browse to %windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll.
  • uncheck “Verify that file exists”.
    3
  • That’s it! Now try your ASP.NET MVC Application it should work nicely!

Phil Haack has a very good article about this matter and also explains other solution. You should definitly read it!

This entry was posted on Tuesday, June 23rd, 2009 at 7:43 am and is filed under ASP.NET, IIS, MVC, Server. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

3 Responses to “Deploying ASP.NET MVC Application under IIS6”

Yazid June 24th, 2009 at 1:31 pm

How about IIS 7?

TIA
Yaz

Mike June 27th, 2009 at 10:42 pm

@YAZID: If you using II7 in classic mode, you can follow the same steps as this article. Otherwise, there is nothing special to do!

Jewel Nandy March 2nd, 2010 at 4:19 am

Hi, I am getting “The HTTP verb POST used to access path ‘/Account.mvc/Login’ is not allowed.” error while deploying ASP.net MVC on iis6. It finds the first controller and action. On click of Login button of first page, I am submitting the page to Login action of Account controller and it is a POST method. Then I get this error. I have also noticed that, it does not give any error for GET method. Could you please tell me the solution.

Leave a Reply