Web Agent :: IIS : ARR code 502

Document ID : KB000048567
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

I have installed Agent for IIS on IIS 7.5 and I run also ARR. But when I enable the Web Agent the requests are ending with return code 502. How can I fix it ?

Solution:

In order to get the ARR module working fine with the classic mode, you need to slightly modify the IIS configuration as follow :

Configuration Settings:

Changes Required for IIS 7.5 on Windows 2008 R2:

web.config file:

change this:

    <add name="CASiteMinderWebagentModule" preCondition="
     integratedMode,bitness64" />
    <add name="CASiteMinderWebagentModule-32" preCondition="
     integratedMode,bitness32" />

with this :

    <add name="CASiteMinderWebagentModule"
     preCondition="bitness64" />
    <add name="CASiteMinderWebagentModule-32"
     preCondition="bitness32" />

applicationHost.config

change this :

<add name="CASiteMinderWebagentModule"
     image="C:\Program Files\CA\webagent\win64\bin\IIS7WebAgent.dll"
     preCondition="integratedMode,bitness64" />
    <add name="CASiteMinderWebagentModule-32"
     image="C:\Program Files\CA\webagent\win32\bin\IIS7WebAgent.dll"
     preCondition="integratedMode,bitness32" />

with this :

    <add name="CASiteMinderWebagentModule"
     image="C:\Program Files\CA\webagent\win64\bin\IIS7WebAgent.dll"
     preCondition="bitness64" />
    <add name="CASiteMinderWebagentModule-32"
     image="C:\Program Files\CA\webagent\win32\bin\IIS7WebAgent.dll"
     preCondition="bitness32" />

Changes Required for IIS 7 on Windows 2008 :

web.config file :

change this :

<add name="CASiteMinderWebagentModule" 
 preCondition="integratedMode" />

with this :

<add name="CASiteMinderWebagentModule" />

applicationHost.config

change this :

<add name="CASiteMinderWebagentModule" 
image="C:\Program Files\CA\webagent\bin\IIS7WebAgent.dll" 
preCondition="integratedMode" />

with this :

<add name="CASiteMinderWebagentModule"
image="C:\Program Files\CA\webagent\bin\IIS7WebAgent.dll" />