Troubleshooting Office Web App Server Integration with Lync Server 2013
In my previous post we discussed about Installing and configuring Office Web App Server 2013 and its integration with Lync Server 2013.
The purpose of this article is to understand the basic workflow from client and server standpoint on what all happens when user initiates or tries to view PowerPoint sharing session.
Also detailed troubleshooting steps on how to isolate where the issue lies (whether at client side or Lync Server side or Office Web App Server side)
This should help tackling major problems/issues that we face with Lync 2013 PowerPoint sharing using Office Web App Server 2013.
Typically issue would be that “users using Lync 2013 clients connected to Lync server 2013, aren’t able to do PowerPoint sharing” and getting Error
“Some presenting features are unavailable due to server connectivity issues”
In Lync 2013 Server we need Office Web App Server 2013 to render the Ppt presentation if we are using Lync 2013 Clients.
(if we use Lync 2010 client, Ppt sharing works legacy way, where there is no involvement of Office Web App Server)
Let’s talk about workflow of how Ppt sharing works if we are using Lync 2013 Client in Lync 2013 and Office Web App Server 2013 Integrated infrastructure.
When Lync 2013 user initiates or try to view Ppt presentation, Lync client uploads the PPT file to Lync front end server.
Lync 2013 Front end Server Encrypts and saves the Ppt file on to the Content file store (Lync file share) and generates File ID and Access Token for the Ppt file uploaded.
Lync Access server then retrieves WAC URL (stored in CMS during WAC Discovery process) and forms an URL that includes, WAC Presentation URL, File ID and Access Token of the Ppt File.
Lync Access Server sends this WAC URL formed to Presenter as well as attendees.
Lync Presenter/Attendee’s Client sends requests to this URL and contacts office web app server to get the PowerPoint presentation.
Once Office Web App Server receives this request it retrieves the Access Token, File ID and File location (file share) and access the Ppt file by contacting the Lync Content File store via Lync Front end Servers (Lync Web Services FQDN will also be present in the initial Request).
Office Web App server makes a temporary copy of Ppt file and creates html (dochtml) file and sends it to the Presenter/Attendee’s Client for Ppt presentation rendering.
Now that we know how it works in terms of workflow, lets concentrate on step by step troubleshooting approach on how to tackle such issues.
Client side troubleshooting:
First thing I would suggest is to use Lync 2010 Client and sign in using same account and test if Ppt feature works? If it does work, that means uploading of Ppt file and access to content file store is fine.
If it does work with Lync 2010 client but fails with Lync 2013 client, then we can clearly isolate the issue to be when office web app server is involved in Ppt sharing (that’s doesn’t mean that its office web app server issue, it could be client side issue or configuration of Lync Server side issue as well)
- Use fiddler tool and check if Lync 2013 client is at least attempting Office Web App Server presenter/participant URL or not; To do that follow below steps:
Download fiddler tool here:
Launch Fiddler -> Tools -> Fiddler Options -> HTTPS -> Decrypt HTTPS traffic -> Install fiddler Root Certificate.
- When fiddler is running, reproduce the issue by initiating a PowerPoint sharing, Look at fiddler captured requests to see if client is attempting Office Web App Server URL or not.
- If we don’t see any requests towards office web app server url from the client in fiddler, which means client doesn’t even know what URL to use for contacting Office Web App Server
- If we go back to process flow, who gives Office Web app server URL to client? it’s the Lync server which forms WAC URL with Ppt file id and access token and sends to Lync 2013 Clients, So if client isn’t attempting the URL, that means Lync Server haven’t been able to send Office Web App Server URL.
Server Side Troubleshooting
- First thing to do in this case is to check on Lync front end servers to see if we have LS Data MCU 31042 event or not (this event could appear when you publish topology or when web conferencing service is restarted)
- Event Logged on Front End Server Upon Successful Discovery of WAC Server/URLs (this happens first time when we add WAC Server to topology and publish or publishing the topology or upon restart of Lync Server Web Conferencing Service)
- If we don’t see 41032 event that to recently after any changes that was done on office web app server, then filter for LS Data MCU Events and you will see 41033 event indicating, failure to discover Office Web App Server URLs; This means, Lync server wasn’t able to contact office web app server to get the WAC URLs.
- In this case, follow the configuration steps and verify if all configurations are done correctly or not
1. WAC URL and Certificate correctly configured in Office Web app Server farm or not?
2. Whether certificate on the WAC Server contains the URL Wac.contoso.com?
3. Have we mentioned the same URL Wac.contoso.com in WAC URL field in Lync topology Builder or not?
4. Is the WAC discovery URL Https://wac.contoso.com/hosting/discovery browsable without any certificate alert from Lync server or not?
Unless we get 41032 Event on the Lync Front End Server, Front end server won’t be able to form WAC URL and send it to Lync 2013 client when they try to initiate Ppt sharing.
Issue Cause can be anything, WAC URL not being resolvable to an IP address or certificate on WAC Server doesn’t contain WAC URL or WAC URL is incorrectly mentioned in the Lync topology builder or an issue with office web app server itself.
We would have to verify all these one by one and take corrective actions to get it through to have Lync server to be able to discover office web app server URL.
Now after fixing the above issue or if we are already getting LS Data MCU 41032 Event, however if issue is still occurring then perform below steps:
Use Fiddler Tool again and reproduce the issue and see if its attempting WAC URL (since there is 41032 event on Lync FE Server, client should be attempting WAC URL)
While we have Lync ppt sharing session in progress on Lync Client copy the URL from Fiddler and try to view presentation from a browser
To do this -> Select the first request -> Copy -> just URL -> Open a browser -> Paste and hit Enter
- Even on browser if we are not able to view presentation, then there is some issue with office web app server itself (WAC Server itself or WAC Accessing File store), need to streamline and troubleshoot on Office Web App Server.
- First to rule out any Lync server side issue, try to resolve the Web Services URL that Office Web App server is attempting to get the ppt file.
- Use fiddler and select the request -> copy -> Just URL -> paste it in notepad -> see whats web services URL in it (see screenshot below) -> try to resolve this URL from Office Web App Server and ensure that its resolvable.
Now that we have isolate issue to be with Office Web App Server, we can collect ULS Logs from Office Web App Server located in C:\ProgramData\Microsoft\OfficeWebApps\Data\Logs\ULS and
use ULS Viewer to look at the logs based on Correlation ID or look at event viewer or engage office web app server specialists to assist on the same.
Look at the Fiddler trace to get Correlation ID in the initial Requests.
- Using the Correlation ID that you got from the Fiddler trace, filter ULS log using ULS Viewer
- Still if we couldn’t figure out, then it’s best to engage Office Web App Server specialist to have a look at these date and event logs on Office Web App Server.
- From Lync Server side, we can also take CLS Logs for WAC Server scenario for troubleshooting issues on WAC discovery issue on Lync server.
Start-CsCLSLogging -Scenario WAC
Stop-CsCLSLogging -Scenario WAC
Search-CsCLSLogging -OutputFilePath C:\WAC.log
- From these logs we would see below entries if its successful, if not would see respective Exception errors in case of a failure.
- Please note: There are situations where when you try to browse the WAC URL using browser you are able to get presentation, but using Lync 2013 client its giving an error, Please look to see if you are falling under IE11 issue with Office Web App Server (Here) and take corrective actions.
Overall above details just guides you through the troubleshooting steps which we can use to to isolate if issue is at client’s side or office web app server side or Lync server and take corrective actions accordingly to fix the same.
Hope the above information helps!
Pragathi Raj S
Support Engineer – Microsoft iGTSC