Configuring IIS 6 for Relay Server

Configure IIS 6 to host Relay Server.

Use the IIS Manager Console to configure IIS 6 for Relay Server.

  1. Start the IIS Manager Console.
  2. Create a Relay Server application pool.
    1. Right-click Application Pools and create a new application pool.
    2. Right-click the application pool and select Properties to edit its properties.
    3. Open the Performance tab, and unselect Shutdown Worker Processes After Being Idle.
    4. Open the Recycling tab, and unselect Recycle Worker Processes (In Minutes).
  3. Enable Web extensions for Relay Server.
    1. Open the Directory tab to edit the properties of ias_relay_server.
    2. Set execute permissions to Scripts And Executables.
    3. Click Create under Application Settings.
    4. Select the Relay Server application pool you created.
    5. Under Web Service Extensions, allow both rs_server.dll and rs_client.dll to be run as ISAPI.
  4. Configure IIS for Unwired Platform device clients to communicate with Relay Server:
    1. Navigate to \Inetpub\AdminScripts.
    2. Run the following console command:
      cscript adsutil.vbs set w3svc/1/uploadreadaheadsize 0 iisreset

    If you do not perform this configuration step, you see this error message:

    Could not connect to the Server. Session did not complete.
  5. Enable anonymous access, using an appropriate user name and password for an administrative group, or using build-user IUSR_%computername% for directory security.

    Grant permission to access IIS metabase for the user:

    C:\Windows\Microsoft.Net\Framework\<Version>\aspnet_regiis.exe -ga IUSR_%computername%

Related tasks
Configuring Unwired Server to use Relay Server