Office Servers and Services

"La connaissance ne vaut que si elle est partagée" / "An effective Knowledge is a shared one"

Archive for the ‘Lync 2013-Office Web APP’ Category

Lync 2013 Client : Certificat error when starting a PowerPoint presentation & sorry we ran into a problem displaying the presentation

Posted by Teruin laurent sur mai 16, 2014


Hello All

I ve got an issue today when i try to launch a Powerpoint presentation the Lync 2013 client display that there is an certificate error . It is important to take in account that the used workstation is a non-domain joined workstation running windows 8.1 who approve the Internal Ca.


So I immediately check these points

  • From the workstation where the Lync client is executed I can use correctly from the browser the discovery url without any certificate Issue! (https://officeWebapp01.company.xxx/Hosting/discovery)
  • The discovery url is equal to the discovery url that I have declared in the topology.
  • On the Lync FE server I observe the event ID 41032 on the Lync server. So Lync discover the officewebapp server

  • The OfficeWebApp Farm is correctly configured and running

  • The certificate is well positioned on the website and have the correct friendly name which correspond in the farm definition (« office »)

  • Everybody approve the internal CA. My workstation too
  • The Officewebapp and the lync server are on the same Vlan
  • I can ping and telnet from my workstation the IIS of Owapp on 443 .

So What is wrong ?

My certificate on the Officewebapp01 is a San. Hummm …

  1. Let remove it and just put a non San certificate
  2. If you use IIS « create certificate request » to make a certificate request, the program don’t put a friendly name in the request … (Windows 2012 Server US version) so you will not be able to link the certificate to the OfficeWebFarm. You can use the MMC Certificat Snapin. If you do this, don’t forget that the Country field only accept two letters. If you put USA or France you will get an error from the Internal Ca who will precise that the subject name is incorrect!. Or Create domain certificate which is easiest.
  3. I created the new certificate binded it to IIS Website for 443 and use set-officewebfarm –certificatename to reprecise the certificate friendly name.
  4. Restart the server and test again
  5. From the Lync Worsktation I could open without any certificate issue the discovery url so now check with Lync 2013 client

  6. Restarting the Lync 2013 client version 15.0.4615.1000. And same issue! Hummm weird !!!!! let inspect the Lync 2013 client logs

  7. Form the log side I can see that my client use the correct url

  8. And in the log I found this: The certificate presented by the WAC Server or Proxy could not be validated. »; hummmm Why why why why.. I don’t know 😉


  9. I decided to modify the iE settings and clear the certificate check close Lync client and restart.

  10. So now the issue is quite different. We are in progress 😉 the error message is very helpful no?

  11. Let’s check the Owapp server Log. For information it is running on windows 2012 standard server with 8 Go of ram and one vcpu (Vmware) and I can observe that
    not really helpful I think. But this appear at each time I try to start the Powerpoint presentation. Let return to the Lync 2013 client
  12. I tried to use a Lync 2010 client on a domain joined workstation (running windows Xp) and… the PowerPoint Prestation works !!!! what is wrong in my kingdom???? It should not be a server side issue? Well let check the owapp version

  13. When typing the error message « sorry we ran into a problem displaying the presentation » I found this link:
    http://blogs.technet.com/b/rischwen/archive/2013/12/03/lync-2013-wac-powerpoint-sharing-broken-windows-8-1-ie11.aspx. Which is .. resolved nice! .
  14. Installing this patch on OWAPP server

  15. Now the Officewebapp run this version
    But the problem is still the same….

 

 

 


 

Publicités

Posted in 2- Skype for Business 2015 / Lync 2013, Lync 2013-Office Web APP | Leave a Comment »

Office Web App Server 2013 – The WAC presentation failed with a critical error (54020)

Posted by David ANDRE sur janvier 30, 2014


Bonjour,

Lors d’un déploiement Lync Server 2013 chez un client, j’ai rencontré un problème de présentation PowerPoint sur des postes Windows 8.1 uniquement. Lync notifiait l’utilisateur (après quelques longues minutes…) « Désolé… Nous avons rencontré un problème lors de l’affichage de la présentation. Veuillez réessayer », peu importe la localisation de l’utilisateur (Interne LAN ou Externe).

Après quelques traces coté serveur, j’obtiens le diagnostic suivant :

Trace-Correlation-Id: 2323637827
Instance-Id: 1083FF1
Direction: incoming
Peer: 10.44.1.48:53093
Message-Type: request
SERVICE sip:davida@domain.com SIP/2.0
Start-Line: SERVICE sip:davida@domain.com SIP/2.0
From: <sip:davida@domain.com>;tag=7f8515c784;epid=91fb44fb94
To: <sip:davida@domain.com>
Call-ID: 2ec527b158ab48d48ae17601dfd009a4
CSeq: 1 SERVICE
Contact: <sip:davida@domain.com;opaque=user:epid:eYVljtSGp1uwU6jt3mIXYwAA;gruu>
Via: SIP/2.0/TLS:53093
Max-Forwards: 70
Content-Length: 1339
Content-Type: application/msrtc-reporterror+xml
Message-Body: <reportError xmlns= »http://schemas.microsoft.com/2006/09/sip/error-reporting »><error toUri= »sip:davida@domain.com;gruu;opaque=app:conf:focus:id:SR4TDLHY » callId= »87604341c32c4d53807ec531c36da86a » fromTag= »be818def6e » toTag= »9D130080″ requestType= » » contentType= » » responseCode= »0« ><diagHeader>54020;reason= »The WAC presentation failed with a critical error. »;ClientType=Lync;Build=15.0.4551.1007;ContentMCU= »sip:davida@domain.com;gruu;opaque=app:conf:data-conf:id:SR4TDLHY »;ConferenceUri= »sip:davida@domain.com;gruu;opaque=app:conf:focus:id:SR4TDLHY »;LocalFqdn= »NAN-INF-PO-DAE.domain.fr »;Url= »https://btzvitwac01.domain.fr/m/Presenter.aspx?a=0&amp;e=true&amp;WopiSrc=https%3A%2F%2Fnanvitlync03.domain.fr%2FDataCollabWeb%2Fwopi%2Ffiles%2F6E7-2-310CE1C&amp;access_token=AAMFEPLh4QPuIzZVrVwliTcpxAsGEGpgikk52ZyCniqNwpdsadeBEPLh4QPuIzZVrVwliTcpxAuCAvNVgyBEI2fa1vR4VsldtHZ602ibeEGjh1ak-0zm1oXAHP7vg4YIk1CLWRvs0AgIDURhdGFDb2xsYWJXZWI&amp;&lt;fs=FULLSCREEN&amp;&gt;&lt;rec=RECORDING&amp;&gt;&lt;thm=THEME_ID&amp;&gt;&lt;ui=UI_LLCC&amp;&gt;&lt;rs=DC_LLCC&amp;&gt; »;ErrorType= »fatal »;ServerVersion= »15.0.4420.1017″;ErrorMessage= »Désolé… Nous avons rencontré un problème lors de l’affichage de la présentation. Veuillez réessayer. »;CorrelationId= »bf8e5676-c86a-4dde-98b9-318a21b27a4d »</diagHeader><progressReports/></error></reportError>
$$end_record

De plus, aucune information n’était présente dans les logs IIS du serveur WAC ou encore coté observateur d’événements. Ce qu’il faut retenir de cette trace est le diagheader (54020). Après quelques recherches, il s’avère que depuis la mise à jour vers Windows 8.1, les présentations PPT avec le client Lync 2013 n’étaient plus disponibles suite à une incompatibilité. Microsoft a donc mis à disposition une KB pour le serveur Office Web App afin de résoudre ces problèmes.

La KB est disponible ici : http://support.microsoft.com/kb/2825686/en-us

Attention, elle fait 700MB. C’est en réalité le binaire d’installation d’Office Web App avec une mise à jour d’Octobre 2013. Attention, comme à chaque fois avec le serveur WAC, le passage d’une telle KB nécessitera la recréation de la Farm Office Web App !!!

Have Fun J

David ANDRE

Posted in 2- Skype for Business 2015 / Lync 2013, Lync 2013-Office Web APP | Leave a Comment »

Office Web App : Travailler à plusieurs simultanément sur un document enfin possible !!!

Posted by Teruin laurent sur novembre 7, 2013


J’en ai rêvé il l’on fait. Travailler à plusieurs sur un document c’est désormais possible grâce a Office Web App

Pour en savoir plus !

http://blogs.office.com/b/office365tech/archive/2013/11/06/collaboration-just-got-easier-real-time-co-authoring-now-available-in-microsoft-office-web-apps.aspx

Posted in Lync 2013-Office Web APP | Leave a Comment »

Lync 2013 : The WAC presentation failed with a server error [Solved]

Posted by Teruin laurent sur avril 15, 2013


Hi all I’ve got an issue with a fresh installation of Lync 2013 and Wac service.

When I try to present a PowerPoint with a lync client I’ve got an access issue


  • From the client I can open the Wacserver url discovery without no security warning
  • From the Front End I can open the wacserver url discovery without no security warning
  • When I open the certificate on the Wacserver I can see that the certificate have a valid private key
  • When I open the certificate on the Wacserver I can see that the certificate path is ok
  • The workstation who try to present the powerpoint have direct access to the FE and the WAC
  • The workstation can resolve the wac internal and external url
  • The workstation do not have proxy .
  • I Launch the Lync 2013 Best Practice : No issue on the report.
  • We try with a Lync 2013 client behind a Firewall and we can observe that the client use 8057 to the front end and 443 to the Wac server. All flow are permitted in this scenario but non access to the Wac
  • I read the technet Article ref: jj205393.aspx and unable to find a LS DATA MCU event 41033 in the Lync Event Log
  • 15 April 2013 : 16h01 : Reboot the server and test… Same issue
  • 15 April 2013 : 16h01 : Disabling the crl check on the client machine… same issue.
  • Try to execute this powershell command import-module servermanager add-windowsfeature Net-Framework-core / IISreset and try again : Same issue
  • Try add-windowsfeature net-framework and iisreset/ Same issue but the issue appear more fast on the client side
  • Try aspnet_regiis.exe –I and IISreset … same issue L(((
  • 15 April 2013 : 17:00 The client could not launch the URl Wac server discovery… ok Uninstalling the wacserver / rebooting the wac server
  • Deleting the content of the directory c:\program files\microsoft Office Web app
  • Reinstalling the webapp / applying the march update Kb2760486
  • Reconfiguring the webfarm
  • New-OfficeWebAppsFarm -InternalUrl « https://wacserver.company.net &raquo; -ExternalUrl « https://wacserver.company.com &raquo; -CertificateName « OfficeWebAppsIda2013 Certificate » –EditingEnabled

 

PS C:\Users\laurent.teruin> New-OfficeWebAppsFarm -InternalUrl « https://wacserver.company.net/ &raquo; -ExternalUrl « https://wac

server.company.com/ » -CertificateName « OfficeWebAppsIda2013 Certificate » -EditingEnabled

Setting EditingEnabled to TRUE. You should only do this if users of this Office Web Apps Server have licenses that

permit editing using Office Web Apps.

Continue with this operation?

[Y] Yes [N] No [S] Suspend [?] Help (default is « Y »): Y

FarmOU :

InternalURL : https://wacserver.company.net/

ExternalURL : https://wacserver.company.com/

AllowHTTP : False

SSLOffloaded : False

CertificateName : OfficeWebAppsIda2013 Certificate

EditingEnabled : True

LogLocation : C:\ProgramData\Microsoft\OfficeWebApps\Data\Logs\ULS

LogRetentionInDays : 7

LogVerbosity :

Proxy :

CacheLocation : C:\ProgramData\Microsoft\OfficeWebApps\Working\d

MaxMemoryCacheSizeInMB : 75

DocumentInfoCacheSize : 5000

CacheSizeInGB : 15

ClipartEnabled : False

TranslationEnabled : False

MaxTranslationCharacterCount : 125000

TranslationServiceAppId :

TranslationServiceAddress :

RenderingLocalCacheLocation : C:\ProgramData\Microsoft\OfficeWebApps\Working\waccache

RecycleActiveProcessCount : 5

AllowCEIP : False

ExcelRequestDurationMax : 300

ExcelSessionTimeout : 450

ExcelWorkbookSizeMax : 10

ExcelPrivateBytesMax : -1

ExcelConnectionLifetime : 1800

ExcelExternalDataCacheLifetime : 300

ExcelAllowExternalData : True

ExcelWarnOnDataRefresh : True

OpenFromUrlEnabled : False

OpenFromUncEnabled : True

OpenFromUrlThrottlingEnabled : True

PicturePasteDisabled : True

RemovePersonalInformationFromLogs : False

AllowHttpSecureStoreConnections : False

Machines : {NTINTFR06443}

 

15 April 2013 17:28

Now the client couldnot have access to the discovery url . I hate Office Web app !!!

 

When I try to open the discovery url I ve got this

 

Log Name: Microsoft Office Web Apps

Source: Office Web Apps

Date: 4/15/2013 5:25:18 PM

Event ID: 8118

Task Category: None

Level: Error

Keywords: Classic

User: N/A

Computer: NTINTFR06443.emea.company.net

Description:

Error when trying to connect to Farm State Manager service: System.ServiceModel.ProtocolException: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: ‘<!DOCTYPE html>

<html>

<head>

<title>Could not load type ‘System.ServiceModel.Activation.HttpModule’ from assembly ‘System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’.</title>

<meta name= »viewport » content= »width=device-width » />

<style>

body {font-family: »Verdana »;font-weight:normal;font-size: .7em;color:black;}

p {font-family: »Verdana »;font-weight:normal;color:black;margin-top: -5px}

b {font-family: »Verdana »;font-weight:bold;color:black;margin-top: -5px}

H1 { font-family: »Verdana »;font-weight:normal;font-size:18pt;color:red }

H2 { font-family: »Verdana »;font-weight:normal;font-size:14pt;color:maroon }

pre {font-family: »Consolas », »Lucida Console »,Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}

.marker {font-weight: bold; color: black;text-decoration: none;}

.version {color: gray;}

.error {margin-bottom: 10px;}

.expandable {‘. —> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.

at System.Net.HttpWebRequest.GetResponse()

at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)

— End of inner exception stack trace —

……

.error {margin-bottom: 10px;}

.expandable {‘. —&gt; System.Net.WebException: The remote server returned an error: (500) Internal Server Error.

at System.Net.HttpWebRequest.GetResponse()

at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)

— End of inner exception stack trace —


</Event>

 

For this issue i resolve it by applying this KB :
http://support.microsoft.com/kb/2015129

After applying this kb the client can access to the discovery wac URL

 

If you inspect the IIS Log file on the Wac server when the user wants to present the PPT you will see that wacserver will use the webservice url. Lsweb.company.net in my configuration

 

Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken

2013-04-15 15:49:08 10.203.0.11 GET /hosting/discovery/ – 443 – 10.203.0.14 – 200 0 0 1285

2013-04-15 15:50:02 10.203.0.11 GET /hosting/discovery – 443 – 10.203.0.21 Mozilla/5.0+(compatible;+MSIE+10.0;+Windows+NT+6.1;+Trident/6.0) 200 0 0 0

2013-04-15 15:50:42 10.203.0.11 GET /m/Presenter.aspx a=0&e=true&WopiSrc=https%3A%2F%2Flsweb.company.net%2FDataCollabWeb%2Fwopi%2Ffiles%2F7-2-6A6AAB&access_token=AAMFEMvgfUUmM5ZZo_ivhzc4s5sGECLij1Ks9a4uqC7oV6ETKIiBEMvgfUUmM5ZZo_ivhzc4s5uCAvd2gyA3CoLTJf7OejmmW-_jLnl7wYVRzjsWsd1tFZ1sNabm5oYIa7jqtUcI0AgIDURhdGFDb2xsYWJXZWI&fs=false&rec=false&thm=1&ui=en-US&rs=en-US& 443 – 10.203.0.21 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+.NET4.0C;+InfoPath.3) 302 0 0 27815

2013-04-15 15:50:42 10.203.0.11 GET /error.html – 443 – 10.203.0.21 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+.NET4.0C;+InfoPath.3) 304 0 0 322

 

 

Because in my configuration the internal webservice was not accessible through the HLB, the presentation fail. For demonstrate this, I’ve just putting the internalwebservice fqdn = frontend fdqn on the host file, on the client and on the Wacserver, and the client was able to launch and present the ppt

It means that the client need to have access to Http 443 /TCP to the Wacserver and also have access to internal url of the webservice for presenting.

Personally I think that Microsoft should precise how the Lync 2013 office Web App publication and the flow occurs.

 

 

Thanks to S.Duta@ microsoft.com for his precious help

Laurent Teruin

Additionnal information below

 

 

Certificat on the IISweb Site on the wac server


 

When I search on the client log I ve find this

 

<reportError xmlns= »http://schemas.microsoft.com/2006/09/sip/error-reporting »><error toUri= »sip:laurent.teruin@company.com;gruu;opaque=app:conf:focus:id:50BKY1DS » callId= »22e343524b3a47248e999ec1c324e0e6″ fromTag= »dcdd931fab » toTag= »0C390080″ requestType= » » contentType= » » responseCode= »0″><diagHeader>54031;reason= »The WAC presentation failed with a server error. »

;ClientType=Lync;Build=15.0.4481.1000;ContentMCU= »sip:Laurent.Teruin@company.com;gruu;opaque=app:conf:data-conf:id:50BKY1DS »;ConferenceUri= »sip:laurent.teruin@company.com;gruu;opaque=app:conf:focus:id:50BKY1DS »;LocalFqdn= »WIN7TESTCLIENT.emea.company.net »;Url= »https://wacserver.company.net/m/Presenter.aspx?a=0&amp;e=true&amp;WopiSrc=https%3A%2F%2Flsweb.company.net%2FDataCollabWeb%2Fwopi%2Ffiles%2F8-1-

 

Because we change the certificate on the wac I uninstall the wac component / reboot the wac server/ reinstall the Wac with the March update , create the WebAppsFarm

The webapp is below

FarmOU :

InternalURL : https://wacserver.company.net/

ExternalURL : https://wacserver.company.net/

AllowHTTP : False

SSLOffloaded : False

CertificateName : OfficeWebAppsIda2013 Certificate

EditingEnabled : True

LogLocation : C:\ProgramData\Microsoft\OfficeWebApps\Data\Logs\ULS

LogRetentionInDays : 7

LogVerbosity :

Proxy :

CacheLocation : C:\ProgramData\Microsoft\OfficeWebApps\Working\d

MaxMemoryCacheSizeInMB : 75

DocumentInfoCacheSize : 5000

CacheSizeInGB : 15

ClipartEnabled : False

TranslationEnabled : False

MaxTranslationCharacterCount : 125000

TranslationServiceAppId :

TranslationServiceAddress :

RenderingLocalCacheLocation : C:\ProgramData\Microsoft\OfficeWebApps\Working\waccache

RecycleActiveProcessCount : 5

AllowCEIP : False

ExcelRequestDurationMax : 300

ExcelSessionTimeout : 450

ExcelWorkbookSizeMax : 10

ExcelPrivateBytesMax : -1

ExcelConnectionLifetime : 1800

ExcelExternalDataCacheLifetime : 300

ExcelAllowExternalData : True

ExcelWarnOnDataRefresh : True

OpenFromUrlEnabled : False

OpenFromUncEnabled : True

OpenFromUrlThrottlingEnabled : True

PicturePasteDisabled : True

RemovePersonalInformationFromLogs : False

AllowHttpSecureStoreConnections : False

Machines : {NTINTFR06443}

 

 

 

 

 


 

Posted in 2- Skype for Business 2015 / Lync 2013, Lync 2013-Office Web APP | 2 Comments »