Setting Aspnet_isapi.dll for Wildcard Applications
Some components such as the iFinity URL rewriter require an aspnet_isapi.dll wildcard mapping in order to work. If you are a shared hosting client on a server running IIS 6, please contact support to request assistance with this. Shared hosting clients on servers running IIS 7 or IIS 8 can modify their web.config file as outlined in the steps below.For a Site Hosted on a Server Running IIS 7 and IIS 8 in Classic Pipeline Mode.
- Open the web.config file for your site. See How to Access Your Web.Config.
- Locate the <system.webserver> entry <handlers> section.
- Add the appropriate entry at the bottom of the list of handlers for your site (.NET 2.0 or .NET 4.0):
.NET 2.0
<
add
responsebufferlimit
=
"4194304"
precondition
=
"classicMode,runtimeVersionv2.0,bitness64"
allowpathinfo
=
"false"
requireaccess
=
"Script"
resourcetype
=
"Unspecified"
scriptprocessor
=
"C:\Windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll"
modules
=
"IsapiModule"
type
=
""
verb
=
"*"
path
=
"*"
name
=
"Wildcard Script Map"
/>
.NET 4.0
<
add
name
=
"v40 64 bit Wildcard Script Map"
path
=
"*"
verb
=
"*"
modules
=
"IsapiModule"
scriptProcessor
=
"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll"
resourceType
=
"Unspecified"
requireAccess
=
"None"
preCondition
=
"classicMode,runtimeVersionv4.0,bitness64"
/>
- Save the web.config file.
For a Site Hosted on a Server Running IIS 7 or IIS 8 in Integrated Pipeline Mode.
- Open the web.config file for your site. See How to Access Your Web.Config
- Locate the <system.webserver> entry <handlers> section.
- Add in a new attribute for 'modules', so that it says
<
modules
runAllManagedModulesForAllRequests
=
"true"
>
The runAllManagedModulesForAllRequests attribute may not exist, or it may exist and you just have to change the value from false to true.
- Save the web.config file.
For a Site Hosted on a Server Running IIS 6
- Log onto the dedicated server using Remote Desktop.
- Open up IIS by clicking on Start > Administrative Tools > Internet Information Services (IIS) Manager (or Start > Run > inetmgr).
- Expand the Web Sites directory.
- Right click on the website you are setting this up for and click on Properties.
- Click on the Home Directory tab.
- Click on Configuration.
- Under Application extensions, choose the .aspx extension and click on edit.
- Copy the Executable path then click cancel.
- Click on Insert, then paste the path that you copied for the executable field.
- Uncheck Verify that file exists and then press OK twice.
Article ID: 194, Created: April 6, 2012 at 10:30 AM, Modified: August 28, 2014 at 8:44 AM