Follow these steps to configure the ActiveReports handler mappings in IIS 7.x for running ActiveReports Web Applications on your machine.
To configure the ActiveReports handler mappings in IIS 7.x to run ActiveReports Web Applications on your machine (classicMode)
Request path:*.ActiveReport
Executable: To choose the executable, depending on your version of the .NET Framework, see the table below.
Version of .NET Framework | Executable |
---|---|
ASP.NET 2.0 (32 bit version) | C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll |
ASP.NET 2.0 (64 bit version) | C:\Windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll |
ASP.NET 4 (32 bit version) | C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll |
ASP.NET 4 (64 bit version) | C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll |
Name: ActiveReport Script Mapping
Note: If you have a 64 bit machine, you need to add script mappings for the 64 bit version for aspnet_isapi.dll (C:\Windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll) in the same way as it has been done for the 32 bit version in the web.config file. |
Click the Request Restrictions… button and make sure the "Invoke handler only if request is mapped to:" check box is not selected.
Click OK to close the Add Script Map window.
Repeat steps 5-8 to add another script mapping.
Enter the following information for the second script mapping (see the step 6 above):
Request path:*.ArCacheItem
Executable: To choose the executable, depending on your version of the .NET Framework, see the table below.
Version of .NET Framework | Executable |
---|---|
ASP.NET 2.0 (32 bit version) | C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll |
ASP.NET 2.0 (64 bit version) | C:\Windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll |
ASP.NET 4 (32 bit version) | C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll |
ASP.NET 4 (64 bit version) | C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll |
Name: ActiveReport Cache Item Script Mapping
Note: If you have a 64 bit machine, you need to add script mappings for the 64 bit version for aspnet_isapi.dll (C:\Windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll) in the same way as it has been done for the 32 bit version in the web.config file. |
Repeat steps 5-8 to add the last required script mapping. For the step 7 above, make sure the "Invoke handler only if request is mapped to:" and the "File" check boxes are selected.
Enter the following information for the third script mapping (see the step 6 above):
Request path:*.rpx
Executable: To choose the executable, depending on your version of the .NET Framework, see the table below.
Version of .NET Framework | Executable |
---|---|
ASP.NET 2.0 (32 bit version) | C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll |
ASP.NET 2.0 (64 bit version) | C:\Windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll |
ASP.NET 4 (32 bit version) | C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll |
ASP.NET 4 (64 bit version) | C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll |
Name: ActiveReport RPX Script Mapping
Note: If you have a 64 bit machine, you need to add script mappings for the 64 bit version for aspnet_isapi.dll (C:\Windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll) in the same way as it has been done for the 32 bit version in the web.config file. |
To configure the ActiveReports handler mappings in IIS 7.x to run ActiveReports Web Applications on your machine (integratedMode)
In the Add Managed Handler dialog box that appears, enter the following information:
Request Path: *.ArCacheItem
Type: DataDynamics.ActiveReports.Web.Handlers.WebCacheAccessHandler
Name: ar_arcacheitem-integrated
Repeat steps 5-8 to add another script mapping.
Enter the following information for the second script mapping (see the step 6 above):
Request path:*.ActiveReport
Type: DataDynamics.ActiveReports.Web.Handlers.CompiledReportHandler
Name: ar_activereport-integrated
Repeat steps 5-8 to add another script mapping. For the step 7 above, make sure the "Invoke handler only if request is mapped to:" and the "File" check boxes are selected.
Enter the following information for the third script mapping (see the step 6 above):
Request path:*.rpx
Type: DataDynamics.ActiveReports.Web.Handlers.RpxHandler
Name: ar_rpx-integrated
To check whether your Web Application is running in the Classic .NET Application Pool
To add handlers without configuring IIS 7.x when your Application pool is Classic .NET AppPool (classicMode)
In the <system.web> tag, paste the following code. |
Copy Code |
---|---|
<httpHandlers> <add verb="*" path="*.rpx" type="DataDynamics.ActiveReports.Web.Handlers.RpxHandler, ActiveReports.Web, Version=6.0.2019.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" /> <add verb="*" path="*.ActiveReport" type="DataDynamics.ActiveReports.Web.Handlers.CompiledReportHandler, ActiveReports.Web, Version=6.0.2019.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" /> <add verb="*" path="*.ArCacheItem" type="DataDynamics.ActiveReports.Web.Handlers.WebCacheAccessHandler, ActiveReports.Web, Version=6.0.2019.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" /> </httpHandlers> |
IMPORTANT: Change the Version number in the pasted code to match the version installed on your machine. |
In <system.webServer> tag, paste the following code. |
Copy Code |
---|---|
<handlers> <add name="ar rpx" path="*.rpx" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv2.0,bitness32" /> <add name="ar cache" path="*.ArCacheItem" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv2.0,bitness32" /> <add name="AR" path="*.ActiveReport" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv2.0,bitness32" /> </handlers> |
Note: If you have a 64 bit machine, you need to update the code in all three handlers above as follows:
|
IMPORTANT: Ensure that the .NET Framework Version number in the pasted code matches the version installed on your machine. |
To add handlers without configuring IIS 7.x when your Application pool is DefaultAppPool (integratedMode)
In the <system.web> tag, paste the following code. |
Copy Code |
---|---|
<handlers> <add name="*.ArCacheItem_*" path="*.ArCacheItem" verb="*" type="DataDynamics.ActiveReports.Web.Handlers.WebCacheAccessHandler, ActiveReports.Web, Version=6.0.2019.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" preCondition="integratedMode,runtimeVersionv2.0" /> <add name="*.ActiveReport_*" path="*.ActiveReport" verb="*" type="DataDynamics.ActiveReports.Web.Handlers.CompiledReportHandler, ActiveReports.Web, Version=6.0.2019.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" preCondition="integratedMode,runtimeVersionv2.0" /> <add name="*.rpx_*" path="*.rpx" verb="*" type="DataDynamics.ActiveReports.Web.Handlers.RpxHandler, ActiveReports.Web, Version=6.0.2019.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" preCondition="integratedMode,runtimeVersionv2.0" /> <add name="ar rpx" path="*.rpx" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv2.0,bitness32" /> <add name="ar cache" path="*.ArCacheItem" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv2.0,bitness32" /> <add name="AR" path="*.ActiveReport" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv2.0,bitness32" /> </handlers> |
Note: If you have a 64 bit machine, you need to update the code in all three handlers above as follows:
|
IMPORTANT: Change the Version number in the pasted code to match the version installed on your machine. |
In the <system.webServer> tag, paste the following code. |
Copy Code |
---|---|
<handlers> <add name="ar rpx" path="*.rpx" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv2.0,bitness32" /> <add name="ar cache" path="*.ArCacheItem" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv2.0,bitness32" /> <add name="AR" path="*.ActiveReport" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv2.0,bitness32" /> </handlers> |
Note: If you have a 64 bit machine, you need to update the code in all three handlers above as follows:
|
IMPORTANT: Ensure that the .NET Framework Version number in the pasted code matches the version installed on your machine. |