Skip to content

MVC on IIS6

Published:
1 min read

Deploying ASP.NET MVC applications to IIS6 requires specific configuration steps. This guide addresses common setup issues.

Configuration Steps

  1. Create Application in IIS

    • Right-click the folder in IIS and select Properties
    • Navigate to the Directory tab
  2. Add Application Mapping

    • Click the Configuration button
    • Check for an existing .mvc extension mapping
    • If absent, click Add
  3. Set Executable Path

    • Enter: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll
    • Note: Path may vary by server; locate the dll and reference accordingly
    • Uncheck “Verify that file exists”
  4. Add Wildcard Mapping

    • Click Insert to add wildcard mapping
    • Use the same dll path from step 3
    • Uncheck “Verify that file exists”

Once completed, the MVC application should route properly.

Reference


Edit on GitHub