How can i check the office web app server(wac client) is calling custom WOPI host?

I am getting an error when I testing my wopi host(which is the same as
example) with Office Web app server "Sorry, there was a problem and we can't open this document.  If this happens again, try opening the document in Microsoft Word."
1-how can find the log files of this error?
2-how can i check the office web app server(wac client) is calling my WOPI host?
I am not sure about cumunication between owa to wopi host. I actually dont know how to implement checkfile and getfile functions to wopi host for waiting for call back from owa client.
Note:I am sure that office web app server is configured true. Because i test it with sharepoint 2013 and editing and viewing is working well.

Hi,
According to your post, my understanding is that
CheckFileInfo is how the WOPI application gets information about the file and the permissions a user has on the file. It should have a URL that looks like this:
HTTP://server/<...>/wopi*/files/<id>?access_token=<token>
While CheckFileInfo provides information about a file, GetFile returns the file itself. It should have a URL that looks like this:
HTTP://server/<...>/wopi*/files/<id>/contents?access_token=<token>
There is a great article for your reference.
http://blogs.msdn.com/b/officedevdocs/archive/2013/03/20/introducing-wopi.aspx
You can also refer to the following article which is about building an Office Web Apps(OWA) WOPI Host.
http://blogs.msdn.com/b/scicoria/archive/2013/07/22/building-an-office-web-apps-owa-wopi-host.aspx
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support

