Monday, 15 July 2013

No chat history on Lync 2013 client

During our testing phase, we found out that the chat history is not working. We had the exclamation mark on the chat icon and there is nothing under it. The error was "there is an error communicating with Exchange Server". When I looked at the Lync Configuration Information (Ctrl - right click on Lync icon), I could see that both EWS information (internal & external) are blank and the EWS Information was telling me that it is not deployed.


I have configured the autodiscover name record in DNS and also had the SRV record registered. Everything works well for our Exchange Server and outlook autodiscover. Google advised me to applied the February update for Lync client, but we have done the update before and the problem still exist. Finally I stumbled across this website which solved out the issue. This is what you need to do:

1. Go to C:\Windows\System32\inetsrv\config
2. Run notepad as administrator
3. Open aoolicationhost.config to edit it
4. Add the highlighted lines and save it
5. Restart IIS

<location path="Default Web Site/Autodiscover">
     <system.webServer>
          <directoryBrowse enabled="false" showFlags="Date, Size, Extension, LongDate" />  
          <handlers accessPolicy="Read, Script">
                <clear />
                <add name="ISAPI-dll" path="*.dll" verb="*" modules="IsapiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" />
                <add name="ScriptHandlerFactoryAppServices-Integrated-4.0" path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="integratedMode,runtimeVersionv4.0" />
                <add name="ScriptResourceIntegrated-4.0" path="*ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="integratedMode,runtimeVersionv4.0" />
                <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="0" />
                <add name="svc-Integrated" path="*.svc" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode" />
<add name="AboMapperCustom-33656" path="*.xml" verb="POST,GET" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" requireAccess="Script" responseBufferLimit="0" />
                <add name="TRACEVerbHandler" path="*" verb="TRACE" modules="ProtocolSupportModule" requireAccess="None" />
                <add name="OPTIONSVerbHandler" path="*" verb="OPTIONS" modules="ProtocolSupportModule" requireAccess="None" />
                <add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" resourceType="Either" requireAccess="Read" />

            </handlers>

No comments:

Post a Comment