Making MVC Work on IIS 6
Though MVC seems to work just fine without any special configuration on IIS 7, this is not the case for IIS 6 (XP and Server 2003). To enable a website to run MVC on IIS 6, follow these steps:
Step 1: Open IIS Manager
First open up IIS Manager. That was easy.
Step 2: Change the Properties on the Appropriate Website
Right-click the website under which you are going to run MVC and click the "Properties". You should then...
Step 3: Select the Home Tab
...see this dialog:
Hit the "Home Directory" tab.
Step 4: Hit the Configuration Button
You should see this:
Next hit the configuration button. You should get a dialog like the following:
Step 5: Insert a Wildcard Application Mapping
Next hit the "Insert..." button to the right of the Wildcard Application Maps box at the bottom. You should see a dialog like this:
Add a reference to the ASP.NET ISAPI dll and click "OK". You are done. MVC should run on that machine now.
Speak Your Mind!
Have something to say? Find a grammatical mistake? Think I said something incorrect? Don't like my perspective? Hate my color scheme? Whatever it is, you can let me know. I would appreciate it if you did.
