Office Web Apps KeyNotFound Exception After December CU

After applying the December CU to my WAC 2013 farm, documents will no longer open in browser from SharePoint.  The install went smooth.  I followed the instructions to remove the hosts from the farm, install the update and recreate the farm.  The
secondary server joined the farm without any errors.  When I try to open a document from a SharePoint site, I see the following errors in the logs on the WAC hosts:
ServiceInstanceFinderAdapter.FindAllServiceInstances() threw an exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Collections.Generic.KeyNotFoundException: The given key was not
present in the dictionary.    
 at Microsoft.Office.Web.Apps.Environment.WacServer.AFarmTopology.GetMachine(String machineName)    
 at Microsoft.Office.Web.Apps.Environment.WacServer.WSServiceInstanceFinderAdapter..ctor()     -
-- End of inner exception stack trace ---    
 at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)    
 at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)    
 at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)    
 at System.Activator.CreateInstance(Type type, Boolean nonPublic)    
 at Microsoft.Office.Web.Common.EnvironmentAdapters.HostEnvironment.LoadAdapterInstance(AdapterLoadInformation adapterInfo, Boolean readAppConfigOnly)    
 at Microsoft.Office.Web.Common.EnvironmentAdapters.HostEnvironment.AdapterLoadInformation`1.<>c__DisplayClass17.<BuildInstance>b__16()    
 at System.Lazy`1.CreateValue()    
 at System.Lazy`1.LazyInitValue()    
 at Microsoft.Office.Web.Common.EnvironmentAdapters.HostEnvironment.get_ServiceInstanceFinderAdapter()    
 at Microsoft.Office.Web.Common.ServiceInstanceFinder.RefreshList(Object state)
I can't find any online documentation about this error in a post update scenario.  Any ideas on my next steps?
Thanks

Remove the WOPI binding from SharePoint, remove each OWA server from the farm (and the farm itself), then just recreate the setup. It looks like it is missing a machine name in the farm.
Trevor Seward
Follow or contact me at...
&nbsp&nbsp
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Similar Messages

  • Office Web Apps is not working

       Hi,
         We have tried to deploy Office Web Apps Server but, after a number of tests, we haven't been able to view PowerPoint presentations. We tested "everything" but it didn't work.
         Finally, to simplify and focus the problem, we just deployed Office Web Apps Server "on its own", that is: just Internal URL, HTTP, Open From URL Enabled and sharing docs from a shared folder in the same server. So we have:
         \\wacserver\share\<Docs> (Excel, Word and PowerPoint)
         http://wacserver
         They work both "/hosting/discovery" and "/op/generate.aspx".
         If we try to view Excel doc, it works. If we try to view Word or PowerPoint, id doesn't work.
         For PowerPoint, it appears the PowerPoint Web Apps frame (FILE, START SLIDE SHOW, SLIDE - OF -, NOTES...) and, in the center, an animation 
    "PowerPoint Web App .....". After a couple of minutes, it stops with "Either you've lost network connectivity or our server is to busy to handle your request".
         What we have seen from different sources:
    FIDDLER
    ======
         /op/view.aspx?... Response 200
         /p/PowerPointFrame.aspx?... Response 200
         /p/imagehandler.ashx?... Response 202
         13 petitions to /p/ppt/view.svc/jsonAnonymous/GetPresentation Response 200
    PROCESS MONITOR
    ==============
         There were some folders and registry keys Network Service was trying to access with ACCESS DENIED response. We gave it permissions and they disappeared.
         SYSTEM is trying to access some registry keys (SpellingWcfprovider.exe => HKU\S-1-5-18, ImagingService.exe => HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options, and 2 or 3 more). It gets an ACCESS DENIED
    but SYSTEM, we have checked, has "Full control" permissions in those keys or folders.
         These errors appear by Office Web Server running itself, although we are not making a PowrPoint file request.
    ULS
    ===
         Several times, it tries to find the PowerPoint presentation in the caché, doesn't find it, manage to get it but, when trying to put it in the cache, it receives a disk space error:
    Determined file name [PowerPoint.pptx] from [\\wacserver\share\PowerPoint.pptx]
    AFileFetcher: Starting Unc download at [\\wacserver\share\PowerPoint.pptx]
    Begining UNC Download for [\\wacserver\share\PowerPoint.pptx]
    Reading next block of bytes for [\\wacserver\share\PowerPoint.pptx]
    End reading block of bytes for [\\wacserver\share\PowerPoint.pptx]
    Reading next block of bytes for [\\wacserver\share\PowerPoint.pptx]
    End reading block of bytes for [\\wacserver\share\PowerPoint.pptx]
    AFileFetcher: Done downloading file. [\\wacserver\share\PowerPoint.pptx]
    Downloaded file from final URL [\\wacserver\share\PowerPoint.pptx] with SHA256 [Y/whX0EzCZJQdHym/OPrMdrNVg0h8SwrC0TehaKIQdU=]
    AFileFetcher: Will cache web file info to memory cache. [\\wacserver\share\PowerPoint.pptx]
    Starting WriteStreamToDiskCache
    Creating channel to DiskCache: http://wacserver:809/diskcache/DiskCache.svc
    MachineTransfer [SourceMachine:wacserver, SourceMachineVersion:15.0.4543.1000, TargetMachine:wacserver, TargetMachineVersion:15.0.4551.1011, Method:DiskCacheService.PutCacheData]
    PutCacheData: [167F6AC792AE9B53BEA7CD135A35C18F0710CF5916C49DD5804C9E29CF9149CA55D1C8D1AD526B45B91801E1502B2BCD, d1c8d155-52ad-456b-b918-01e1502b2bcd, 50758, wacserver]
    PutCacheData: Writing to C:\ProgramData\Microsoft\OfficeWebApps\Working\d\1CA\167F6AC792AE9B53BEA7CD135A35C18F0710CF5916C49DD5804C9E29CF9149CA55D1C8D1AD526B45B91801E1502B2BCD
    Not enough disk space to write.  Sleeping once.
    Not enough disk space to write.  Giving up.
    PutCacheData Response: [False]
         The cache folder has enough disk size and PowerPoint.pptx file is just 30 KB.
         It repeats this flow 3 times (as for the first HTTP requests).
         During the 2 minutes test (until it fails) there are 14 traces like:
    Failed to create process object for pid 7780 with exception System.ArgumentException: Process with an Id of 7780 is not running.     at System.Diagnostics.Process.GetProcessById(Int32 processId)     at Microsoft.Office.Web.Common.RequestPipe.ProcessManager.TryGetProcessObject(Int32
    pid).
         We have tried a number of things but none has worked. The farm has just one server and it says ist's unhealthy. We have Windows Server 2008 R2 SP1. We have read some ways to fix the health, like HTTP Activation feature, but it only works
    for Windows Server 2012 as fas as we know.
         Has anybody experienced something like this or have a posible solution? Office Web Apps Server should be so easy to deploy but we have spent a lot of time with this.
         Thank you very much. Your help will be very appreciated.
         Kind regards.

    Hi John,
    According to your description, my understanding is that you cannot view the PowerPoint files in Office Web Apps in SharePoint.
    Was there any error when you view the PowerPoint files in Office Web Apps?
    You can troubleshoot the error following the link below:
    http://technet.microsoft.com/en-us/library/ff431687.aspx#tshoot
    I also recommend to re-configure SharePoint to use the Office Web Apps Server to see if the issue still occurs.
    http://technet.microsoft.com/en-us/library/ff431687.aspx#ConfigureMain
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Office web apps feature not working after setup and configuration?

    Hi I have installed the SP1 update and since then my office web apps features are not coming up in SharePoint. After running the updates and attaching the farm back i see the bindings and settings are applied but somehow the office web apps features are
    not coming up in SharePoint. Can someone let me know what might be the issue?

    Did you delete and recreate the WAC farm after you updated?
    See: https://technet.microsoft.com/en-us/library/jj966220.aspx
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Office Web Apps Error after SP 2013 September 2014 CU

    Hello  Everyone,
    I have a single front end and single SQL server for my SharePoint 2013 deployment.  I also have Office Web Apps setup and running.  However after installing SP 1 and the latest September 2014 CU it appears our users are seeing the below prompt
    when open a Word doc in Office Web Apps.
    However I am finding that if they use IE 9 or 10 and even Firefox everything works normal.  This appears to be affecting just Word.
    As for my Office Web Apps server it is still at Version 15.0.4420.1017 (RTM) 
    If I need to update my Office Web Apps server what order should i do.  SP1, July, then Sept?  
    Thanks,
    Ian...

    You need to apply office web app update. 
    It should be in below order.
    Office web app Sp1
    September 2014 update
    If this helped you resolve your issue, please mark it Answered

  • Office Web App error - unable to open PDF after multiple trials

    Hi, we are using Office Web App server 2013 on win server 2012 (NO Sharepoint installed) to preview files (doc, docx, pdf, xls, xlsx, ppt, pptx), OWA is set as http, wopihost
    is http as well under different from HTTP80, HTTP809 application pool
    File conversion if fine for small files and large files to some point - we can process same large pdf (100MB) 30-50 times, but after that there is a message
    "Sorry, Word Web App ran into
    a problem opening this document. To view this document please open it in Microsoft Word."
    Server has plenty of free space, PerfMon
    does not show spikes, no memory spikes in Process Manager. ULS logs do not provide any good info either...
    No errors in event log under Applications,
    System, or Microsoft Office Web Apps sections.
    That error will be shown if we process
    the same file. if try to process different file it works fine (again - few dozen times), but if after that I try to process first file - it shows error again.
    Documents
    are located on the same server as OWA installed, same machine has wopi site in non owa application pool (from Microsoft demo
    - C#)
    The only resolution i found is to reset
    WAC server from PowerShell or restart IIS - after that it starts to process original file...
    If I just recycle OWA application pools
    - HTTP80, HTTP809 it does not help. (tried to change Recycling condition in IIS for those pools - it slightly improves situation but does not resolve).
    I can reproduce such pattern with different file types, it just matter of number of hits.
    Same error present if we use OWA and wopi on machine as https with certificate.
    We use VerboseEx option for logging - no errors in ULS log files, but multiple Sync exiting
    early records similar to 
    Sync exiting early: LastSyncTime = 09/16/2014 14:52:07    
     at Microsoft.Office.Web.Apps.Environment.WacServer.ACacheableFarmStateObject.Sync(Boolean force)  
     at Microsoft.Office.Web.Apps.Environment.WacServer.AFarmSettings.TryGetSettingValue[T](String settingName,
    T& value, Boolean shouldProcessValue)    
     at Microsoft.Office.Web.Apps.Environment.WacServer.WSConfigAdapter.TryGetValue[T](String settingName,
    T& value)    
     at Microsoft.Office.Web.Apps.Environment.WacServer.WSServiceInstanceFinderAdapter.GetAgentUri(WebAgentProperties
    agentProperties, String machineName, String fqdn)    
     at Microsoft.Office.Web.Apps.Environment.WacServer.WSServiceInstanceFinderAdapter.UpdateServiceList()
     at Microsoft.Office.Web.Apps.Environment.WacServer.WSServiceInstanceFinderAdapter.FindAllServiceInstances()
     at Microsoft.Office.Web.Common.ServiceInstanceFinder.RefreshList(Object state)    
     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback
    callback, Object state, Boolean preserveSyncCtx)    
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback,
    Object state, Boolean preserveSyncCtx)    
     at System.Threading.TimerQueueTimer.CallCallback()    
     at System.Threading.TimerQueueTimer.Fire()    
     at System.Threading.TimerQueue.FireNextTimers()  
    ---------------------------------There are some paired records
    Cached service list has 39 service instances before the update
    Cached service lists has 39 service instances after the update
    So it goes as follows: OWA processing all formats fine, after trying same 100mb pdf file 50 times (it is possible to get same error with docx, just bigger number of trials) it does not process that pdf file, but processes others.
    After IIS reset it works as usual again. After trying another 100mb pdf file 50-60 times OWA stops to process that another file... We are expecting large number of hits and resetting IIS every 30min is not a good solution...
    Any help will be appreciated.
    Thank you

    Hi ,
    Thank you for your post.
    Whether the issue occurs with different file types or only the PDF.
    Based on your description, when you reset WAC server from PowerShell or restart IIS, the issue is solved temporarily.
    I recommend that you check the application account, re-enter the account, then reset the IIS.
    whether the issue occurs with different file types or only the PDF.
    In addition, please check if the link is useful:
    http://stevemannspath.blogspot.jp/2013/04/sharepoint-2013-pdf-support-and.html
    Best Regards,  
    Lisa Chen

  • Office Web Apps broken in IE11 after CU installation

    We just installed the Oct 2013 CU and during testing found that Word and PowerPoint Office Web Apps now do not work in IE11 only. IE 8-10, Firefox, Chrome, and Safari all still display documents fine using Office Web Apps.  Excel Web App doesn't display
    an error, but it also seems to have issues and doesn't always display the ribbon menu with IE11 only. 
    The error being displayed is "Sorry, we ran into a problem"
    Does anyone have any ideas on what is causing or has seen a similar issue?
    Thanks. 
    Nick Hurst

    There are posts about problems with SP & IE 11 all over the place. It's a known issue. Most of the problems can be solved by changing the compatability mode in IE. Here's some links you can check out:
    http://corypeters.net/2013/10/sharepoint-and-internet-explorer-11/
    http://sharepointthing.wordpress.com/2013/10/09/problem-with-sharepoint-2013-and-internet-explorer-11/
    http://community.office365.com/en-us/forums/685/t/211953.aspx
    cameron rautmann

  • Office Web Apps - "Could not find trace string in ULS logs" unhealthy?

    I have reviewed everything I could find on unhealthy WAC clusters as my problem seems unrelated to certificate or missing components.  I've already digested
    http://www.wictorwilen.se/office-web-apps-server-2013---machines-are-always-reported-as-unhealthy (Thanks Wictor).
    The particular configuration is an Office Web Apps 2013 ([X-OfficeVersion, 15.0.4551.1005]), running on top of Windows Server 2012, configured for http access (SSL offloaded NLB cluster) and finally linked to Exchange 2013, Lync 2013 and SharePoint
    2013.  Everything works as expected from client side after setting IIS ARR to handle all reverse proxy bits.
    FarmOU                            :
    InternalURL                       : https://officeapps.fqdn/
    ExternalURL                       : https://officeapps.fqdn/
    AllowHTTP                         : True
    SSLOffloaded                      : True
    CertificateName                   :
    EditingEnabled                    : True
    LogLocation                       : C:\ProgramData\Microsoft\OfficeWebApps\Data\Logs\ULS
    LogRetentionInDays                : 7
    LogVerbosity                      : Unexpected
    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              : 50
    ExcelPrivateBytesMax              : -1
    ExcelConnectionLifetime           : 1800
    ExcelExternalDataCacheLifetime    : 300
    ExcelAllowExternalData            : True
    ExcelWarnOnDataRefresh            : True
    OpenFromUrlEnabled                : False
    OpenFromUncEnabled                : True
    OpenFromUrlThrottlingEnabled      : True
    PicturePasteDisabled              : True
    RemovePersonalInformationFromLogs : False
    AllowHttpSecureStoreConnections   : False
    Machines                          : {WAC15PD-02, WAC15PD-01}
    The problem however is an incessant logging on the WAC cluster nodes of event 1204,2204 followed almost immediately by 1004,2004.  This repeats every 4min or so...
    - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    - <System>
      <Provider
    Name="Office Web Apps Monitoring" />
      <EventID
    Qualifiers="0">1204</EventID>
      <Level>2</Level>
      <Task>1</Task>
      <Keywords>0x80000000000000</Keywords>
      <TimeCreated
    SystemTime="2014-02-04T20:49:37.000000000Z" />
      <EventRecordID>3043246</EventRecordID>
      <Channel>Microsoft Office Web Apps</Channel>
      <Computer>wac15pd-01.fqdn</Computer>
      <Security
    />
      </System>
    - <EventData>
      <Data><?xml version="1.0" encoding="utf-16"?> <HealthReport xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <HealthMessage>UlsControllerWatchdog reported status for UlsController in category 'Verify Trace Logging'. Reported status: Could not find trace string in ULS logs in C:\ProgramData\Microsoft\OfficeWebApps\Data\Logs\ULS.</HealthMessage>
    <ComponentOwner>ServicesInfrastructure</ComponentOwner>
    </HealthReport></Data>
      </EventData>
     </Event>
    - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    - <System>
      <Provider
    Name="Office Web Apps Monitoring" />
      <EventID
    Qualifiers="0">2204</EventID>
      <Level>2</Level>
      <Task>1</Task>
      <Keywords>0x80000000000000</Keywords>
      <TimeCreated
    SystemTime="2014-02-04T20:49:37.000000000Z" />
      <EventRecordID>3043247</EventRecordID>
      <Channel>Microsoft Office Web Apps</Channel>
      <Computer>wac15pd-01.fqdn</Computer>
      <Security
    />
      </System>
    - <EventData>
      <Data><?xml version="1.0" encoding="utf-16"?> <HealthReport xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <HealthMessage>UlsControllerWatchdog reported status for UlsController in category 'Verify Trace Logging'. Reported status: Could not find trace string in ULS logs in
    C:\ProgramData\Microsoft\OfficeWebApps\Data\Logs\ULS.</HealthMessage> <ComponentOwner>ServicesInfrastructure</ComponentOwner>
    </HealthReport></Data>
      </EventData>
      </Event>
    - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    - <System>
      <Provider
    Name="Office Web Apps Monitoring" />
      <EventID
    Qualifiers="0">1004</EventID>
      <Level>2</Level>
      <Task>10002</Task>
      <Keywords>0x80000000000000</Keywords>
      <TimeCreated
    SystemTime="2014-02-04T20:49:39.000000000Z" />
      <EventRecordID>3043266</EventRecordID>
      <Channel>Microsoft Office Web Apps</Channel>
      <Computer>wac15pd-01.fqdn</Computer>
      <Security
    />
      </System>
    - <EventData>
      <Data><?xml version="1.0" encoding="utf-16"?> <HealthReport xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <HealthMessage>AgentManagerWatchdog reported status for
    AgentManagerWatchdog in category 'Recent Watchdog Reports'. Reported status: Machine health is Unhealthy</HealthMessage> </HealthReport></Data>
      </EventData>
     </Event>
    - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    - <System>
      <Provider
    Name="Office Web Apps Monitoring" />
      <EventID
    Qualifiers="0">2004</EventID>
      <Level>2</Level>
      <Task>10002</Task>
      <Keywords>0x80000000000000</Keywords>
      <TimeCreated
    SystemTime="2014-02-04T20:49:39.000000000Z" />
      <EventRecordID>3043267</EventRecordID>
      <Channel>Microsoft Office Web Apps</Channel>
      <Computer>wac15pd-01.fqdn</Computer>
      <Security
    />
      </System>
    - <EventData>
      <Data><?xml version="1.0" encoding="utf-16"?> <HealthReport xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <HealthMessage>AgentManagerWatchdog reported status for
    AgentManagerWatchdog in category 'Recent Watchdog Reports'. Reported status: Machine health is Unhealthy</HealthMessage> </HealthReport></Data>
      </EventData>
      </Event>
    Further exploration of ULS log files (C:\ProgramData\Microsoft\OfficeWebApps\Data\Logs\ULS) did not yield particularly much, except the following;
    02/04/2014 20:48:04.48  UlsControllerWatchdog.exe (0x1244)       0x0F60 Services Infrastructure        Uls Controller Watchdog        ajbam Assert 
     We're about to trace a string for category MsoSpUlsControllerWatchdog at level Info and we expect to find in the log later, but it appears that the category has been throttled. We will never be able to find the string and this watchdog will always fail.
    StackTrace:   at Microsoft.Office.Web.UlsControllerWatchdog.Program.CheckServiceInstance(ServiceInstance serviceInstance)     at Microsoft.Office.Web.Common.WatchdogHelperThreadManager.GetHealthResults(WatchdogExecutionContext
    context, ServiceInstance si)     at Microsoft.Office.Web.Common.WatchdogHelperThreadManager.WatchingThreadMethod(Object o)     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback
    callback, Object state, Boolean preserveSyncCtx)     at System.Threading.ExecutionContext.Ru... 345fbec5-e958-4f1f-bf56-d65c1c0d472a
    02/04/2014 20:48:04.48* UlsControllerWatchdog.exe (0x1244)       0x0F60 Services Infrastructure        Uls Controller Watchdog        ajbam Assert 
     ...n(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)     at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()    
    at System.Threading.ThreadPoolWorkQueue.Dispatch()   345fbec5-e958-4f1f-bf56-d65c1c0d472a
    02/04/2014 20:48:05.52  UlsControllerWatchdog.exe (0x1244)       0x0F60 Services Infrastructure        Services Infrastructure Health adhog Unexpected Health report
    by UlsControllerWatchdog: Agent: UlsController, eventId: 1204, eventType: Error, categoryId: 1, eventMessage: <?xml version="1.0" encoding="utf-16"?>  <HealthReport xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">    <HealthMessage>UlsControllerWatchdog reported status for UlsController in category 'Verify Trace Logging'. Reported
    status: Could not find trace string in ULS logs in C:\ProgramData\Microsoft\OfficeWebApps\Data\Logs\ULS.</HealthMessage>    <ComponentOwner>ServicesInfrastructure</ComponentOwner>  </HealthReport> 345fbec5-e958-4f1f-bf56-d65c1c0d472a
    02/04/2014 20:48:05.52  UlsControllerWatchdog.exe (0x1244)       0x0F60 Services Infrastructure        Services Infrastructure Health adhoh Unexpected Health report
    by UlsControllerWatchdog (persistent): Agent: UlsController, eventId: 2204, eventType: Error, categoryId: 1 345fbec5-e958-4f1f-bf56-d65c1c0d472a
    I suspect these might be related, but can't seem to find any logical explanation why this should cause the Get-OfficeWebAppsMachine to report HealthStatus of Unhealthy.  If related, is there a way to disable this check or remove throttling in a safe
    way?  Alternatively if this is some coding issue (I've not found any other blog/QA dealing with this particularly) it would be nice to get confirmation of this and potentially a fix/solution.
    Any help would be greatly appreciated. Thank you!

    Hi ChristiaanB,
    You get this ULS error because you change the log verbosity of the OWA farm. I wrote an article for this on my blog : OWA unhealthy uls issue
    Regards,
    Wes

  • PowerPoint presentations not working with Office Web Apps

         Hi,
         I have deployed Lync 2013 and Office Web Apps Server in order to share PowerPoint presentations. All te sharings are working fine (Desktop, Program, Whiteboard, Poll) but PowerPoint presentations.
         I have re-installed Office Web Apps Server several times but it doesn't work:
         Discovery URL is OK
         Event IDs in Lync Server Event Viewer are OK
         I have checked certificate and created it twice and that's not the problem (when tried to use a wrong certificate, the behaviour was different).
         Tried aspnet_regiis but didn't worked.
         Both Lync Server and Office Web Apps Server are updated.
         Servers are Windows Server 2008 R2 SP1.
         I have tested both Lync 2013 and Lync 2013 Basic clients but no one works.
         When I share a PowerPoint, I can see it follows the whole way through LyncShare, Lync Server and Office Web Apps Server. PowerPoint files get to Office Web Apps Server (different name but I can move then to other workstation and check
    they are the files shared).
         Clients begin showing a "Loading..." but end showing "Network connectivity lost or server too busy" (after 90 seconds more or less).
         If I get URL from Lync-UccApi-0:
         https://wacserver.domain/m/Presenter.aspx?a=0&amp;e=true&amp;WopiSrc=https%3A%2F%2Flyncpool.domain%2FDataCollabWeb%2Fwopi%2Ffiles%2F11-1-90C848&amp;access_token=AAMFEECCjUt7489YhSlhQY4GBWcGEIsJ8vG8JQH9w0g_TTTVe3aBEECCjUt7489YhSlhQY4GBWeCApwQgyBHjXVmSaUT70sAAlMNX4oAfTt5Nqgy5sJwqlLneNAxGYYIsFS5edC90AgIDURhdGFDb2xsYWJXZWI&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;
         If I put this URL in the browser, it turns black and shows "Loading..." and, after a long while, "PowerPoint Web App...", but it remains in this state (loading) without working.
         In the Office Web Apps Server Event Viewer there are some errors related to other services I'm not using, as OneNote, or for Monitoring with the "PositiveDirect" and "NegativeDirect" tokens. Machine also answers it's
    Unhealthy, but as I have read, this is not a problem.
         In the ULS Logs I just see errors related to these events but logs for PowerPoint work fine. And IIS is answering with "200" (although there are a number of petitions that seem to be repeated:
    2013-12-02 16:23:15 WACSERVER_IP GET /m/getdata.ashx s=a%3D0%26WopiSrc%3Dhttps%253a%252f%252flyncpool.domain%252fDataCollabWeb%252fwopi%252ffiles%252f11-1-90C848%26access_token%3DAAMFEECCjUt7489YhSlhQY4GBWcGEBpfUkNifoaqnZCEMbqB4haBEECCjUt7489YhSlhQY4GBWeCApwQgyCHF8jSo70Xws4SrDZyRP3zgH8FZLobf75sHXgxfCmyK4YIxsoPfNC90AgIDURhdGFDb2xsYWJXZWI%26rec%3Dfalse%26thm%3D1%26ui%3Des-ES%26rs%3Des-ES%26%3D&n=-1&r=1386001395077
    443 - Client_IP Mozilla/4.0+(compatible;... 200 0 0 218
    2013-12-02 16:23:15 WACSERVER_IP GET /m/getdata.ashx s=a%3D0%26WopiSrc%3Dhttps%253a%252f%252flyncpool.domain%252fDataCollabWeb%252fwopi%252ffiles%252f11-1-90C848%26access_token%3DAAMFEECCjUt7489YhSlhQY4GBWcGEBpfUkNifoaqnZCEMbqB4haBEECCjUt7489YhSlhQY4GBWeCApwQgyCHF8jSo70Xws4SrDZyRP3zgH8FZLobf75sHXgxfCmyK4YIxsoPfNC90AgIDURhdGFDb2xsYWJXZWI%26rec%3Dfalse%26thm%3D1%26ui%3Des-ES%26rs%3Des-ES%26%3D&n=-1&r=1386001396078
    443 - Client_IP Mozilla/4.0+(compatible;... 200 0 0 203
    2013-12-02 16:23:17 WACSERVER_IP GET /m/getdata.ashx s=a%3D0%26WopiSrc%3Dhttps%253a%252f%252flyncpool.domain%252fDataCollabWeb%252fwopi%252ffiles%252f11-1-90C848%26access_token%3DAAMFEECCjUt7489YhSlhQY4GBWcGEBpfUkNifoaqnZCEMbqB4haBEECCjUt7489YhSlhQY4GBWeCApwQgyCHF8jSo70Xws4SrDZyRP3zgH8FZLobf75sHXgxfCmyK4YIxsoPfNC90AgIDURhdGFDb2xsYWJXZWI%26rec%3Dfalse%26thm%3D1%26ui%3Des-ES%26rs%3Des-ES%26%3D&n=-1&r=1386001397093
    443 - Client_IP Mozilla/4.0+(compatible;... 200 0 0 203
    2013-12-02 16:23:18 WACSERVER_IP GET /m/getdata.ashx s=a%3D0%26WopiSrc%3Dhttps%253a%252f%252flyncpool.domain%252fDataCollabWeb%252fwopi%252ffiles%252f11-1-90C848%26access_token%3DAAMFEECCjUt7489YhSlhQY4GBWcGEBpfUkNifoaqnZCEMbqB4haBEECCjUt7489YhSlhQY4GBWeCApwQgyCHF8jSo70Xws4SrDZyRP3zgH8FZLobf75sHXgxfCmyK4YIxsoPfNC90AgIDURhdGFDb2xsYWJXZWI%26rec%3Dfalse%26thm%3D1%26ui%3Des-ES%26rs%3Des-ES%26%3D&n=-1&r=1386001398093
    443 - Client_IP Mozilla/4.0+(compatible;... 200 0 0 218
    2013-12-02 16:23:19 WACSERVER_IP GET /m/getdata.ashx s=a%3D0%26WopiSrc%3Dhttps%253a%252f%252flyncpool.domain%252fDataCollabWeb%252fwopi%252ffiles%252f11-1-90C848%26access_token%3DAAMFEECCjUt7489YhSlhQY4GBWcGEBpfUkNifoaqnZCEMbqB4haBEECCjUt7489YhSlhQY4GBWeCApwQgyCHF8jSo70Xws4SrDZyRP3zgH8FZLobf75sHXgxfCmyK4YIxsoPfNC90AgIDURhdGFDb2xsYWJXZWI%26rec%3Dfalse%26thm%3D1%26ui%3Des-ES%26rs%3Des-ES%26%3D&n=-1&r=1386001399078
    443 - Client_IP Mozilla/4.0+(compatible;... 200 0 0 328
    2013-12-02 16:23:20 WACSERVER_IP GET /m/getdata.ashx s=a%3D0%26WopiSrc%3Dhttps%253a%252f%252flyncpool.domain%252fDataCollabWeb%252fwopi%252ffiles%252f11-1-90C848%26access_token%3DAAMFEECCjUt7489YhSlhQY4GBWcGEBpfUkNifoaqnZCEMbqB4haBEECCjUt7489YhSlhQY4GBWeCApwQgyCHF8jSo70Xws4SrDZyRP3zgH8FZLobf75sHXgxfCmyK4YIxsoPfNC90AgIDURhdGFDb2xsYWJXZWI%26rec%3Dfalse%26thm%3D1%26ui%3Des-ES%26rs%3Des-ES%26%3D&n=-1&r=1386001400076
    443 - Client_IP Mozilla/4.0+(compatible;... 200 0 0 234
    2013-12-02 16:23:20 WACSERVER_IP GET /m/getdata.ashx s=a%3D0%26WopiSrc%3Dhttps%253a%252f%252flyncpool.domain%252fDataCollabWeb%252fwopi%252ffiles%252f11-1-90C848%26access_token%3DAAMFEECCjUt7489YhSlhQY4GBWcGEBpfUkNifoaqnZCEMbqB4haBEECCjUt7489YhSlhQY4GBWeCApwQgyCHF8jSo70Xws4SrDZyRP3zgH8FZLobf75sHXgxfCmyK4YIxsoPfNC90AgIDURhdGFDb2xsYWJXZWI%26rec%3Dfalse%26thm%3D1%26ui%3Des-ES%26rs%3Des-ES%26%3D&n=-1&r=1386001401076
    443 - Client_IP Mozilla/4.0+(compatible;... 200 0 0 203
         It seems that something is not working between the clients and Office Web Apps Server. There is not a firewall and machines see each other. Certificate is accepted.
         I have tried so many thing but none of them worked.
         Does anybody have an idea?
         Thanks!

         Hi Thamara,
         There is a HLB but I thought of that and tested both: with HLB and pointing just a Front End, without HLB. In both cases, results were the same.
         I can access the Front End pool web services from the WAC server using the IE.
         I'm watching now this event:
    <?xml version="1.0" encoding="utf-16"?>
    <HealthReport xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <HealthMessage>BroadcastServicesWatchdog_Wfe reported status for BroadcastServices_Host in category '3'. Reported status: Contacting Participant.svc failed with an exception: The remote server returned an error: (404) Not Found.</HealthMessage>
    </HealthReport>
         Reading some posts, it's a known issue fixable by adding HTTP-Activation feature... in Windows 2012. I have a Windows 2008 and .NET Framework 4.5 is installed. I've tried to add HTTP-Activation feature from .NET Framework 3.5, but a number
    of format errors appear. I don't know how I could fix it in Windows 2008.
         In addition, as I'm making test for share PPT and they aren't finally showed, this error appears also:
    <?xml version="1.0" encoding="utf-16"?>
    <HealthReport xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <HealthMessage>PowerPointViewingServicesWatchdog_App reported status for PPTConversionService in category '0'. Reported status: AppManager: A request appears to be stuck in the queue. [State: ReadyToWork] [Start Time: 12/03/2013 10:35:07] [CorrelationId:
    ec4db345-0e8c-477e-ac0e-71afcb9a8efd] [DocId: https%3A%2F%2FLYNCPOOL.DOMAIN%2FDataCollabWeb%2Fwopi%2Ffiles%2F1-1-2BCF63F] [ClusterId: 0] [RequestId: 51e9263e-fc78-46b0-93ca-de48272dd2bc] [Current InProgress Queue Length: 4]</HealthMessage>
    </HealthReport>
         It seems that PPTs are being queued as they aren't actually showed.
         Does this give you any clue?
         Thank you very much.
         Kind regards.

  • Should the Edit in Browser link appear when Office Web Apps is read only?

    Hi,
    We have deployed an Office Web Apps farm in read only mode for licensing reasons.
    There is a binding between SharePoint 2013 and the Office Web Apps farm, everything is working well, except the option to Edit Office documents using Office Web Apps is quite prominent on the ECB menus and document previews.
    Is anyone able to advise whether this is expected behaviour? When the link is clicked a friendly error message states that licensing doesn't support editing, which is correct. I'm just trying to see if the user experience can be improved by a setting that
    we've missed somewhere along the line.
    Thanks in advance.

    Hi,
    Per my knowledge, if you have configured Office Web Apps for SharePoint, the Edit in Browser option will appear in the ECB menu regardless of the licensing of the Office Web Apps.
    So I recommend to use CSS code to hide the Edit in Browser option if you do not want the user to use it.
    Edit the page of the document library view page, and then add a Content Editor web part to the page.
    After that add the code below to the Content Editor web part:
    <style>
    a[Title="Edit in Browser"]{
    display:none !important;
    </style>
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Office Web Apps 2013 Error 500

    Below I configured Office Web Apps 2013, on 2 servers,
    SharePoint 2013 SP1 Enterprise Edition August 2014 CU on Microsoft Windows Server 2013 R1
    SP2013ServerWFE-AppServer
    Office Web Apps 2013 August 2014 CU on Microsoft Windows Server 2013 R1
    OFFICEWEBAPP2013SERVER
    After my install, I can see that the preview displayes for the site I am on I am NOT logged on as the System Account or Site Collection Admin, just a user.
    I then try to display the file below it and this is where I get the error 500
    This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented  the webpage from displaying.
    The website cannot display the page
    These are the steps that I have just taken to try to enable this process.
    I went to SP2013ServerWFE-AppServer – SharePoint 2013 Server
    SharePoint 2013 Management Shell as Admin
    Remove-SPWOPIBinding –All:$true
    Went to OFFICEWEBAPP2013SERVER – Office Web Apps 2013 server.
    PowerShell, as Admin.
    New-OfficeWebAppsFarm –Verbose –InternalUrl "http://SP2013ServerWFE-AppServer" -ExternalUrl "http://SP2013ServerWFE-AppServer" -AllowHTTP –EditingEnabled
    –ClipartEnabled -AllowCEIP
    On the OFFICEWEBAPP2013SERVER server, open up IE
    NETBIOS
    http://OFFICEWEBAPP2013SERVER/hosting/discovery
    FQDN
    http://OFFICEWEBAPP2013SERVER.COMPANY.DOMAIN.local/hosting/discovery
    Both worked!
    Go to SP2013ServerWFE-AppServer – SharePoint 2013 Server
    New-SPWOPIBinding -ServerName OFFICEWEBAPP2013SERVER –AllowHTTP
    Worked, ran:
    Get-SPWOPIZone
    Set already but if needed to, could have changed, kept it as was below.
    Set-SPWOPIZone -zone "Internal-http"
     Now I get the error.  Am I missing something? 

    Get-OfficeWebAppsMachine
    MasterMachineName             MachineName                   Roles                                         
    HealthStatus
    2013OWAOFFWA01                 2013OWAOFFWA01                 {All}                                            
    Unhealthy
    It shows unhealthy, thanks to your having me check.
    I just went and did Remove-OfficeWebAppsMachine and
    Remove-SPWOPIBinding –All:$true and then tried what I have in my original post.  Not sure why it is saying unhealthy!
    Excel Calculation Services is running, I know that that will cause an issue with Excel Services and Excel Web Apps.  Testing with Word Documents, and or putting in SharePoint to get to the main page, to see an image rendition in search.
    I went to open a word document as search gave me an error message, so I thought I'd try, but I didn't see it in office web apps ULS but on SharePoint 2013
    10/20/2014 14:59:37.41 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://sharepoint2013:80/site/subsite/_layouts/15/WopiFrame2.aspx?sourcedoc=/site/subsite/Shared%20Documents/ADP%20Portal%20Registration%20Instructions%20Contractor%20Rev%20061212.docx&action=default) aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.42 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|DOMAIN\mcarter, ClaimsCount=70 aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.42 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.44 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Authentication Authorization aib35 Medium SPShareByLinkHandler.Initialize : Not a ShareByLink request - missing access token aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.46 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Claims Authentication amcbl Medium Trusted provider is missing. Provider: '00000003-0000-0ff1-ce00-000000000000' aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.46 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Topology e5mc Medium WcfSendRequest: RemoteAddress: 'net.pipe://localhost/SecurityTokenServiceApplication/appsts.svc' Channel: 'Microsoft.SharePoint.IdentityServices.IApplicationSecurityTokenServiceContract'
    Action: 'http://schemas.microsoft.com/sharepoint/2011/05/securitytokenservice/IApplicationSecurityTokenServiceContract/Issue' MessageId: 'urn:uuid:5244ce59-b4fd-4d2b-83fd-c07c58a79061' aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.50 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Application Authentication aiv3c Exception System.ServiceModel.ServiceActivationException: The requested service, 'net.pipe://localhost/SecurityTokenServiceApplication/appsts.svc'
    could not be activated. See the server's diagnostic trace logs for more information.    Server stack trace:      at System.ServiceModel.Channels.ConnectionUpgradeHelper.DecodeFramingFault(ClientFramingDecoder decoder,
    IConnection connection, Uri via, String contentType, TimeoutHelper& timeoutHelper)     at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.SendPreamble(IConnection connection, ArraySegment`1 preamble, TimeoutHelper&
    timeoutHelper)     at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.DuplexConnectionPoolHelper.AcceptPooledConnection(IConnection connection, TimeoutHelper& timeoutHelper)     at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan
    timeout)     at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)     at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan
    timeout)     at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)    
    at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan
    timeout)     at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)     at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)   
    Exception rethrown at [0]:      at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)     at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
    msgData, Int32 type)     at Microsoft.SharePoint.IdentityServices.IApplicationSecurityTokenServiceContract.Issue(RequestApplicationSecurityToken request)     at Microsoft.SharePoint.IdentityServices.SPApplicationSecurityTokenServiceClient.<>c__DisplayClass2.<RequestSelfIssuedToken>b__0()    
    at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)     at Microsoft.SharePoint.IdentityServices.SPApplicationSecurityTokenServiceClient.RequestSelfIssuedToken(RequestApplicationSecurityToken rst)
    StackTrace:  at onetnative.dll: (sig=8299e000-0f80-4b71-8567-479075c2110d|2|onetnative.pdb, offset=28B42) at onetnative.dll: (offset=152A9) aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.50 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Unified Logging Service c91s Monitorable Watson bucket parameters: Microsoft SharePoint Foundation 4, ULSException14, 269cd32d "sharepoint foundation",
    0f0011db "15.0.4571.0", c180aef3 "mscorlib", 0400766f "4.0.30319.0", 528fdae1 "fri nov 22 17:29:53 2013", 00005387 "00005387", 00000051 "00000051", b742a024 "serviceactivationexception",
    00215742 "aiv3c" aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.50 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Unified Logging Service b6ig Medium Data collection is not enabled for tag 'aiv3c' in the configuration or configuration file not available. Not reporting
    to Watson aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.52 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Application Authentication agmxo Exception System.ServiceModel.ServiceActivationException: The requested service, 'net.pipe://localhost/SecurityTokenServiceApplication/appsts.svc'
    could not be activated. See the server's diagnostic trace logs for more information.    Server stack trace:      at System.ServiceModel.Channels.ConnectionUpgradeHelper.DecodeFramingFault(ClientFramingDecoder decoder,
    IConnection connection, Uri via, String contentType, TimeoutHelper& timeoutHelper)     at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.SendPreamble(IConnection connection, ArraySegment`1 preamble, TimeoutHelper&
    timeoutHelper)     at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.DuplexConnectionPoolHelper.AcceptPooledConnection(IConnection connection, TimeoutHelper& timeoutHelper)     at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan
    timeout)     at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)     at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan
    timeout)     at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)    
    at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan
    timeout)     at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)     at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)   
    Exception rethrown at [0]:      at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)     at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
    msgData, Int32 type)     at Microsoft.SharePoint.IdentityServices.IApplicationSecurityTokenServiceContract.Issue(RequestApplicationSecurityToken request)     at Microsoft.SharePoint.IdentityServices.SPApplicationSecurityTokenServiceClient.<>c__DisplayClass2.<RequestSelfIssuedToken>b__0()    
    at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)     at Microsoft.SharePoint.IdentityServices.SPApplicationSecurityTokenServiceClient.RequestSelfIssuedToken(RequestApplicationSecurityToken rst)    
    at Microsoft.SharePoint.IdentityModel.OAuth2.SPOAuth2SecurityTokenManager.RequestRawLoopbackToken(OAuth2EndpointIdentity endpointIdentity, JsonWebSecurityToken onBehalfOf, String applicationContext)     at Microsoft.SharePoint.IdentityModel.OAuth2.SPOAuth2SecurityTokenManager.IssueLoopbackTokenString(Uri
    endpointAddress, SPIdentityContext identityContext, String applicationContext, DateTime& validTo) StackTrace:  at onetnative.dll: (sig=8299e000-0f80-4b71-8567-479075c2110d|2|onetnative.pdb, offset=28B42) at onetnative.dll: (offset=152A9) aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.52 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Unified Logging Service c91s Monitorable Watson bucket parameters: Microsoft SharePoint Foundation 4, ULSException14, 269cd32d "sharepoint foundation",
    0f0011db "15.0.4571.0", c180aef3 "mscorlib", 0400766f "4.0.30319.0", 528fdae1 "fri nov 22 17:29:53 2013", 00005387 "00005387", 00000051 "00000051", b742a024 "serviceactivationexception",
    0018c5ce "agmxo" aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.52 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Unified Logging Service b6ig Medium Data collection is not enabled for tag 'agmxo' in the configuration or configuration file not available. Not reporting
    to Watson aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.52 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation WOPI ajc39 Unexpected WOPIFrame - Unhandled exception: System.ServiceModel.ServiceActivationException: The requested service, 'net.pipe://localhost/SecurityTokenServiceApplication/appsts.svc'
    could not be activated. See the server's diagnostic trace logs for more information.    Server stack trace:      at System.ServiceModel.Channels.ConnectionUpgradeHelper.DecodeFramingFault(ClientFramingDecoder decoder,
    IConnection connection, Uri via, String contentType, TimeoutHelper& timeoutHelper)     at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.SendPreamble(IConnection connection, ArraySegment`1 preamble, TimeoutHelper&
    timeoutHelper)     at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.DuplexConnectionPoolHelper.AcceptPooledConnection(IConnection connection, TimeoutHelper& timeoutHelper)     at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan
    timeout)     at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)     at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan
    timeout)     at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)    
    at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan
    timeout)     at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)     at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)   
    Exception rethrown at [0]:      at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)     at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
    msgData, Int32 type)     at Microsoft.SharePoint.IdentityServices.IApplicationSecurityTokenServiceContract.Issue(RequestApplicationSecurityToken request)     at Microsoft.SharePoint.IdentityServices.SPApplicationSecurityTokenServiceClient.<>c__DisplayClass2.<RequestSelfIssuedToken>b__0()    
    at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)     at Microsoft.SharePoint.IdentityServices.SPApplicationSecurityTokenServiceClient.RequestSelfIssuedToken(RequestApplicationSecurityToken rst)    
    at Microsoft.SharePoint.IdentityModel.OAuth2.SPOAuth2SecurityTokenManager.RequestRawLoopbackToken(OAuth2EndpointIdentity endpointIdentity, JsonWebSecurityToken onBehalfOf, String applicationContext)     at Microsoft.SharePoint.IdentityModel.OAuth2.SPOAuth2SecurityTokenManager.IssueLoopbackTokenString(Uri
    endpointAddress, SPIdentityContext identityContext, String applicationContext, DateTime& validTo)     at Microsoft.SharePoint.IdentityModel.OAuth2.SPOAuth2SecurityTokenManager.IssueLoopbackTokenString(Uri endpointAddress, SPUser user,
    String applicationContext, DateTime& validTo)     at Microsoft.SharePoint.Utilities.SPWOPIHost.GetAccessToken(SPWeb web, Guid uniqueId, String proofKeyId, SPUrlZone zone, SPBasePermissions perms, Boolean hasEditLicense, Int64& ttl)    
    at Microsoft.SharePoint.Utilities.SPWOPIHost.GetAccessToken(SPFile file, String proofKeyId, SPUrlZone zone, Int64& ttl)     at Microsoft.SharePoint.Utilities.SPWOPIHost.GetWOPITargetInternal(HttpContext httpContext, SPWeb web, Object&
    spPrimeObject, SPWOPIAction& requestedAction, SPRegionalSettings spSettings, String& wopiAppUrl, String& wopiFavIconUrl, String& wopiAccessToken, Int64& wopiAccessTokenTtl, String& errorMessageToDisplay, String& redirectUrl)    
    at Microsoft.SharePoint.ApplicationPages.WOPIFrameHelper.OnLoadHelper(WOPIFrame frame)     at Microsoft.SharePoint.ApplicationPages.WOPIFrameHelper.OnLoad(WOPIFrame frame) aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.52 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation General aat87 Monitorable An error has occurred on the server. aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.52 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Micro Trace uls4 Medium Micro Trace Tags: 0 nasq,8 agb9s,16 aib35,11 amcbl,0 e5mc,62 ajc39,1 aat87 aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.52 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://sharepoint2013:80/site/subsite/_layouts/15/WopiFrame2.aspx?sourcedoc=/site/subsite/Shared%20Documents/ADP%20Portal%20Registration%20Instructions%20Contractor%20Rev%20061212.docx&action=default)).
    Execution Time=108.9893 aa11c49c-5974-a070-b2c8-1829a3b17e45

  • Office Web Apps 2013 + could not establish trust relationship

    We currently have a three tier SharePoint 2013 Farm:
    1. Web Front End Server (Server 2008 R2 Enterprise) - Servername: TEST2SP013.domain.dom
    2. Central Admin Server (Server 2008 R2 Enterprise) - Servername: TEST2SPCA013.domain.dom
    3. SQL Server (Server 2012 Datacenter) - Servername: TESTSQL012.domain.dom
    All Machines are in the same IP/Subnet.
    We are trying to setup a new server (Server 2012 R2 Datacenter) (Servername: TEST022.domain.dom) to run Office Web Apps 2013 in our TEST environment to test the system before rolling in production and have had issues throughout the entire process.
    The technet articles we have used are:
    http://technet.microsoft.com/en-us/library/jj219435.aspx
    http://technet.microsoft.com/en-us/library/ff431687.aspx
    http://technet.microsoft.com/en-us/library/jj219627.aspx
    We finally have what I thought was a correct setup but anytime we try to edit or view a word, excel, powerpoint document within SharePoint 2013, we receive "Sorry, there was a problem and we can't open this document. If this happens again, try opening
    the document in Microsoft Word."
    We found a few How-To Setup Office Web Apps sites where other people provided step-by step instructions:
    blogs.msdn.com/b/sowmyancs/archive/2012/10/29/install-configure-amp-monitor-office-web-apps-2013-for-sp-2013.aspx
    http://www.wictorwilen.se/office-web-apps-2013-securing-your-wac-farm
    http://blogs.technet.com/b/justin_gao/archive/2013/06/30/configuring-office-web-apps-server-communication-using-https.aspx
    We reviewed the ULS logs and found the following error:
    02/14/2014 13:38:40.24  w3wp.exe (0x1C04)                        0x1BB4 Office Web Apps              
     WAC Hosting Interaction        adhsk Unexpected WOPI CheckFile: Catch-All Failure [exception:Microsoft.Office.Web.Common.EnvironmentAdapters.UnexpectedErrorException: HttpRequest failed ---> Microsoft.Office.Web.Apps.Common.HttpRequestAsyncException:
    No Response in WebException ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate
    is invalid according to the validation procedure.     at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)     at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)     --- End of
    inner exception stack trace ---     at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)     at Microsoft.Office.Web.Apps.Common.Ht... 7bed0d51-511d-4541-a059-e2f72942e617
    None of the article provide specific step-by-step instructions with using HTTPS in a test environment specifically when it comes to Self-Signed Certs through Active Directory Certificate Services.
    We tried creating a Self-Signed Cert through IIS on the Office Web Apps Box which did not work.
    We tried creating a Cert through Active Directory Certificate Services which did not work.
    We tried adding the Cert through Central Admin > Security > Manage Trust which did not help.
    We verified "get-spwopizone" is set to internal-https
    We can access the Web Apps https://test022/hosting/discovery site and view the XML with no issue on any machine on our network.
    We added our domain to the list of approved domains that can use Office Web Apps as well as add "Domain Users" as the security group that can "EDIT" Office Documents through Office Web Apps. 
    After each step, we tried performing either a system reboot or IIS Reset on the Office Web Appcs and WFE box.
    My Question is how do we generate a certificate (either self-signed through IIS on the Office Web Apps Box or through AD) that will allow this application to work? I read that the Fully Qualified Domain Name needs to be in the SAN field of the Cert but when
    we request it, I have no way of entering this information. I tried following http://technet.microsoft.com/en-us/library/ff625722 to manually request a certificate with a Custom SAN but that did not work either.
    I am assuming the certificate issue is with the New Office Web Apps box. Is this correct?
    -Chris

    If internal cert then you will have to add certificate from OWA to tursted certificates in each sharepoint server plus add the certificate from central admin in Sharepoint through manage trust. Also you will need to install p7b file (file that contains
    path to root certificate to verify each intermediate certificate) for internal cert to each sharepoint server to not get certificate error.
    sachin

  • SharePoint 2013 - Office web apps intermittent issue

    From past few weeks we are seeing issue while opening the documents from sites error message says “Sorry something went wrong + An unexpected error occur on the Server”.  This happens with individual users accounts(Since it is
    expected behavior with Service account for Office web Apps). After identifying on which server we are seeing the issue we are performing the
    IIS reset on that effected Server and then issue will resolve but after a week or 10 days this is repeated again.    If anyone has seen this issue in(SP2013+OWA) please share your inputs for permanent fix.
    Subhash

    Hi Cristian,
    Below is the Log file. Please refer.
    08/06/2014 11:41:09.73 w3wp.exe (0x1688) 0x4764 SharePoint Foundation DistributedCache air4a Monitorable Token Cache: Failed to get token from distributed cache for '0).w|s-1-5-21-2146773085-903363285-719344707-1611799'.(This
    is expected during the process warm up or if data cache Initialization is getting done by some other thread). ccecab9c-73c6-e096-b4ac-251e2bb15206
    08/06/2014 11:41:09.73 w3wp.exe (0x1688) 0x4764 SharePoint Foundation DistributedCache air4b Monitorable Token Cache: Reverting to local cache to get the token for '0).w|s-1-5-21-2146773085-903363285-719344707-1611799'. ccecab9c-73c6-e096-b4ac-251e2bb15206
    08/06/2014 11:41:09.78 w3wp.exe (0x1688) 0x4764 SharePoint Foundation Application Authentication aiv3c Exception System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Configuration.ConfigurationChannelFactory`1[Microsoft.SharePoint.IdentityServices.IApplicationSecurityTokenServiceContract],
    cannot be used for communication because it is in the Faulted state.     at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposed()     at System.ServiceModel.ChannelFactory.EnsureOpened()    
    at System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)     at Microsoft.SharePoint.IdentityServices.SPApplicationSecurityTokenServiceClient.GetInternalAppStsChannel()     at Microsoft.SharePoint.IdentityServices.SPApplicationSecurityTokenServiceClient.<>c__DisplayClass2.<RequestSelfIssuedToken>b__0()    
    at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)     at Microsoft.SharePoint.IdentityServices.SPApplicationSecurityTokenServiceClient.RequestSelfIssuedToken(RequestApplicationSecurityToken rst)
    StackTrace:  at onetnative.dll: (sig=6aba1f5f-ccc4-4590-af00-b8ffe7fe99a0|2|onetnative.pdb, offset=28BE6) at onetnative.dll: (offset=152A9) ccecab9c-73c6-e096-b4ac-251e2bb15206
    08/06/2014 11:41:09.78 w3wp.exe (0x1688) 0x4764 SharePoint Foundation Unified Logging Service c91s Monitorable Watson bucket parameters: Microsoft SharePoint Foundation 4, ULSException14, 269cd32d "sharepoint foundation",
    0f001144 "15.0.4420.0", b2c61fc4 "system.servicemodel", 0400766f "4.0.30319.0", 51d7762b "fri jul 05 18:43:07 2013", 000000e4 "000000e4", 00000063 "00000063", 96a3e724 "communicationobjectfaultedexception",
    00215742 "aiv3c" ccecab9c-73c6-e096-b4ac-251e2bb15206
    08/06/2014 11:41:09.78 w3wp.exe (0x1688) 0x4764 SharePoint Foundation Application Authentication agmxo Exception System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Configuration.ConfigurationChannelFactory`1[Microsoft.SharePoint.IdentityServices.IApplicationSecurityTokenServiceContract],
    cannot be used for communication because it is in the Faulted state.     at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposed()     at System.ServiceModel.ChannelFactory.EnsureOpened()    
    at System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)     at Microsoft.SharePoint.IdentityServices.SPApplicationSecurityTokenServiceClient.GetInternalAppStsChannel()     at Microsoft.SharePoint.IdentityServices.SPApplicationSecurityTokenServiceClient.<>c__DisplayClass2.<RequestSelfIssuedToken>b__0()    
    at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)     at Microsoft.SharePoint.IdentityServices.SPApplicationSecurityTokenServiceClient.RequestSelfIssuedToken(RequestApplicationSecurityToken rst)    
    at Microsoft.SharePoint.IdentityModel.OAuth2.SPOAuth2SecurityTokenManager.RequestRawLoopbackToken(OAuth2EndpointIdentity endpointIdentity, JsonWebSecurityToken onBehalfOf, String applicationContext)     at Microsoft.SharePoint.IdentityModel.OAuth2.SPOAuth2SecurityTokenManager.IssueLoopbackTokenString(Uri
    endpointAddress, SPIdentityContext identityContext, String applicationContext, DateTime& validTo) StackTrace:  at onetnative.dll: (sig=6aba1f5f-ccc4-4590-af00-b8ffe7fe99a0|2|onetnative.pdb, offset=28BE6) at onetnative.dll: (offset=152A9) ccecab9c-73c6-e096-b4ac-251e2bb15206
    08/06/2014 11:41:09.78 w3wp.exe (0x1688) 0x4764 SharePoint Foundation Unified Logging Service c91s Monitorable Watson bucket parameters: Microsoft SharePoint Foundation 4, ULSException14, 269cd32d "sharepoint foundation",
    0f001144 "15.0.4420.0", b2c61fc4 "system.servicemodel", 0400766f "4.0.30319.0", 51d7762b "fri jul 05 18:43:07 2013", 000000e4 "000000e4", 00000063 "00000063", 96a3e724 "communicationobjectfaultedexception",
    0018c5ce "agmxo" ccecab9c-73c6-e096-b4ac-251e2bb15206
    08/06/2014 11:41:09.78 w3wp.exe (0x1688) 0x4764 SharePoint Foundation WOPI ajc39 Unexpected WOPIFrame - Unhandled exception: System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Configuration.ConfigurationChannelFactory`1[Microsoft.SharePoint.IdentityServices.IApplicationSecurityTokenServiceContract],
    cannot be used for communication because it is in the Faulted state.     at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposed()     at System.ServiceModel.ChannelFactory.EnsureOpened()    
    at System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)     at Microsoft.SharePoint.IdentityServices.SPApplicationSecurityTokenServiceClient.GetInternalAppStsChannel()     at Microsoft.SharePoint.IdentityServices.SPApplicationSecurityTokenServiceClient.<>c__DisplayClass2.<RequestSelfIssuedToken>b__0()    
    at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)     at Microsoft.SharePoint.IdentityServices.SPApplicationSecurityTokenServiceClient.RequestSelfIssuedToken(RequestApplicationSecurityToken rst)    
    at Microsoft.SharePoint.IdentityModel.OAuth2.SPOAuth2SecurityTokenManager.RequestRawLoopbackToken(OAuth2EndpointIdentity endpointIdentity, JsonWebSecurityToken onBehalfOf, String applicationContext)     at Microsoft.SharePoint.IdentityModel.OAuth2.SPOAuth2SecurityTokenManager.IssueLoopbackTokenString(Uri
    endpointAddress, SPIdentityContext identityContext, String applicationContext, DateTime& validTo)     at Microsoft.SharePoint.IdentityModel.OAuth2.SPOAuth2SecurityTokenManager.IssueLoopbackTokenString(Uri endpointAddress, SPUser user,
    String applicationContext, DateTime& validTo)     at Microsoft.SharePoint.Utilities.SPWOPIHost.GetAccessToken(SPWeb web, Guid uniqueId, String proofKeyId, SPUrlZone zone, SPBasePermissions perms, Boolean hasEditLicense, Int64& ttl)    
    at Microsoft.SharePoint.Utilities.SPWOPIHost.GetAccessToken(SPFile file, String proofKeyId, SPUrlZone zone, Int64& ttl)     at Microsoft.SharePoint.Utilities.SPWOPIHost.GetWOPITargetInternal(HttpContext httpContext, SPWeb web, Object&
    spPrimeObject, SPWOPIAction& requestedAction, SPRegionalSettings spSettings, String& wopiAppUrl, String& wopiFavIconUrl, String& wopiAccessToken, Int64& wopiAccessTokenTtl, String& errorMessageToDisplay, String& redirectUrl)    
    at Microsoft.SharePoint.ApplicationPages.WOPIFrameHelper.OnLoadHelper(WOPIFrame frame)     at Microsoft.SharePoint.ApplicationPages.WOPIFrameHelper.OnLoad(WOPIFrame frame) ccecab9c-73c6-e096-b4ac-251e2bb15206
    08/06/2014 11:41:09.78 w3wp.exe (0x1688) 0x4764 SharePoint Foundation General aat87 Monitorable An error has occurred on the server. ccecab9c-73c6-e096-b4ac-251e2bb15206
    08/06/2014 11:41:09.78 w3wp.exe (0x1688) 0x4764 SharePoint Foundation DistributedCache ah24q Unexpected SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts are present in the farm. ccecab9c-73c6-e096-b4ac-251e2bb15206
    08/06/2014 11:41:09.78 w3wp.exe (0x1688) 0x4764 SharePoint Foundation DistributedCache ah24w Unexpected Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage 'DistributedViewStateCache'
    - Exception 'System.InvalidOperationException: SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts present in the farm.     at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()'. ccecab9c-73c6-e096-b4ac-251e2bb15206
    08/06/2014 11:41:09.78 w3wp.exe (0x1688) 0x4764 SharePoint Foundation General ajb4s Monitorable ViewStateLog: Failed to write to the velocity cache: Documents/Srikanth_excel test.xlsx&action=default ccecab9c-73c6-e096-b4ac-251e2bb15206
    08/06/2014 11:41:19.97 w3wp.exe (0x1688) 0x4764 SharePoint Foundation DistributedCache ah24q Unexpected SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts are present in the farm. ccecab9c-73c6-e096-b4ac-251e2bb15206
    08/06/2014 11:41:19.97 w3wp.exe (0x1688) 0x4764 SharePoint Foundation DistributedCache ah24w Unexpected Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage 'DistributedLogonTokenCache'
    - Exception 'System.InvalidOperationException: SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts present in the farm.     at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()'. ccecab9c-73c6-e096-b4ac-251e2bb15206
    08/06/2014 11:41:19.97 w3wp.exe (0x1688) 0x4764 SharePoint Foundation DistributedCache air4g Monitorable Token Cache: Failed to initialize SPDistributedSecurityTokenCache  Exception: 'System.InvalidOperationException:
    SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts present in the farm.     at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()     at Microsoft.SharePoint.DistributedCaching.SPDistributedCache..ctor(String
    name, TimeSpan timeToLive, SPDistributedCacheContainerType containerType, Boolean encryptData)     at Microsoft.SharePoint.IdentityModel.SPDistributedSecurityTokenCache..ctor(String name, TimeSpan timeToLive, SPDistributedCacheContainerType
    containerType, Boolean encrptyData, TimeSpan minimumTokenExpirationWindow)     at Microsoft.SharePoint.IdentityModel.SPDistributedSecurityTokenCacheInitializer.Init(Object state)'. ccecab9c-73c6-e096-b4ac-251e2bb15206

  • Exchange Office Web Apps Preview Does not work in OWA (web)

    I have setup Exchange 2013, Lync 2013, SharePoint 2013, IIS as a Reverse Proxy Server, an Office Web Apps Server, etc, etc. Everything is setup to use SSl (https) and everything works great EXCEPT... Office Web Apps... and ONLY via Exchange and OWA (exchange
    browser-based access).
    I can login via the intranet or Internet for everything (SharePoint, Outlook, and Lync) and Office Web apps functionality works flawlessly for all... except for Exchange and OWA.
    If I login in to a web-based Exchange seeion, everything works right and I can see the various attachments.
    For all other scenarios, Office Web Apps works (SharePoint, Outlook, Lync, etc), but in owa (web version of Outlook) I see that Office Web Apps is triggered (I see the Office Web Apps text and the dots that indicate something is loading)... However, it just
    crashes and eventually times out (see image):
    If I look in the error logs for the Web Apps Server I see this:
    Essentially, it looks like that owa uses a distinctly different path to load the attachments into the Web Apps Server such that the file is not found!
    What is happening? Why does Exchange OWA (web version of Outlook) somehow use a different path that fails to locate  attachments in Office Web Apps, but Lync, Outlook, and SharePoint (both in Intranet and Internet) work perfectly?
    This is VERY frustrating. Can anyone help?
    Please?
    Clearly, the reverse proxy is working, the certificates are working, OAuth is working, etc. It seems there must be some variable/path that is only defined in Exchange for OWA that uses a different path for Office Web App attachments and that path is WRONG!
    Please, help!
    Thanks

    Hi,
    Thanks for sharing. It’s glad to hear the good news.
    Thanks,
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Simon Wu
    TechNet Community Support

  • Sorry, something went wrong - Open Office File from Search Results Page with Office Web Apps

    Hi,
    I'm getting "Sorry, something went wrong" error when I'm trying to open any office document from inside Search Results Page with Office Web Apps, the same error is appearing in the document preview as well.
    The error in SharePoint logs says that the file cannot be found.
    Please note that this error is coming only when the "Filename" of the document is not written in English (in my case its written with Arabic characters).
    If I try to open it from the document library, its opening properly with no errors.
    The only difference between two URLs (document URL in Search Results and in Document Library) is the value for "sourcedoc" attribute;
    In the case of Search Results page, the filename in "sourcedoc" attribute is kept as is with Arabic characters.
    While in the Document Library, the filename in "sourcedoc" attribute is converted into different characters (something like: "B9%D9%85%D9%8").
    Anybody have an idea on how to overcome this issue, implement a workaround or modify the "sourcedoc" behavior?
    Thanks in Advance.
    Hamza AlSughier

    Dear Wendy,
    Thanks for your efforts, I already tried your last suggestion before, but this didn't solve my problem.
    Actually my end users are accessing this portal using ADFS and HTTPS.
    Finally I got this solved, I have done below to get my overall solution working perfectly:
    - First I have configured Windows Authentication and ADFS Authentication on the same zone which is the default zone.
    - The issue when opening office documents with Arabic file name has disappeared as a result of first change.
    - Then I have faced an issue where we are not able to crawl content under Default zone, however we have to do so, after too many efforts, I found that its related to the Load-balancer/proxy, I have made the crawler server
    to crawl himself (http://CrawlServerName:PortNumber).
    - Also a change on Alternate Access Mapping was needed, I have set one of the extended zones (which is running Windows Authentication only) as Internal URL for the Default Zone, and this is was the URL I used for Crawling.
    I have configured Server Name Mappings to make sure we got proper URLs in Search Results.
    - Then we faced another issue, which is Authentication selection on login page (How to bypass this page, and authenticate using ADFS auto), I used this solution (Set Custom Sign In Page):
    http://0ut0ftheb0x.wordpress.com/2014/01/04/skip-the-authentication-selection-page-at-_logindefault-aspx-in-a-mixed-authentication-environment/.
    - I faced one more issue as a result of above workaround; Sign Out functionality wasn't working well; users get logged in automatically whenever I click on Sign Out. I solved this by modifying the "Sign Out" Control under _layouts;
    I made it to redirect users to ADFS Sign Out Page instead of SharePoint Sign Out Page (I know its not recommended, but I don't have any other option).
    Hamza AlSughier

  • Installing Office Web Apps Server 2013 fails with app-crash during install.

    Hi Folks,
    I am trying to install Office Web Apps Server 2013 with SP1 on Server 2012 R2.  The installation gets half way through then crashes (it just says a problem has occurred).
    The Event log only contains the message:-
     MsiExec.exe version .5.09....
    Faulting module name: Kernelbase.dll
    Exception Code 0x306d7363, Faulting process id: 0x774.
    Does anyone know how to install this product on Server 2012 R2?

    Hi,
    I’m afraid that this case is off-topic in this forum, About installation of Office Web Apps Server 2013, I suggest you posting your case to
    SharePoint 2013 - Setup, Upgrade, Administration and Operations .
    Regards,
    Marvin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for