Wildcard Application Maps in IIS7.5
Following are the step by step instruction to map wildcard in IIS7.5
- Open the IIS 7.5 manager.
- Navigate to your application in connection tab - Left hand tree in IIS manager.
- Navigate for "Handler mapping" which is in application home. You can add
Multiple handlers using this extension. - If you find the "Add wild card script Map" option in Action panel then click on it otherwise click on "Add Script Map"
- There will be available a popup form with some input options. The first option is Request path, you can enter any kind of extensions (like *.asp, *.asd * ).
6. Use Asterisk sign(*) for wild card extension.
7. Enter the specific executable from drop down list or you can browse from local hard drive.
Example in above screen:
%windir%\Microsoft.Net\Framework2.0\aspnet_isapi.dll
Give the name of every executable : ASP.NET-ISAPI-2.0-Wildcard.
Above steps are the normal steps to include additional handler in IIS 7.5
Now when you migrating your application from IIS6.0 to IIS 7.5 then you will get below problem :
Problem : "Default Application pool" does not work or it wan't start.
- To resolve this problem you need to select "Classic .NET application Pool" from application pool option window from "Basic Settings".
Handlers are locked in IIS 7.5 configuration. you need to unlock the section to allow overriding.
Use elevated command prompt to run below commands
C:\windows\system32\inetsrv>appcmd.exe unlock config /section:system.webserver /handlers.