Problems making IIS 7.0 changes for Lync Mobility (MCX)

 

I hit a problem when installing the mobility service on Lync running on Windows 2008 (not R2). By default you will be running IIS 7.0 this gives problems with making the changes for the Mobility and Autodiscover services.

The Guide says:

If you use Internet Information Services (IIS) 7.0, you need to perform extra steps to change some ASP.NET settings.

It then goes on to define those steps:

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”

 

However should you try and do step 3 you cannot find <Add name=”CSExtMcxAppPool” this  is because the changes adding these lines are not made until after the you have run the Mobility and Autodiscover services.

Once you run these you can locate the lines and make the changes.

On my system after making the changes and trying to restart IIS to activate the changes IIS would not restart.  Looking in the System Event log there were eight Event ID 2297 errors for different applications pools for example:

The worker process for application pool ‘CSIntConfAppPool’ encountered an error ‘Configuration file is not well-formed XML
‘ trying to read global module configuration data from file ‘\\?\C:\inetpub\temp\apppools\CSIntConfAppPool.config’, line number ‘3’.  Worker process startup aborted.

Further searching showed that the CLRConfigFile parameter that was added when you edited the file was introduced in IIS7.5.

Removing the changes allowed IIS to restart.

After a bit of searching I found a hotfix that addressed adding support for the CLRConfigFile parameter for IIS 7.0. http://support.microsoft.com/?kbid=2290617

I applied the hotfix then made the changes to the applicationHost.config file and restarted IIS accepted the changes and restarted without a problem.

Having then gone back to the documentation I thought I’d search for the hotfix in case I’d missed it…… I got a hit 3 pages  from the end saying you should apply the hotfix before making the some changes for high performance. The documentation should have shown this earlier with the original change. I have sent a comment about this documentation problem.

Advertisement

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: