ERG Setup Step 4: Set Up the IIS Module


Use the following steps to set up the IIS module on the machine on which the Enterprise Resource Gateway has been installed.

  1. Copy mcxas.ini from C:\Program Files (x86)\SOTI\XAS to C:\Windows\System32\inetsrv.

    Copy Soti.MobiControl.ProxyFilter.dll from C:\Program Files (x86)\SOTI\XAS to C:\inetpub\wwwroot\bin.

  2. In Internet Information Services (IIS) Manager, in the Connections pane, select the web site that is publishing the proxy server component.

    In the web site's Home pane, double-click on Modules to open the Modules pane.

  3. Right-click anywhere in the Modules pane and select Add Managed Module to open the Edit Managed Module dialog box.

  4. In the Edit Managed Module dialog box, enter the module name (Soti.MobiControl.ProxyFilter) in the Name field.

    In the Type list, select ProxyFilter.Module.MCFilter.

    When you are done, click OK to close the Edit Managed Module dialog box.

  5. Verify that the previous step successfully added the following section to C:\inetpub\wwwroot\web.config:

        <system.webServer>
            <configuration>
                <modules>
                    <add name="Soti.MobiControl.ProxyFilter" type="ProxyFilter.Module.MCFilter"/>
                </modules>
            </configuration>
        </system.webServer>
    					

    If the above section was not automatically added to C:\inetpub\wwwroot\web.config, add it by manually editing the file.

    To increase the timeout interval for the web site, add to following configuration setting to the web.config file:

        <system.web>
            <httpRuntime executionTimeout="65535"/>
        </system.web>
    					

    To enable support for special characters in the URL, add the requestPathInvalidCharacters and requestValidationMode attributes to the httpRuntime element, and add the validateRequest attribute to the pages element:

        <system.web>
            <httpRuntime executionTimeout="65535" requestPathInvalidCharacters="" requestValidationMode="2.0"/>
            <pages validateRequest="false"/>
        </system.web>
    					

Note: If you are installing the IIS module on an Exchange Server and not using a separate proxy server and ARR, install the IIS module on the Microsoft-Server-ActiveSync site, which is available under Default Web Site in the Internet Information Services (IIS) Manager's Connections pane. Ensure also that the application pool running the web site is on .NET Framework version 4.0 or higher.

© SOTI Inc.
Contact us