Hopefully this will save people time when setting up MVC to work with IIS7 using the .MVC extension. Most of these steps are well documented elsewhere, but the x64 thing took a while to figure out (Thanks Jeff Diercks).
- Add the .MVC extension to the [Handler Mappings] of the website, and make sure to use the same ISAPI DLL as the .ASPX extension within the Website settings.
- Make sure [Network Service] has full access to the filesystem directory IIS is pointing to.
- Make sure [Managed Pipeline Mode] is set to [Classic] in the Application Pool settings.
- In 64-bit OS, make sure to set the [Enable 32-Bit Applications] to [True] in the Application Pool settings.
If you find any other settings that you had change, please add comments.
1 comments:
Thanks so much. One more thing: if you need to enable friendly URLs in MVC, you will also need to add a wildcard mapping with the same executable path
Post a Comment