Office Web App Server 2013: cannot edit word document with own WOPI Server

Hi all,
I tried to build our own WOPI Server to connect to Office Web App Server 2013 SP1. Viewing documents
in IE was possible quite easy to achieve. Now it comes to editing.
When I try to edit a document, I got a german message “Sie verfügen leider nicht über die Berechtigung zum Bearbeiten dieses Dokuments“.
This means something like „Sorry, you do not have any permission to modify this document”.
I enabled editing on the OWAS-Server while setup procedure
(Until now, I only have an InternalUrl but no ExternalUrl.)
PS C:\ > New-OfficeWebAppsFarm –InternalUrl “https://win-owas...” 
–CertificateName "win-owas…" –EditingEnabled
ULS log shows
BaseDocument says editing is not supported [WebEditingEnabled: True] [SupportsEditing: True] [PinnedUsersRights: Read] 
So far, I implemented these three REST service methods:
[OperationContract]
[WebInvoke
"GET":"api/wopi/files/{name}?access_token={access_token}"
"GET":"api/wopi/files/{name}/contents?access_token={access_token}"
"POST":"api/wopi/files/{name}/contents?access_token={access_token}"
Office Web App Server was downloaded from “Microsoft Volume Licensing Center”. I installed latest updates from Microsoft.
Did anybody succeed in writing to own WOPI an can give me some hints?
Thank you in advance.

Hi,
The discovery xml contains many lines. The one for editing docx is:
<action
name="edit"
urlsrc="https://win-owas.cado.camos.de/we/wordeditorframe.aspx?"<ui=UI_LLCC=""&><rs=DC_LLCC=""&><showpagestats=PERFSTATS=""&>"
ext="docx" requires="locks,cobalt,update"/>
I am calling it this way:
<iframe
src="https://win-owas.cado.camos.de/we/wordeditorframe.aspx?WOPISrc=http%3a%2f%2fpc-ms.cado.camos.de%3a8000%2fWOPI%2fapi%2Fwopi%2Ffiles%2FAbout_Keyboard_Input.docx&access_token=5268690b-19c6-496d-8ae6-b694f8e7bd0c"
I’m not sure whether or not I implemented "locks,cobalt,update" correct, but I do not see any ‘edit-’network traffic from OWAS-Server to WOPI-Server. So I cannot debug anything. I will (re)check the articles you mentioned.
Thank you for your help.

Similar Messages

  • Open Documents with Office Web App - SharePoint 2013

    We have configured Office Web App for our SharePoint 2013 Farm and in Site settings, Site Collection Features,  have disabled "Open Documents in Client Applications by Default" . Out of 15 sites, all documents in 13 sites open in Office
    Web App. One of the 2 sites where the document still open using Client Application is a Wiki site.
    Advanced propertied for the libraries settings has been set to "Use the server default (Open in the browser)". Anything else to check to open documents in Office Web App?
    Thanks
    MP

    Hi,              
    As I understand, you encountered the issue when you want to open documents with Office Web App.
    Check things below:
    1. In the library setting->advanced setting, you can choose the open in the browser to see if the same situation will occur.
    2. Check if you have not enable the Open Documents in Client Applications by Default feature.
    If you choose Activate to enable the Open in Client feature (documents will open in the client application), or
    Deactivate to disable the Open in Client feature (documents will open in the browser).
    You can go to Site setting->site collection administration->site collection feature->Open
    Documents in Client Applications by Default to set the feature.
    The article below is about how to set the default open behavior for browser-enabled documents.
    https://technet.microsoft.com/en-us/library/ee837425(v=office.15).aspx
    The article below is about how to configure office web apps for SharePoint 2013.
    Configure Office Web Apps for SharePoint 2013
    Best regards
    Sara Fan
    TechNet Community Support

  • Installation of this package failed (Service Pack 2 for Microsoft Office Web Apps (KB2687470) 64-bit edition

    Hi there,
    On my SharePoint 2010 server I have Office Web Apps 2010 installed (NOT Microsoft Office).
    When I try to install OWA SP2 (KB2687470) I get this error:
    --- Logs show some errors at C:\Users\ext.magryan\AppData\Local\Temp\3\Wac Server Setup(2014062009365223A0).log
    Search "error" (32 hits in 1 files)
    C:\Users\ext.magryan\AppData\Local\Temp\3\Wac Server Setup(2014062009365223A0).log (32 hits)
    Line 352: MSI(INFO): 'DEBUG: Error 2749: Transform 9011410409100014.0.6025.1000 invalid for package C:\Windows\Installer\8d4dd82a.msi. Expected product version == 14.0.6025.1000, found product version 14.0.4763.1000.'
    Line 354: MSI(INFO): 'DEBUG: Error 2749: Transform 9011410409100014.0.6012.1000 invalid for package C:\Windows\Installer\8d4dd82a.msi. Expected product version == 14.0.6012.1000, found product version 14.0.4763.1000.'
    Line 356: MSI(INFO): 'DEBUG: Error 2749: Transform 9011410409100014.0.6014.1000 invalid for package C:\Windows\Installer\8d4dd82a.msi. Expected product version == 14.0.6014.1000, found product version 14.0.4763.1000.'
    Line 358: MSI(INFO): 'DEBUG: Error 2749: Transform 9011410409100014.0.6027.1000 invalid for package C:\Windows\Installer\8d4dd82a.msi. Expected product version == 14.0.6027.1000, found product version 14.0.4763.1000.'
    Line 360: MSI(INFO): 'DEBUG: Error 2749: Transform 9011410409100014.0.6022.1000 invalid for package C:\Windows\Installer\8d4dd82a.msi. Expected product version == 14.0.6022.1000, found product version 14.0.4763.1000.'
    Line 362: MSI(INFO): 'DEBUG: Error 2749: Transform 9011410409100014.0.6015.1000 invalid for package C:\Windows\Installer\8d4dd82a.msi. Expected product version == 14.0.6015.1000, found product version 14.0.4763.1000.'
    Line 403: MSI(ACTIONSTART): 'Action 9:36:56: SetSupportErrorTextRetail. '
    Line 404: MSI(INFO): 'Action start 9:36:56: SetSupportErrorTextRetail.'
    Line 405: MSI(INFO): 'Action ended 9:36:56: SetSupportErrorTextRetail. Return value 1.'
    Line 406: MSI(ACTIONSTART): 'Action 9:36:56: SetSupportErrorTextRetail_PERMISSION. '
    Line 407: MSI(INFO): 'Action start 9:36:56: SetSupportErrorTextRetail_PERMISSION.'
    Line 408: MSI(INFO): 'Action ended 9:36:56: SetSupportErrorTextRetail_PERMISSION. Return value 1.'
    Line 409: MSI(ACTIONSTART): 'Action 9:36:56: SetSupportErrorTextRetail_PROBLEM. '
    Line 410: MSI(INFO): 'Action start 9:36:56: SetSupportErrorTextRetail_PROBLEM.'
    Line 411: MSI(INFO): 'Action ended 9:36:56: SetSupportErrorTextRetail_PROBLEM. Return value 1.'
    Line 558: MSI(ERROR): 'Error 1706. Setup cannot find the required files. Check your connection to the network, or CD-ROM drive. For other potential solutions to this problem, see C:\Users\EXT~1.MAG\AppData\Local\Temp\3\Setup000023a0\SETUP.CHM.'
    Line 558: MSI(ERROR): 'Error 1706. Setup cannot find the required files. Check your connection to the network, or CD-ROM drive. For other potential solutions to this problem, see C:\Users\EXT~1.MAG\AppData\Local\Temp\3\Setup000023a0\SETUP.CHM.'
    Line 575: MSI(INFO): 'Property(S): ERRORSUPPORTTEXT_PROBLEM = If problem persists, contact Microsoft Product Support Services (PSS) for assistance. For information about how to contact PSS, see C:\Users\EXT~1.MAG\AppData\Local\Temp\3\Setup000023a0\PSS10R.CHM.'
    Line 576: MSI(INFO): 'Property(S): ERRORSUPPORTTEXT_PERMISSION = Verify that you have sufficient permissions to access the registry or contact Microsoft Product Support Services (PSS) for assistance. For information about how to contact PSS, see C:\Users\EXT~1.MAG\AppData\Local\Temp\3\Setup000023a0\PSS10R.CHM.'
    Line 577: MSI(INFO): 'Property(S): ERRORSUPPORTTEXT = Contact Microsoft Product Support Services (PSS) for assistance. For information about how to contact PSS, see C:\Users\EXT~1.MAG\AppData\Local\Temp\3\Setup000023a0\PSS10R.CHM.'
    Line 619: MSI(INFO): 'Property(S): ERRORSUPPORTTEXT_RETAIL_DEFAULT_PROBLEM_PRE = If problem persists, contact Microsoft Product Support Services (PSS) for assistance. For information about how to contact PSS, see '
    Line 620: MSI(INFO): 'Property(S): ERRORSUPPORTTEXT_RETAIL_DEFAULT_PROBLEM_POST = .'
    Line 621: MSI(INFO): 'Property(S): ERRORSUPPORTTEXT_RETAIL_DEFAULT_PERMISSION_PRE = Verify that you have sufficient permissions to access the registry or contact Microsoft Product Support Services (PSS) for assistance. For information about how to contact PSS, see '
    Line 622: MSI(INFO): 'Property(S): ERRORSUPPORTTEXT_RETAIL_DEFAULT_PERMISSION_POST = .'
    Line 623: MSI(INFO): 'Property(S): ERRORSUPPORTTEXT_RETAIL_DEFAULT_PRE = Contact Microsoft Product Support Services (PSS) for assistance. For information about how to contact PSS, see '
    Line 624: MSI(INFO): 'Property(S): ERRORSUPPORTTEXT_RETAIL_DEFAULT_POST = .'
    Line 625: MSI(INFO): 'Property(S): ERRORSUPPORTTEXT_OEM_DEFAULT = Contact your computer manufacturer's product support for assistance.'
    Line 626: MSI(INFO): 'Property(S): ERRORSUPPORTTEXT_OEM_DEFAULT_PERMISSION = Verify that you have sufficient permissions to access the registry or contact your computer manufacturer's product support for assistance.'
    Line 627: MSI(INFO): 'Property(S): ERRORSUPPORTTEXT_OEM_DEFAULT_PROBLEM = If problem persists, contact your computer manufacturer's product support for assistance.'
    Line 629: MSI(INFO): 'Property(S): SecureCustomProperties = DIAGNOSE;DWLANGUAGE;ERRORSUPPORTTEXT;LAUNCHEDBYSETUPEXE;LOGVERBOSE;PIDKEY;SETUPHELPFILEDIR;SETUPINTLDLLDIRECTORY;SETUPPSSHELPFILEDIR;SETUPSUPPORTURL'
    Line 753: Error: Failed to configure: {90140000-1141-0409-1000-0000000FF1CE} ErrorCode: 1603(0x643).
    Line 753: Error: Failed to configure: {90140000-1141-0409-1000-0000000FF1CE} ErrorCode: 1603(0x643).
    Any help will be appreciated.
    Thanks.

    Did you install SharePoint 2010 SP1 (or preferably, SP2)?
    Foundation SP2:
    http://www.microsoft.com/en-us/download/details.aspx?id=39646
    Server SP2:
    http://www.microsoft.com/en-us/download/details.aspx?id=39672
    If you have SharePoint Foundation, use the Foundation SP2 link. If you have SharePoint Server, use the Server SP2 link. Install that first, then proceed with your OWA SP2 install.
    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.

  • 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 - working in other browsers but not Internet Explorer

    Hi there,
    I have office web apps on my SharePoint 2013 environment.  The previews work file when hovering next to a document but if I try to open it, I get "Sorry, we ran into a problem".  It looks as though Excel files open okay but I
    have tested Word and Powerpoint documents and I get this error.  Also, it only appears to happen in Internet Explorer - Google Chrome and Firefox are okay.  Any ideas?

    Thanks for the advice.  I installed the hoftix (on the OWA server) and now it appears to really be broken - nothing is opening using office web apps anymore.
    I found this blog with the same errors I am getting - I'm guessing I will need to uninstall etc. too?? 
    http://blogs.technet.com/b/dodeitte/archive/2013/03/29/issue-with-automatic-updates-enabled-amp-office-web-apps-server-2013-update.aspx

  • Issue with office web apps sorry, there was a problem and we can't open this document.

    Hi All,
    i am having issue when trying to open the word file using office web apps farm. i have multi-tier farm (2 wfe, 2 apps and 2 owa). is that something wrong with certificate or the way AAM configured. Can anyone give me some direction please?

    Hi,
    According to your description, my understanding is that you failed to open the word file using office web app.
    Please open the word file using office web app in other SharePoint sites and test whether this issue occurs. Also, please test whether all words have this issue.
    Please reset IIS on the OWA server.
    Please disconnect the SharePoint Farm from Office Web Apps and reconnect it. Then check the WOPIZone and TMG server.
    Please created certificate for your PC and update mappings of IP addresses.
    Some useful posts for your reference:
    https://social.technet.microsoft.com/Forums/office/en-US/fdbf2198-5a62-422a-9015-a65599eabeb5/office-web-apps-2013-sorry-there-was-a-problem-and-we-cant-open-this-document-if-this-happens?forum=sharepointadmin
    https://social.technet.microsoft.com/Forums/office/en-US/154e9673-8227-4913-9f2a-97677e4c5314/sorry-there-was-a-problem-and-we-cant-open-that-document?forum=sharepointadminprevious
    http://sharepoint.stackexchange.com/questions/66013/a-problem-with-a-websites-security-certificate-for-apps
    Best Regards,
    Dean Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Office Web Apps only opens some file types

    I have a Office Web Apps (WCA) 2013 UAT environment that is connected to my UAT SharePoint 2013 farm.  I can preview a lot of document types in Office Web Apps but other I get an error.  For example pptx gives me the error "Sorry, PowerPoint
    Web App ran into a problem opening this presentation. To view this presentation please open it in Microsoft PowerPoint". 
    All the excel file types work as does *.doc files.  *.docx files fail.
    I can't find any logging information in my ULS or event viewer logs. 
    Background: The OS on all servers is Windows 2008 R2, the OWA/WCA farm uses allowHttp as I will be behind a hardware load balancer.  The issue is not to do with SSL or SSLoffload as most file types open.
    The SPWOPIBinds look correct to me: Fails for the docx binding below
    Application     : Word
    Extension       : DOCX
    ProgId          :
    Action          : attend
    IsDefaultAction : False
    ServerName      : OWA-UAT.DEMO.LOCAL
    WopiZone        : internal-http
     Works for this WOPIBinding
    Application     : Word
    Extension       : DOC
    ProgId          :
    Action          : interactivepreview
    IsDefaultAction : False
    ServerName      : OWA-UAT.DEMO.LOCAL
    WopiZone        : internal-http
    Any ideas?

    By default, there are 8 bindings for DOCX.  Do you see any other bindings available?
    Trevor Seward, MCC
    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 Farm Across Multiple Data Centers?

    I have not been able to find any definitive information about this but the article below seems to suggest what I have in mind is not recommended.  I am not sure about supported.
    "Stick to one data center.  Servers in an Office Web Apps Server farm must be in the same data center. Don’t distribute them geographically. Generally you need only one farm, unless you have security needs
    that require an isolated network that has its own Office Web Apps Server farm."
    http://technet.microsoft.com/en-us/library/jj219435.aspx#topology
    What I have is two very well connected data centers located in the same metro area.  We will be deploying a Lync EE pool at each site and use pool pairing for DR.  What I am wondering is should I:
    Create a single Office Web Apps farm with the server from each data center as members?
    Create a farm in each site with a single member, but both farms sharing the same URL?
    Create a farm in each site with a single member, but both farms have different names.  This seems unnecessarily ugly, but throwing it out there.
    Since Lync is using Office Web Apps in read only mode the question is different than if SharePoint were involved.  However, I can't rule out this farm also being used for SharePoint down the road.
    The LB/RP device of choice is Citrix NetScaler.  Another thought I had is can that be configured so incoming requests for Office Web Apps at each data center can prioritize traffic to the server or farm within that data center?  If that is unavailable
    then switch to the server at the other data center?
    Thanks.

    Hi,
    An Office Web Apps farm can be deployed to provide functionality for multiple sites.
    Also you can deploy one Web Apps farm on each site.
    So I think you can choose to deploy with the option one and three as you said.
    Here is a case about deploying Lync deploy Office Web Apps server may help you:
    http://social.technet.microsoft.com/Forums/lync/en-US/7e67bacf-4895-4bdb-95b8-0aff8a0c575f/geographical-placement-of-office-web-app-servers?forum=lyncdeploy
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Opening an embedded document in office web apps

    Hi,
    I have a test site configured to use office web apps and it works to open documents in OWA. I have a requirement to open a powerpoint presentation embedded in page in office web apps. I used the page viewer web part to do the embedding, but the document
    is not opening in office web apps. There is a prompt to open the document in the desktop version of power point. I have checked that the site is configured to open the documents in OWA by default in the site collection features.
    Does anybody have a suggestion on how to fix this?
    thanks
    Sherazad

    Hi,
    According to your post, my understanding is that you want to embed a PowerPoint document which is opened in office web apps(OWA) in a page.
    Here are two solution for your reference:
    1.Open the document in OWA, go to File -> Share -> Embed, then copy the Embed Code and add the code into a Content Editor Web Part in the page.
    2.Use Page Viewer web part to achieve it,  we can get the link from the address bar after the document is opened in OWA. The link like this:
    /sites/DennisSite/_layouts/15/WopiFrame.aspx?sourcedoc={D95516CC-6912-4F5B-BF13-C40286BC27A4}&file=Test.pptx&action=default
    Thanks,
    Dennis Guo
    TechNet Community 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]
    Dennis Guo
    TechNet Community Support

  • Office Web Apps Server 2013 - Word Web App - Problem with Tab space

    Hello We have Office Web Apps Server 2013 running with SharePoint 2013.  Users Editing a Word document with Office Web Apps, can't use "Tabs", any Word document with Tabs; the tabs are replaced with a single space.
    Has anyone noticed this?  Is this a bug?
    -thanks
    thomas
    -Tom

    Yes, currently the Word Web App does not support
    Tab Keyboard shortcut for editing document content .
    For more information, you can have a look at
    the article:
    http://office.microsoft.com/en-us/office-online-help/keyboard-shortcuts-in-word-online-HA010378332.aspx?CTT=5&origin=HA010380212
    http://social.technet.microsoft.com/Forums/en-US/3f5978d3-67a1-4c8c-981f-32493d72610b/office-web-apps-server-2013-word-web-app-problem-with-tab-space?forum=sharepointgeneral

  • Cannot preview attachments using Office Web App Server 2013 ( Preview )

    Got a lab environment to test Office Web App Server integration with Exchange 2013
    i have followed the instructions given here
    http://technet.microsoft.com/en-US/jj219455
    http://technet.microsoft.com/library/2591b1be-92c4-4192-9f5e-e4e6b319170a
    After all required configuration , i am still unable to preview the office documents from OWA
    Receiving the following messages by clicking on the Preview link next to the attachment:
    Word Document : "Sorry, there was a problem and we can't open this document. If this happens again, try opening the document in Microsoft Word."
    Excel Document: "We couldn't find the file you wanted. It's possible the file was renamed, moved or deleted"
    PowerPoint: "Sorry, we ran into a problem. Please try again"
    As suggested i even see the Application Log the 140 and 142 Event IDs for MSExchange OWA
    Already configured to enable the rendering of attachments through OWAS both on public and private computers:
    This is what I can see in the ULS log on the Web App Server
    WAC Server HttpModule: Beginning request at target [/p/PowerPointFrame.aspx?PowerPointView=SlideShowView&ui=en-US&rs=en-US&WOPISrc=https%3a%2f%2f<Server>%3a443%2fowa%2fuser02%2540<Domain>%2fwopi%2ffiles%2f%40%2fowaatt%3fowaatt%3dLFMtMS01LTIxLTIwODU5NzU2NjItMTE4ODQ1NzE5Ny04MDY2Njg5MC0xMTI5VUtGxj%252bT0AgBAQEAQE1jdE5tSElqZjBHWWtXUTFtZi8yQ3htSGZxS3Izb1gwZGVFWVhjdklhbGwwc3F0dnJiQjBzZ0d2eXBDVCtaeEU%253d&]
    in session [b373a48e-9fca-445b-a7b2-2966f11b18de]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    UserSessionId=b373a48e-9fca-445b-a7b2-2966f11b18de
    b373a48e-9fca-445b-a7b2-2966f11b18de
    WOPI CheckFileInfo: Start [url:https://<Server>:443/owa/user02%40<Domain>/wopi/files/@/owaatt?owaatt=LFMtMS01LTIxLTIwODU5NzU2NjItMTE4ODQ1NzE5Ny04MDY2Njg5MC0xMTI5VUtGxj%2bT0AgBAQEAQE1jdE5tSElqZjBHWWtXUTFtZi8yQ3htSGZxS3Izb1gwZGVFWVhjdklhbGwwc3F0dnJiQjBzZ0d2eXBDVCtaeEU%3d]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    URL generated for WOPI CheckFile Request: https://<Server>:443/owa/user02%40<Domain>/wopi/files/@/owaatt?owaatt=LFMtMS01LTIxLTIwODU5NzU2NjItMTE4ODQ1NzE5Ny04MDY2Njg5MC0xMTI5VUtGxj%2bT0AgBAQEAQE1jdE5tSElqZjBHWWtXUTFtZi8yQ3htSGZxS3Izb1gwZGVFWVhjdklhbGwwc3F0dnJiQjBzZ0d2eXBDVCtaeEU%3d&access_token=REDACTED_1086&access_token_ttl=0
    b373a48e-9fca-445b-a7b2-2966f11b18de
    WOPI Proof Data: AccessToken Hash '669582051' [1086 bytes], URL 'HTTPS://<Server>/OWA/USER02%40<Domain>/WOPI/FILES/@/OWAATT?OWAATT=LFMTMS01LTIXLTIWODU5NZU2NJITMTE4ODQ1NZE5NY04MDY2NJG5MC0XMTI5VUTGXJ%2BT0AGBAQEAQE1JDE5TSELQZJBHWWTXUTFTZI8YQ3HTSGZXS3IZB1GWZGVFWVHJDKLHBGWWC3F0DNJIQJBZZ0D2EXBDVCTAEEU%3D&ACCESS_TOKEN=REDACTED_1086&ACCESS_TOKEN_TTL=0'
    [1354 bytes], TimeStamp '635169449614353585' [8 bytes]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    WOPI Proof: Using Current private key (to sign) that matches Current public key  BgIAAACkAABSU0ExAAgAAAEAAQDhPcfARgzhUlTFzo1jhCPHeoylNWp6pBbq6QM6CVQkbFyp4/I+mDzK4JA+AA3BFWLtpQEB7zIEbdjzhdsuYWYAJWBfvfX/3m2E3WRNhcPV8I2rA2T6qWj5Fb6eMNnoz4n2/1sqUXfyIA8mADXUebe9JNyJ+icPluUX+vTNm4m2IWbEgWmJNkgi9OUAq2hmd2lJifbJW8jNr1qzqBCE3ITFwr0L2svMrxfe5nKXVHbZa0EBYxMwHoc3ZkE0dZ0NPle9pq3MObg2+D5RN/w/B0axTJD7G/fQDpZbdsfvKA8mlyCn/vbNpooq5LgvGowTAWmG/tr1kWetfjePAbjBkIK5
    b373a48e-9fca-445b-a7b2-2966f11b18de
    WOPI Proof - Successfully signed the data with the Current private key [4 ms]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    WOPI Proof Keys - WS Farm State has no Old key (this is expected if recently installed)
    b373a48e-9fca-445b-a7b2-2966f11b18de
    Cannot create WOPI Proof Token - could not find valid Old proof key data
    b373a48e-9fca-445b-a7b2-2966f11b18de
    HttpRequestAsync (WOPICheckFile,WACSERVER) Starting [mode: GET, url: https://<Server>:443/owa/user02%40<Domain>/wopi/files/@/owaatt?owaatt=LFMtMS01LTIxLTIwODU5NzU2NjItMTE4ODQ1NzE5Ny04MDY2Njg5MC0xMTI5VUtGxj%2bT0AgBAQEAQE1jdE5tSElqZjBHWWtXUTFtZi8yQ3htSGZxS3Izb1gwZGVFWVhjdklhbGwwc3F0dnJiQjBzZ0d2eXBDVCtaeEU%3d&access_token=REDACTED_1086&access_token_ttl=0]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    HttpRequestAsync (WOPICheckFile,WACSERVER) End Called
    b373a48e-9fca-445b-a7b2-2966f11b18de
    HttpRequestAsync::GetResponseCallback - ContentLength:9327
    b373a48e-9fca-445b-a7b2-2966f11b18de
    HttpRequestAsync::FProcessReadReturn - cbRead:9327
    b373a48e-9fca-445b-a7b2-2966f11b18de
    HttpRequestAsync::FProcessReadReturn - cbRead:0
    b373a48e-9fca-445b-a7b2-2966f11b18de
    HttpRequestAsync (WOPICheckFile,WACSERVER) Setting Completion [Time in ms: 3, Bytes Read: 9327 ContentLength: 9327]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    HttpRequestAsync (WOPICheckFile,WACSERVER) SetCompletion Track start | setting trackers | WebRequest.Create() | Create() returned | setting request headers | setting user agent | setting keep alive | setting timeout callback | Start calling StartResponseProcessing
    | StartResponseProcessing._req.BeginGetResponse() | BeginGetResponse() returned | StartResponseProcessing RETURNS | Start RETURNS | End.AsyncWaitHandle.WaitOne() | GetResponseCallback isSync:False | _req.EndGetResponse() | EndGetResponse() returned | RecordResponse
    OK | _response.GetResponseStream() | _response.GetResponseStream() RETURNED | DoReadLoopFinished | _getStream.BeginRead() | ReadCallback.sync returning | BeginRead() -> sync:True | DoReadLoopFinished.FProcessReadReturn() | FProcessReadReturn._getStream.EndRead()
    | EndR... b373a48e-9fca-445b-a7b2-2966f11b18de
    ...ead() -> 9327 | FProcessReadReturn._responseStream.Write() | FProcessReadReturn RETURNS True | FProcessReadReturn() ->  true | _getStream.BeginRead() | ReadCallback.sync returning | BeginRead() -> sync:True | DoReadLoopFinished.FProcessReadReturn()
    | FProcessReadReturn._getStream.EndRead() | EndRead() -> 0 | FProcessReadReturn._responseStream.Write() | FProcessReadReturn RETURNS False | FProcessReadReturn() -> false | DoReadLoopFinished RETURNS true | GetResponseCallback DoReadLoopFinished ->
    TRUE | SetCompletion False | b373a48e-9fca-445b-a7b2-2966f11b18de
    WOPI Http Request Completed [host machine name:, version:, host correlation:]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    WOPI: Could not deserialize file metadata [url:https://<Server>:443/owa/user02%40<Domain>/wopi/files/@/owaatt?owaatt=LFMtMS01LTIxLTIwODU5NzU2NjItMTE4ODQ1NzE5Ny04MDY2Njg5MC0xMTI5VUtGxj%2bT0AgBAQEAQE1jdE5tSElqZjBHWWtXUTFtZi8yQ3htSGZxS3Izb1gwZGVFWVhjdklhbGwwc3F0dnJiQjBzZ0d2eXBDVCtaeEU%3d,
    e:There was an error deserializing the object of type Microsoft.Office.OpenWebApplication.WopiCheckFileResponse. Encountered unexpected character '<'.]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    WOPI: Invalid file metadata [url:https://<Server>:443/owa/user02%40<Domain>/wopi/files/@/owaatt?owaatt=LFMtMS01LTIxLTIwODU5NzU2NjItMTE4ODQ1NzE5Ny04MDY2Njg5MC0xMTI5VUtGxj%2bT0AgBAQEAQE1jdE5tSElqZjBHWWtXUTFtZi8yQ3htSGZxS3Izb1gwZGVFWVhjdklhbGwwc3F0dnJiQjBzZ0d2eXBDVCtaeEU%3d,
    triggers:(No Version No FileName No OwnerId), data:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!-- Copyright (c) 2011 Microsoft Corporation.  All rights reserved. --> <!-- OwaPage = ASP.auth_logon_aspx -->
      <!-- {57A118C6-2DA9-419d-BE9A-F92B0F9A418B} -->     <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">   <html>  <head>  <meta http-equiv="X-UA-Compatible" content="IE=10"
    />  <link rel="shortcut icon" href="/owa/auth/15.0.775/themes/resources/favicon.ico" type="image/x-icon">  <meta ...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ...http-equiv="Content-Type" content="text/html; CHARSET=utf-8">  <meta name="Robots" content="NOINDEX, NOFOLLOW">  <title>Outlook Web App</title>  <link type="text/css"
    rel="stylesheet" href="/owa/auth/15.0.775/themes/resources/logon.css">  <script type="text/javascript" src="/owa/auth/15.0.775/scripts/premium/flogon.js"></script>  <script type="text/javascript"
    src="/owa/auth/15.0.775/scripts/premium/flayout.js"></script>    <script type="text/javascript">   <!--   var a_fRC = 1;   var g_fFcs = 1;   var a_fLOff = 0;   var a_fCAC = 0;  
    var a_fEnbSMm = 0;  /// <summary>  /// Is Mime Control installed?  /// </summary>  function IsMimeCtlInst(progid)  {   if (!a_fEnbSMm)    return false;     var oMimeVer = null;     try
       {    // TODO: ingore this on none IE browser    //    //oMimeVer = new ...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ...ActiveXObject(progid);   }    catch (e)   {    }     if (oMimeVer != null)    return true;   else    return false;  }    /// <summary>  /// Render out the S-MIME control
    if it is installed.  /// </summary>  function RndMimeCtl()  {   if (IsMimeCtlInst("MimeBhvr.MimeCtlVer"))    RndMimeCtlHlpr("MimeNSe2k3", "D801B381-B81D-47a7-8EC4-EFC111666AC0", "MIMEe2k3",
    "mimeLogoffE2k3");     if (IsMimeCtlInst("OwaSMime.MimeCtlVer"))    RndMimeCtlHlpr("MimeNSe2k7sp1", "833aa5fb-7aca-4708-9d7b-c982bf57469a", "MIMEe2k7sp1", "mimeLogoffE2k7sp1");
        if (IsMimeCtlInst("OwaSMime2.MimeCtlVer"))    RndMimeCtlHlpr("MimeNSe2k9", "4F40839A-C1E5-47E3-804D-A2A17F42DA21", "MIMEe2k9", "mimeLogoffE2k9");  }    /// <summary>
     /// Helper function to factor out the rendering of the S/MIME control.  /// </summary>  func...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ...tion RndMimeCtlHlpr(objid, classid, ns, id)  {   document.write("<OBJECT id='" + objid + "' classid='CLSID:" + classid + "'></OBJECT>");   document.write("<?IMPORT namespace='"
    + ns + "' implementation=#" + objid + ">");   document.write("<" + ns + ":Logoff id='" + id + "' style='display:none'/>");  }   -->  </script>
           <script>            var mainLogonDiv = window.document.getElementById("mainLogonDiv");          var layout = DetermineLayout();          var
    showPlaceholderText = false;          var mainLogonDivClassName;            if (layout == LayoutTypeEnum.Mouse) {              mainLogonDivClassName = "mouse";
             }          else if (layout == LayoutTypeEnum.TouchNarrow) {              mainLogonDivClassName = "tnarrow";              showPlaceholderText
    = true;               ...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ... // Output meta tag for viewport scaling              document.write('<meta name="viewport" content="width = 320, initial-scale = 1.0, user-scalable = no" />');          }
             else {              mainLogonDivClassName = "twide";              showPlaceholderText = true;          }    
           function setPlaceholderText() {                  window.document.getElementById("username").placeholder = "domain\\user name";            
         window.document.getElementById("password").placeholder = "password";                  window.document.getElementById("passwordText").placeholder = "password";
             }            function showPasswordClick() {              var showPassword = window.document.getElementById("showPasswordCheck").checked;    
             window.document.getElementById("password"...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ...).type = showPassword ? "input" : "password";          }      </script>    </head>  <body class="signInBg" style="background: #f2f2f2 url('/owa/auth/15.0.775/themes/resources/bg_gradient_login.png')
    repeat-x"/>        <noscript>   <div id="dvErr">    <table cellpadding="0" cellspacing="0">    <tr>     <td><img src="/owa/auth/15.0.775/themes/base/warn.png"
    alt=""></td>     <td style="width:100%">To use Outlook Web App, browser settings must allow scripts to run. For information about how to allow scripts, consult the Help for your browser. If your browser doesn&#39;t
    support scripts, you can download <a href="http://www.microsoft.com/windows/ie/downloads/default.mspx">Windows Internet Explorer</a> for access to Outlook Web App.</td>    </tr>    </table>  
    </div>  </noscript>    <form action...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ...="/owa/auth.owa" method="POST" name="logonForm" ENCTYPE="application/x-www-form-urlencoded" autocomplete="off">  <input type="hidden" name="destination" value="https://<Server>/owa/user02@<Domain>/wopi/files/@/owaatt?owaatt=LFMtMS01LTIxLTIwODU5NzU2NjItMTE4ODQ1NzE5Ny04MDY2Njg5MC0xMTI5VUtGxj%2bT0AgBAQEAQE1jdE5tSElqZjBHWWtXUTFtZi8yQ3htSGZxS3Izb1gwZGVFWVhjdklhbGwwc3F0dnJiQjBzZ0d2eXBDVCtaeEU%3d&amp;access_token=REDACTED_1086&amp;access_token_ttl=0">
     <input type="hidden" name="flags" value="4">  <input type="hidden" name="forcedownlevel" value="0">      <!-- Default to mouse class, so that things don't
    look wacky if the script somehow doesn't apply a class -->  <div id="mainLogonDiv" class="mouse">      <script>            var mainLogonDiv = window.document.getElementById("mainLogonDiv");
        ... b373a48e-9fca-445b-a7b2-2966f11b18de
    ...     mainLogonDiv.className = mainLogonDivClassName;      </script>      <div class="sidebar">          <div class="owaLogoContainer">      
           <img src="/owa/auth/15.0.775/themes/resources/olk_logo_white.png" class="owaLogo" aria-hidden="true" />              <img src="/owa/auth/15.0.775/themes/resources/olk_logo_white_small.png"
    class="owaLogoSmall" aria-hidden="true" />          </div>      </div>      <div class="logonContainer">   <div id="lgnDiv" class="logonDiv"
    onKeyPress="return checkSubmit(event)">                        <div class="signInImageHeader" role="heading" aria-label="Outlook Web App ">  
                   <img class="mouseHeader" src="/owa/auth/15.0.775/themes/resources/owa_text_blue.png" alt="Outlook Web App " />              </div>
                 <div class="signInInp...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ...utLabel" id="userNameLabel" aria-hidden="true">Domain\user name:</div>    <div><input id="username" name="username" class="signInInputText" role="textbox" aria-labelledby="userNameLabel"/></div>
       <div class="signInInputLabel" id="passwordLabel" aria-hidden="true">Password:</div>    <div><input id="password" onfocus="g_fFcs=0" name="password" value=""
    type="password" class="signInInputText" aria-labelledby="passwordLabel"/></div>          <div class="showPasswordCheck signInCheckBoxText">            
     <input type="checkbox" id="showPasswordCheck" class="chk" onclick="showPasswordClick()" />              <span>Show password</span>        
     </div>                <div class="signInError" role="alert" tabIndex="0">              </div>    <div id="expltxt"
    class="signInExpl" role="alert">     ...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ...    </div>    <div class="signInEnter">              <div onclick="clkLgn()" class="signinbutton" role="button" tabIndex="0" >  
                   <img class="imgLnk"                                                
    src="/owa/auth/15.0.775/themes/resources/Sign_in_arrow.png"                                         alt=""><span class="signinTxt">sign
    in</span>              </div>              <input name="isUtf8" value="1" type="hidden"/>    </div>        
     <div class="hidden-submit"><input type="submit" tabindex="-1"/></div>    </div>      </div>       <div id="cookieMsg" class="logonDiv"
    style="display:none">    <div class="signInHeader">Outlook Web App </div>    <div class="signInExpl">Please enable cookies for this Web site.<br><br>Cookies are
    currently disabled by your browser. Outlook Web...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ... App requires that cookies be enabled. <br><br>For information about how to enable cookies, see the Help for your Web browser.<br><br><br></div>    <div class="signInEnter" >      
        <div onclick="clkRtry()" style="cursor:pointer;display:inline">            <img class="imgLnk"              src="/owa/auth/15.0.775/themes/resources/Sign_in_arrow.png"
               alt=""><span class="signinTxt" tabIndex="0">retry</span>    </div>   </div>      </div>  </div>  </form>
     <script>      if (showPlaceholderText) {          setPlaceholderText();      }  </script>  </body>  </html>  ]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    FileUnknownException loading powerpointframe: Microsoft.Office.Web.Common.EnvironmentAdapters.FileUnknownException: WOPI Check File     at Microsoft.Office.Web.Apps.Common.WopiDocument.CheckWopiFile()     at Microsoft.Office.Web.Common.BaseDocumentCache.CheckBaseDocumentInternal(BaseDocument
    baseDoc, BaseUser user, Boolean requiresVersion, String canary, Boolean checkCanary, Boolean fUseCacheLookup)     at Microsoft.Office.Server.Powerpoint.Web.UI.PptWebControl.CheckFileInfo()
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ViewOpenEarlyHelper: no presentation Id, failing.
    b373a48e-9fca-445b-a7b2-2966f11b18de
    IsAuthenticated: False, IsAnonymous: False, AuthType:
    b373a48e-9fca-445b-a7b2-2966f11b18de
    Secure connection detected, redirecting service endpoint from ppt/view.svc/jsonAnonymous to ppt/view.https.svc/jsonAnonymous
    b373a48e-9fca-445b-a7b2-2966f11b18de
    WACServer HttpModule: EndRequest Called b373a48e-9fca-445b-a7b2-2966f11b18de
    Any suggestions ...

    Hi,
    Here is a similar thread for your reference:
    http://social.technet.microsoft.com/Forums/en-US/ded515c8-cc0f-4ad4-bed6-e56a0636be79/exchange-office-web-apps-preview-does-not-work-in-owa-web?forum=exchangesvrclients
    Hope it hleps you!
    Thanks.
    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.

  • Printing Word documents to PDF from Office Web Apps Server 2013 yields inaccessible PDF files

    I have Office Web Apps Server 2013 SP1 with March 2015 CU applied. The version shows up as "15.0.4569.1506" using Todd Klindt's
    method. When anonymous users view the Word documents online through the Office Web Apps, they have an option to print them to PDF. The PDF file that gets generated as a result isn't accessible
    (i.e. it isn't WCAG-compliant). using Adobe Acrobat Pro to check it I can see that it is missing tags, for example. The source Word document was made fully accessible from the point of view of Microsoft Office accessibility tools.
    When viewing the same document in Word Online in Office 365, I get an extra option  "Download as PDF". The PDF document produced is accessible. If I save a Word 2013 document as a PDF from within the Word editor, it also generates accessible
    PDF.
    I was wondering if the reason for the accessibility problem that I have misconfigured my on-premises Office Web Apps,  or perhaps the accessibility compliance isn't built in yet. If the latter is true, I was wondering if someone could indicate whether
    or not this is on the list of upcoming CUs.
    thanks in advance. 

    Just check my WAC install, no this is likely an Office online only feature, at least at this point in time.
    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.

  • 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

  • SharePoint 2013 Anonymous (public) site and Office Web Apps Server 2013 issue with download.aspx

    Our organization has a public facing anonymous site in SharePoint 2013 which allows access to documents (docx) in a library.  ViewFormsLockdown is activated as we present the documents via CQWP / custom template.  We are combating the usual
    issue of multiple login prompts when using Internet Explorer when a user accesses said document.  We also have tried  using the Word Viewer (view only mode) from Office Web Apps Server 2013 which works well, but ...
    the problem stems from the fact that users can go the file menu from the word view and choose to download the document (which is what we want),  unfortunately it looks like the link redirects via /_layouts/15/download.aspx which also presents a login
    prompt. Much has been written out there about doing direct links for documents via /_layouts/download.aspx to address multiple login prompts when the document is opening in word (from IE).
    I've tried nearly every combination of recommendations (disabling client integration, browser file handling (permissive/strict), ViewFormsLockdown feature, web.config modifications with options and propfind verbs and more) all to varying levels of success,
    but never totally getting rid of the prompt.  It has been stated that because the downloads.aspx inherits from Microsoft.SharePoint.ApplicationPages.Download this will not allow anonymous access.  We really want to use the word view from the Office
    web app and have the file download functionality work from the menu there ... can anyone suggest an alternate fix?  I might be wishing but will appreciate any guidance offered ...
    cheers,
    Dean
    some reference links (but not all) for various things we've tried:
    http://mohitvash.wordpress.com/2013/06/18/sharepoint-download-a-file-programatically/
    http://blog.sharedove.com/adisjugo/index.php/2012/09/29/open-sharepoint-files-in-edit-mode-from-client-applications-and-not-read-only/
    http://stackoverflow.com/questions/375390/office-documents-prompt-for-login-in-anonymous-sharepoint-site
    http://yalla.itgroove.net/tag/anonymous-access/
    Glifnard

    I'm glad to here that the problem has been fixed. Thank you for sharing your experience here, it will be helpful to other community members who have similar questions.
    Cheers,
    Steve Fan
    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.

Maybe you are looking for