Similar Messages

  • Will Office Web Apps Server 2013 work with SharePoint 2013 sites hosted in SP2010 compatibility mode?

    We are planning a upgrade of a SP2010 farm to 2013. There has been a bit of customization so we wish to run the old sites on the new SP2013 platform in SP2010 compatibility mode.
    So my question is will Office Web Apps Server 2013 work with the old sites hosted in compatibility mode?
    I found a similar query from March 2014 found here 
    http://sharepoint.stackexchange.com/questions/93101/office-web-apps-2010-running-on-sharepoint-2013-for-compatibility-mode-sites/116281#116281 
    Has there been an update released to resolve this
    Cheers D

    Hi  ,
    According to your description, my understanding is that you need to know whether Office Web Apps 2013 is working with SharePoint 2013 sites which is in SharePoint 2010 compatibility mode.
    For my test, Office Web Apps 2013 with SharePoint 2013 sites which is in SharePoint 2010 compatibility mode is working fine.
    Thanks,
    Eric
    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]
    Eric Tao
    TechNet Community Support

  • Can you install the Office Web Application Server on one of the App Servers for SharePoint 2013?

    Hi,
    Is it possible to run Office Web Application Server (shows preview images for docs and allows Notepad, Word, Excel to work etc) on one of the SharePoint 2013 App Servers. I don't want to have to create a new server. It talks about setting
    up a farm. 
    Better still how the feck do you switch this functionlity off - I always remember it being a pain in the arse. We accidentally ran the first part of the configuration on one of the SharePoint App Servers only to find out our subscription does not
    have this download (bar stewards changed this Nov 2014 - just after started contract).    
    Help would be much appreciated as close to go live
    Thanks.
    John.

    Hi John,
    Please reboot the server at the very beginning and test the issue again.
    Quote from you:
    Problem is I get Internet Web Page cannot display the webpage everytime I click in a excel document, powerpoint document, notebook link or the preview
    Please post the url in browser address here.
    If you just executed the command below:
    Add-WindowsFeature Web-Server,Web-Mgmt-Tools,Web-Mgmt-Console,Web-WebServer,Web-Common-Http,Web-Default-Doc,Web-Static-Content,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Security,Web-Filtering,Web-Windows-Auth,Web-App-Dev,Web-Net-Ext45,Web-Asp-Net45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Includes,InkandHandwritingServices
    It just install some windows feature to the current server, we can find it should be done before installing several server products.
    Could you please verify if the command you executed is the same as the one above?
    You could also go to local disk and check if there is OfficeWebApps folder under C:\ProgramData\Microsoft\?
    If you check in Control Panel > Programs, is there any feature related to Office Web Apps?
    If you have confirmed there is no Office Web Apps feature installed, please go to SharePoint document library settings, and make the document to open in client, does it work?
    Regards,
    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] .
    Rebecca Tu
    TechNet Community Support

  • Got errors when trying to open word document with Office Web App Server and customized WOPI host

    I am configuring the Office Web App Server with our ASP.NET MVC WOPI host based on this example. https://code.msdn.microsoft.com/office/Building-an-Office-Web-f98650d6. While both the OWA server and WOPI server has been set up and I can use Excel and PowerPoint
    app to open and edit xls and ppt file now, there are problems opening word documents no matter I enable or disable the editing function of OWA server.
    When I open a word document while enabling editing I got this error:
    If I disable editing I got this message:
    I have tried several file so I thought it is not the files' problem. Also I didn't find any exception in the log of OWA server. 

    Hi Gary Jiang,
    Thanks for posting in MSDN forum.
    This forum is for developers discussing issues about
    apps for Office.
    Based on the description, it seems that you got an issue when you deploy the code sample. If I understood clearly, I suggest that you contact the author of the code sample from the "Q and A" tab.
    Also if you have the question about WOPI, I suggest that you get more effective response from
    Office
    Protocols forum.
    Regards & Fei
    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.

  • Office Web Apps server not working externally

    Hopefully someone with a functional OWA server can help.  When my users try to share a presentation, whiteboard, or poll as an external user or to an external user (coming through Edge), the content fails to share and this error occurs:
    "We can't connect to the server for presenting right now"
    The server functions internally fine and content shares perfectly.  The OWA server has a certificate from an internal CA and it is published through a TMG reverse proxy.  When I hit the discovery URL, it works fine and triggers the reverse proxy
    rule.  However, when I try to share content, it does not hit the rule.
    Thanks for your help!
    Jim

    Hi,
    Looks like the external lync clients can't connect the office web app server. So please check if you publish the web office app to internet correctly.
    Please refer this document about Publishing Office Web Apps Server Using a Reverse Proxy Server:
    http://technet.microsoft.com/en-us/library/jj204665.aspx
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Sean Xiao
    TechNet Community Support

  • Office Web Apps Server Default language.

    we are using Office Web Apps Server 2013 SP1 with SharePoint 2013 SP1. All servers use English UK regional settings, all SharePoint Sites use English UK as default regional setting.
    When we create a new document using Word Web App, the default proofing language defaults to En-US.
    How can i configure the office web apps or SharePoint to use English-UK as default.
    talwar

    Hi talwar,
    As I tested in my environment, I couldn’t set default proofing language in Office Web App. And I found a similar case:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/03a6ed63-50d0-48c0-a0d2-89ed36b117b0/set-default-proofing-language-for-office-web-apps-2013?forum=sharepointadmin 
    Regards,
    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] .
    Rebecca Tu
    TechNet Community Support

  • Can i use office web app server without adding to a domain ?

    spserver.local is my domain controller webapp.spsserver.local is my office web app server(OWA)(IP:79.123.161.xxx )
    I manage to use office web app with sharepoint 2013 my OWA is in a domain (spserver.local) and it's address is http://webapp.spserver.local/hosting/discovery There
    is no problem. But I want to seperate OWA with Sharepoint and its domain I want to remove the domain.Is it possible?
    For example my OWA's ip is 79.123.161.xxx
    I want to work like this: http://79.123.161.xxx/hosting/discovery
    When I enter the path http://79.123.161.xxx/hosting/discovery there
    is an iis message "File or directory not found."

    Are you asking if you can have your OWA in different domain compared to SharePoint server domain or are you asking that your OWA does not belong to any domain and you still want to use it with SharePoint?
    If your question is regarding using OWA in different domain then I think (someone can correct me if I am wrong) OWA can run into different domain. You just need to add your SharePoint Server host domain to the Allow List for an Office Web Apps Server farm.
    http://technet.microsoft.com/en-us/library/jj219459.aspx
    If your question is related to OWA not belonging to any domain then I do not think that will work and its not supported scenario. If you read the following article it states
    "All servers in the Office Web Apps Server farm must be part of a domain. They can be in the same domain (recommended) or in domains that are in the same forest. However, Office Web Apps Server won’t work if you try to install it on a domain controller."
    http://technet.microsoft.com/en-us/library/jj219435.aspx
    Amit

  • Using Office Web Apps Server with SharePoint Foundation 2013

    I want to know whether I can configure Office Web Apps server to edit Excel documents on a SharePoint Foundation 2013 site.
    I came across a TechNet article that states that "When used together with SharePoint Server 2013, Office Web Apps Server provides updated versions of Word Web App, Excel Web App, PowerPoint Web App, and OneNote Web App".
    However, later in the same article, it states "If your organization licenses Office 2013 through a Volume Licensing program, you can enable Office Web Apps editing for SharePoint 2013 on-premises" (without mentioning Foundation or Server).

    Hi Lemesnil,
    The Office Web App server should support the Edit licenses for SharePoin Foundation 2013, Office Web App is free to
    download, you can also try installing and configuring in a test environment, see more from the below article applied to SharePoint Foundation 2013.
    http://support.microsoft.com/kb/2886404/en-us
    http://blogs.technet.com/b/speschka/archive/2012/12/31/enabling-licensing-and-editing-for-office-web-apps-in-sharepoint-2013.aspx
    Anohter useful article aobut how to license Office Web App server, you can take a look.
    http://blogs.technet.com/b/volume-licensing/archive/2013/05/22/how-to-license-office-web-apps-server.aspx
    Thanks
    Daniel Yang
    TechNet Community Support

  • Office Web Apps Server to One Webapplication

    having a farm with 2 WebApplications -> WebApp1 and WebApp2 
    I would like to have only WebApp2 to utilize the Office Web App server and not the WebApp1 ..
    Is this possible? 

    Office Web apps gets registered to the whole farm, but you can modify the settings on all the site collections in Wb App 2 so they don't open in browser by default.  With that setting documents will open on the desktop client and not in Office Web Apps.
     Here's an article that discusses how to change the setting.
    http://technet.microsoft.com/en-us/library/ee837425(v=office.15).aspx
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Office Web Apps server security question

    Hello,
    According to this technet article Microsoft appears to recommend against allowing both external and internal users access to your OWA server.
    http://technet.microsoft.com/en-us/library/jj219435(v=office.15).aspx#viewers
    "Files that are intended to be viewed through a web browser by using Online Viewers must not require authentication. In other words, the files must be available publicly because Online Viewers can’t perform authentication when it is retrieving files.
    We strongly recommend that the Office Web Apps Server farm that you use for Online Viewers is only able to access either the intranet or the Internet, but not both. This is because Office Web Apps Server doesn’t differentiate between requests for intranet
    and Internet URLs. Somebody on the Internet could request an intranet URL, for example, causing a security leak if an internal document is viewed."
    Just trying to make sense of this.  I am building a new Lync 2013 environment and I definitely want my internal users to be able to leverage the OWA server.  So does that mean I should not publish that server to the internet?  And if I do
    not, does that mean my users will not be able to share a powerpoint presentation at all to external users?  If this is all true and I'm understanding this correctly, does this mean that most implementations choose one or the other? Or does Lync not
    use these "Online Viewers" so I can just disable them and users will still be able to share powerpoint presentations with external users?
    Thanks for any help you can provide for this confusion.

    No, you should publish to both internal and Internet on the same server, it's just how it's done with Lync.  You can't really have two with Lync for this purpose anyway.  Users will upload PowerPoint presentations to it when it's time to share,
    no editing is possible, and the risk is generally minimal.  You can shorten the cache time to help if you're concerned.
    Regardless, from the article:
    http://technet.microsoft.com/en-us/library/jj219442(v=office.15).aspx setting OpenFromUrlEnabled "Turns on or off the ability to use Online Viewers to view Officefiles from a URL or UNC path.".  This is set to false and turned off by default.
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications

  • Office Web Apps server / Lync server 2013

    Hi I have installed a Lync 2013 Server and Office Web Apps Server. Configured Lync topology, Office Web Apps farm and certificates.
    However when i start the services i get this error message in the log saying Office Web Apps discovery failed.
    Event ID:      41033
    Description:
    Office Web Apps Server (WAC) discovery failed, PowerPoint content is disabled.
    Attempted Office Web Apps Server discovery Url:
    Received error message: Invalid Uri syntax for WAC configuration
    The number of retries: 1,
    Cause: Office Web Apps Server may be unavailable or network connectivity may have been compromised.
    Resolution:
    Check HTTPS connectivity from this box to the Office Web Apps Server deployment using the discovery Url.
    I can access the OWAS server Url from Lync Server
    Connecting to the HTTPS discovery URL is working fine, and brings up the XML-page (after i click "show all content").
    The two servers are located on the same internal network, DNS resolves fine both ways, and no firewall rules blocks any connections between the two. Can anyone please help me figure this out?
    Only identical problem found online is here (Invalid Uri syntax for WAC configuration):
    http://blogs.technet.com/b/dodeitte/archive/2012/09/10/office-web-apps-server-amp-lync-server-2013.aspx
    He resolved the problem by assigning a new OAuthTokenIssuer certificate. This however did not fix the problem in my case.
    Regards
    Sverre A. Veel

    Hi,
    In addition, please make sure you have restarted front end and office web apps server after reissuing the certificate.
    Kent Huang
    TechNet Community Support

  • Using Office Web Apps Server 2013 without SharePoint, Lync, or Exchange

    I'm trying to use the Office Web Apps Server 2013 as an online viewer of Office documents (using the Online Viewer). I've set up a New-OfficeWebAppsFarm with editing disabled, no UNC paths, and an external URL with SSL Offloaded to my Load balancer.
    I don't want to use it with SharePoint, Lync or Exchange. Just use it to view documents online (similar to Google Docs Viewer).
    However, when I point the Office Web Apps Server to a remote file online (e.x. a DOC hosted on a website), I get an error opening it.
    I've checked the health statuses of my OWA Servers, and it says Healthy.
    When I check the Event viewer of my OWA Server, I see 501 WOPI errors:
    Could not contact WOPI End Point. Error details - 'NotImplemented url - https://sample-owa-url.com/oh/wopi/files/@/wFileId?wFileId=http%3A%2F%2Fwww%2Eimr%2Esandia%2Egov%2Fimrtemplate%2Edoc&access_token=1&access_token_ttl=0'.
    It seems OWA is trying to connect to the path /oh/wopi/files....  but the server is responding NotImplemented.
    What do I have to get this to work?
    Thanks for any help!

    Did you ever find an answer? I have the exact same Issue.
    I have 2 WAC servers behind a load balancer with SSL offloaded to the LB. Both servers report healthy with Get-OfficeWebAppsMachine
    Works fine with SharePoint 2013.
    When I use it with a remote file, served using HTTP with no authentication (anonymous), I get a generic "Sorry there was a problem and we can't open this document..." error.
    In the ULS and event viewer, I see the WOPI error and 501 which basically says:
    Could not contact WOPI End Point. Error details - 'NotImplemented url - https://sample-owa-url.com/oh/wopi/files/@/wFileId?wFileId=http%3A%2F%2Fwww%2Blah%2Ecom%2FWordDocument%2Edocx&access_token=1&access_token_ttl=0'.
    I also sometimes see this:
    <HealthMessage>WordViewerWfeWatchdog reported status for WebWordViewer in category 'WfeRedirect'. Reported status: /default.aspx returned a 404, which means that we didn't have where to redirect.</HealthMessage> 
    The very interesting part s that I have a dev server, with OWA (WAC) installed, thats not going through a LB and does not use SSL, that works just fine with the same public url word document.

  • Office web apps "Server error in '/wv' Application"

    Hi, I successfully installed office web app for sharepoint 2013. However, when I tried to open documents, it shows the preview but once view/edit in browser, I got this error. What seems to be the problem?
    Server error in '/wv' Application.
    Unable to determine zone from request

    Hi  ,
    According to your description, my understanding is that you encountered the error “Server error in '/wv' Application. Unable to determine zone from request” when you open document using Office Web Apps.
    Are you using  https:// to access the Office Web Apps server? Is the default zone of your web application in Alternate Access Mappings using http:// ?
    If so, you can change the default zone 
    of your web application in Alternate Access Mappings to use https:// .
    Or  set AllowOAuthOverHttp to true:
    $config = (Get-SPSecurityTokenServiceConfig)
    $config.AllowOAuthOverHttp = $true
    $config.Update()
    Reference:
    http://social.technet.microsoft.com/Forums/office/en-US/de49617c-4b0a-4aa9-9877-8f085f48abc2/sharepoint-2013-sp1-and-office-web-apps-sp1-not-working-using-http?forum=sharepointadmin
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/f7be5f88-8c98-464e-8596-60956b5e98fd/sharepoint-2013-office-web-apps-problem-unable-to-openviewedit?forum=sharepointgeneral
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Office Web Apps Server IIS site disappeared?

    I deployed an Office Web Apps server on a dedicated VM to be used for Lync 2013. After the initial installation / set up, I confirmed the discovery URL. It worked fine.
    However, after one point in time, PowerPoint Presentations stopped working. When trying to share a PPT presentation, the Lync client popped up a message saying "Sorry, we couldn't upload <ppt file name> because we're having trouble connecting
    to the service. If this keeps happening, try contacting your support team". I've done many many Lync and Office Web Apps install myself previously, and never had a message pop up like the one I saw in this case.
    I tried going to the Web Apps discovery URL again, and it didn't get anywhere. I got on the Web Apps server and all the IIS sites were wiped.
    I tried uninstalling the Office Web Apps server and reinstalling, but from that point on, IIS sites for Web Apps just would not appear under IIS manager.
    Has anyone had similar issue with Office Web Apps?
    Thanks,
    Andrew Shin, TechNet Forum replies

    Hello,
    Maybe the windows update is active and configured to Automatically download and installed update of Office Web Apps and this behavior just breaking your setup.
    Try
    remove the farm of WAC
    Install SP1  
    and start new deployment of farm.
    Link SP1
     http://www.microsoft.com/en-us/download/details.aspx?id=42547
    How update your farm Office Web Apps
     http://technet.microsoft.com/en-us/library/jj966220(v=office.15).aspx
    Hugs[]s
    Robson Hasselhoff - Follow me @Robk9e

  • OWA Blank Attachment Preview with Office Web Apps Server

    Environment:  Exchange 2013 CU3 / Office Web Apps Server 2013
    OS:  Windows Server 2012 R2
    After implementing Office Web Apps server per the Integration with Exchange 2013 instructions, attachment previews in OWA show up as blank windows.  The pop up says Opening your mailbox, then goes blank.  I have the WAC endpoint configured in Exchange,
    I can access the discovery URL from the Exchange servers, and I am seeing event 142.  Some forums say that these events should be in the CAS application logs.  I am seeing mine in the Mailbox server app logs.  Has anyone seen a similar issue.
     I have also attempted to view the ULS logs on the Office Web Apps server, but I don't see anything that looks like a rendering request.  But, I also don't know what that request would look like.  The Exchange and Office Web Apps server are
    in the same network with no firewall in between them The local firewalls have also been turned off, so any type of blockage should not be the issue.

    I dont want to be happy too soon, but i think for me this did the trick:
    from time to time, this event appeared in the application eventlog:
    Source: MSExchange Certificate Deployment
    Event ID: 2005
    Task Category: General
    Level: Warning
    Keywords: Classic
    Description:
    Federation or Auth certificate not found: ED2C3E86EBE821AAC2C0DEA85CAB5787E2CAC5F3. Unable to find the certificate in the local or neighboring sites. Confirm that the certificate is available in your topology and if necessary, reset the certificate on the Federation
    Trust to a valid certificate using Set-FederationTrust or Set-AuthConfig. The certificate may take time to propagate to the local or neighboring sites.
    The solution was found here: http://community.spiceworks.com/topic/512374-missing-the-microsoft-exchange-server-auth-certificate
    1. New-ExchangeCertificate -KeySize 2048 -PrivateKeyExportable $true -SubjectName "cn= Microsoft Exchange Server Auth Certificate" -DomainName "*.yourdomain.com" -FriendlyName "Microsoft Exchange Server Auth Certificate" -Services smtp
    Do not accept to replace the SMTP certificate when prompted
    2. Note the thumbprint of the new certificate. Let us assume it is 7A39541F8DF58D4821967DD8F899B27410F7C081
    3. $a=get-date
    4. Set-AuthConfig -NewCertificateThumbprint 7A39541F8DF58D4821967DD8F899B27410F7C081 –NewCertificateEffectiveDate $a
    Accept to continue despite the fact that the certificate effective date is not 48 hours into the future
    5. Set-AuthConfig –PublishCertificate
    6. Make sure to remove any potential reference to the previous certificate (which might not exist anymore) by doing Set-AuthConfig -ClearPreviousCertificate
    Maybe this helps some of you too.

Maybe you are looking for