Change ASP.NET Settings and Restart IIS for IIS 7.0

 

Topic Last Modified: 2012-10-18

If you use Internet Information Services (IIS) 7.0, you need to manually change some ASP.NET settings for the Mobility Service. If you use IIS 7.5, the installer automatically changes these settings for you, and you can skip this step.

Important

You must have installed the hotfix mentioned previously and the Mobility Service before performing this step.

For IIS 7.0, perform the following procedure on each Front End Server where you installed the Mobility Service.

To change ASP.NET settings in IIS 7.0

  1. Log on to the server as a local administrator.

  2. Use a text editor such as Notepad to open the applicationHost.config file, located at C:\Windows\System32\inetsrv\config\applicationHost.config.

  3. Search for the following:

    <Add name="CSExtMcxAppPool"
    
  4. At the end of the line, before the ending angle bracket (>), type the following:

    CLRConfigFile="C:\Program Files\Microsoft Lync Server 2010\Web Components\Mcx\Ext\Aspnet_mcx.config"
    
  5. Search for the following:

    <Add name="CSIntMcxAppPool"
    
  6. At the end of the line, before the ending angle bracket (>), type the following:

    CLRConfigFile="C:\Program Files\Microsoft Lync Server 2010\Web Components\Mcx\Int\Aspnet_mcx.config"
    
  7. Save the applicationHost.config file.

  8. Use command prompts to stop IIS and save the configuration changes in IIS. At the command prompt, type the following:

    Net stop iisadmin /y
    

    Make note of each service that depends on the IISAdmin service so that you can restart each one in the next step.

    Note

    You can also use the Services snap-in to stop the services. We do not recommend that you use IISReset to stop and restart IIS. If IISReset needs to force stop services, your configuration changes may not be saved correctly. For details, see Microsoft Knowledge Base article 286196, "IISReset May Not Save IIS Configuration Changes" at https://go.microsoft.com/fwlink/p/?linkid=3052&kbid=286196.

  9. Restart the services. At the command line, type the following:

    Net start w3svc
    Net start <short name for each service that was listed when you stopped IISAdmin>
    

    Note

    The IISAdmin service starts automatically when the services dependent upon it are restarted.