locked
Troubleshooting SP2013 and Office Web App RRS feed

  • Question

  • Can someone point me in the right directions?

    A running Office web app got certificate renewed because SP 2013 was giving the preview message "Content block due to invalid certificate"   

    Removed the binding on SP2013

    recreated the binding: 

    New-SPWOPIBinding -ServerName "Server.corp.Contoso.com"

    Wopizone are set to Internal-https

    But now it displays in the preview that https://Server.corp.Contoso.com can't be reached 

    There are DNS record etc. etc. 

    What's missing? 



    • Edited by JmATK Tuesday, October 23, 2018 5:30 AM
    Tuesday, October 23, 2018 5:29 AM

Answers

  • Hi JmATK,

    You can remove Office web apps farm from SharePoint and recreate the Office web apps farm from SharePoint.

    To remove Office web apps farm from SharePoint and recreate the Office web apps farm from SharePoint, refer to the following steps.

    OWA Machine

    ===============

    1. Take farm offline (if there is a load balancer)

    2. Collect the current Farm information via Powershell (on WAC Server): 

    Import-Module -Name OfficeWebApps 

    Get-OfficeWebAppsFarm > c:\MyWACfarm.txt

    3. (If multi-server farm) use Powershell (on WAC Servers) to remove each child machine from the farm, then remove the parent machine.  This will delete the farm.

    Remove-OfficeWebAppsMachine

    4. Reboot the Office Web Apps server(s).

    5.Recreate the farm via Powershell (on WAC Server) using (if appropriate) the parameter values from "MyWACfarm.txt".

    New-OfficeWebAppsFarm -InternalURL "http://WACServer.corp.contoso.com" -CertificateName "OfficeWebApps Certificate" -EditingEnabled -OpenFromURLEnabled

    SharePoint Side

     ================

    Note: You may want to rebuild the bindings via SharePoint Powershell (on SharePoint Server):

    Remove-SPWOPIBinding -All:$true

    New-SPWOPIBinding -ServerName "WACServer.corp.contoso.com" 

    Set-SPWOPIZone -Zone "Internal-https"

    Note: Anything above in you need to replace with the correct information from your farm.

    Best Regards, 

    Lisa Chen  

    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Friday, October 26, 2018 3:01 AM
  • Don't use -InternalURL. Use -ExternalURL and Set-SPWOPIZone external-https on SharePoint.

    Trevor Seward

    Office Servers and Services MVP



    Author, Deploying SharePoint 2016

    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    Friday, October 26, 2018 3:21 AM

All replies

  • Hi JmATK, 

    From your description, you are unable to preview the documents with owa. 

    Can you view or edit the documents with owa?

    Make sure you’re not logged on as System Account because you won’t be able to edit or view the documents with Office Web Apps. 

    Verify that Office Web Apps Server is installed and configured correctly,  check whether you can access the Office Web Apps Server discovery URL:

    https://server.contoso.com/hosting/discovery

    Deploy a single-server Office Web Apps Server farm that uses HTTPS :

    https://docs.microsoft.com/en-us/webappsserver/deploy-office-web-apps-server#singlehttps

    Configure Office Web Apps for SharePoint 2013:

    https://docs.microsoft.com/en-us/webappsserver/configure-office-web-apps-for-sharepoint-2013

    Best Regards, 

    Lisa Chen 



    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Tuesday, October 23, 2018 7:33 AM
  • Hi Lisa 

    thx - I've verified all and can access the Office Web Apps Server discovery URL - it should be so simple... 

    still the "can't reach url" dialog appear are seen in the preview ... now just doing a full crawl - but don't think this will fix it? 

    Tuesday, October 23, 2018 9:03 AM
  • Hi JmATK,

    You can remove Office web apps farm from SharePoint and recreate the Office web apps farm from SharePoint.

    To remove Office web apps farm from SharePoint and recreate the Office web apps farm from SharePoint, refer to the following steps.

    OWA Machine

    ===============

    1. Take farm offline (if there is a load balancer)

    2. Collect the current Farm information via Powershell (on WAC Server): 

    Import-Module -Name OfficeWebApps 

    Get-OfficeWebAppsFarm > c:\MyWACfarm.txt

    3. (If multi-server farm) use Powershell (on WAC Servers) to remove each child machine from the farm, then remove the parent machine.  This will delete the farm.

    Remove-OfficeWebAppsMachine

    4. Reboot the Office Web Apps server(s).

    5.Recreate the farm via Powershell (on WAC Server) using (if appropriate) the parameter values from "MyWACfarm.txt".

    New-OfficeWebAppsFarm -InternalURL "http://WACServer.corp.contoso.com" -CertificateName "OfficeWebApps Certificate" -EditingEnabled -OpenFromURLEnabled

    SharePoint Side

     ================

    Note: You may want to rebuild the bindings via SharePoint Powershell (on SharePoint Server):

    Remove-SPWOPIBinding -All:$true

    New-SPWOPIBinding -ServerName "WACServer.corp.contoso.com" 

    Set-SPWOPIZone -Zone "Internal-https"

    Note: Anything above in you need to replace with the correct information from your farm.

    Best Regards, 

    Lisa Chen  

    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Friday, October 26, 2018 3:01 AM
  • Don't use -InternalURL. Use -ExternalURL and Set-SPWOPIZone external-https on SharePoint.

    Trevor Seward

    Office Servers and Services MVP



    Author, Deploying SharePoint 2016

    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    Friday, October 26, 2018 3:21 AM