error opening documents office web apps or creating new document

I have installed SharePoint 2013 with Office Web Apps 2013 using http.

Everything appears to be ok, but when I try to create a new document I get a an error: Microsoft ... Web App. Sorry, we ran into a problem. Please try again. However, the document is created.

When I try to open or preview an existing document I get an error: Microsoft ... Web App. Sorry, we couldn't open this ...

I only see one error on the WAC server. Error 8115

Could not contact WOPI End Point. Error details - 'Unauthorized url - http://sharepoint.mydomain.local/_vti_bin/wopi.ashx/files/c40fa192cb8b46d08a94af5a2259a263?access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkdZa2RBc0tZRmM1NTFTbW9TSWE1Nk13VDUxWSJ9%252EeyJhdWQiOiJ3b3BpL3NoYXJlcG9pbnQudGVuZHJpc3NvbHV0aW9ucy5sb2NhbEBjODI0ZjBiNi0zMDMwLTQ3NWMtYjY3My1mMGZmMWZlZWQ0NDAiLCJpc3MiOiIwMDAwMDAwMy0wMDAwLTBmZjEtY2UwMC0wMDAwMDAwMDAwMDBAYzgyNGYwYjYtMzAzMC00NzVjLWI2NzMtZjBmZjFmZWVkNDQwIiwibmJmIjoiMTM3NTA4Mjk4NiIsImV4cCI6IjEzNzUxMTE3ODYiLCJuYW1laWQiOiIwIy53fHRlbmRyaXNzb2x1dGlvblxcZi5tdWxkZXIiLCJuaWkiOiJtaWNyb3NvZnQuc2hhcmVwb2ludCIsImlzdXNlciI6InRydWUiLCJpc2xvb3BiYWNrIjoiVHJ1ZSIsImFwcGN0eCI6ImM0MGZhMTkyY2I4YjQ2ZDA4YTk0YWY1YTIyNTlhMjYzO2IyQUZmTGNKcXpMUFQvblk1RXkwN3pqdlJ2cz07RGVmYXVsdDs7N0ZGRkZGRkZGRkZGRkZGRiJ9%252EZg9uSpZ0OV6sl%252DqBKTUjJzwgZdrcjiP28Z%255FmmE4zcQm8K57QgQWktVyffC4tUtyhjDf9zoYhbMuHVaguzYWKxz6Luv83mrRmWsJIomqoUa9zN8Uexqlvt4U1IpJOfTpA774e4mbdPDD90agR33uZDQ2Je2c%255Fzu1UrL9EskqAp5niSFwvK838WLV%255FFlb8tL0cCuKNp8ZSeAxGmh4LVHI2T4ZyY0dEIoOMx1xRVXKu%255FdVl8cAlrxe4qcDRVfRwbeMUCDBWrepPaNDgEJfbAM1MhmKASqpAlsUlRv9XMTeDNtFRMfk49MicSYjBBdCa7bOYXxMa44O4UWoBvy%255FV0h3Few&access_token_ttl=1375111786325'.

Can somebody help me out?

Thanks. Frank.

July 29th, 2013 7:40am

Hi Frank,

Are you doing attempting to create a new document with a System Account?

Have you set the WOPI zone:

Open a powershell window and run the following PS commands:

Get-SPWopiZone 

The result should return one of thees results:

  1. Internal-https
  2. internal-http
  3. external-https
  4. internal-http

next run:

Get-SPWOPIBinding

if the results don't match you then need to run:

Set-SPWOPIZone zone ENTER YOUR CHOSEN ZONE HERE

for example to set it to internal-http enter it as:

Set-SPWOPIZone zone internal-http

let me know how you get on.

Neil

Free Windows Admin Tool Kit Click here and download it now
July 29th, 2013 9:05am

Dear Neil,

I try to create or open the document from my own account. I am an administrator on this SharePoint server, but definitely not a system account.

Get-SPWopiZone returns internal-http

Get-SPWOPIBinding returns internal-http for all applications.

Really don't understand!

Kind regards,

Frank

July 29th, 2013 9:14am

Hi Frank,

I ran in to a very similar issue that was caused by me being a server admin on the SharePoint server from what I can tell this can cause the same issue as operating under a system account. If you have a test user setup try to log in as that user and check if they get the same issue as you're getting from your own account.

If the test user is returning a positive result then your issues are being caused by your account being a server admin account. If however the test account is returning the same results as your account then there is something bigger afoot.

Neil

Free Windows Admin Tool Kit Click here and download it now
July 29th, 2013 9:31am

Hi Neil,

Just tried it and I get the exact same behaviour and also this 8115 error on the WAC server.

Could not contact WOPI End Point. Error details - 'Unauthorized url - http://sharepoint.mydomain.local/_vti_bin/wopi.ashx/files/1c34d019da8b4724abcd65cc5c29c1a5?access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkdZa2RBc0tZRmM1NTFTbW9TSWE1Nk13VDUxWSJ9%252EeyJhdWQiOiJ3b3BpL3NoYXJlcG9pbnQudGVuZHJpc3NvbHV0aW9ucy5sb2NhbEBjODI0ZjBiNi0zMDMwLTQ3NWMtYjY3My1mMGZmMWZlZWQ0NDAiLCJpc3MiOiIwMDAwMDAwMy0wMDAwLTBmZjEtY2UwMC0wMDAwMDAwMDAwMDBAYzgyNGYwYjYtMzAzMC00NzVjLWI2NzMtZjBmZjFmZWVkNDQwIiwibmJmIjoiMTM3NTA5MDg1MyIsImV4cCI6IjEzNzUxMTk2NTMiLCJuYW1laWQiOiIwIy53fHRlbmRyaXNzb2x1dGlvblxcdC5uZWViIiwibmlpIjoibWljcm9zb2Z0LnNoYXJlcG9pbnQiLCJpc3VzZXIiOiJ0cnVlIiwiaXNsb29wYmFjayI6IlRydWUiLCJhcHBjdHgiOiIxYzM0ZDAxOWRhOGI0NzI0YWJjZDY1Y2M1YzI5YzFhNTtiMkFGZkxjSnF6TFBUL25ZNUV5MDd6anZSdnM9O0RlZmF1bHQ7OzFCMDNDNDMxQUVGIn0%252EO%255FkAhwZWS2%255FAGmnYsh44kF0ne0BCLJ0biUbaz0r5vPr6yCbVlHIuOILlXL1vCopTC0%255FcE3hnc2Di%255FSr2Im%252DhBdOEPWKSdAUpJWuDW2AW3UlF8ZhLtu1uExWEQIb7VMwVn%252DFUx6d8mJD9U%255F9zJybsf%255FdLrTR%255FGR6waXx3ukZw3BlhGm3R0OoAusbMygrWX%255F%252D695EIKFyCys%255FLtQ3HgeRT8tGnci1LHZnoYBzgsCkooTTDPeDbLSqpGSFlQQuLAUORWehwTNvIP6tPNytmr8zEjw6iUlmRA3UwyfjIlqScRAw74YHhouFhyjPVMK2w7gqOhDErjU5m7LOawHuJXmu3ug&access_token_ttl=1375119653627'.

Frank

July 29th, 2013 9:43am

Hi Frank!

Some questions:

  • The protocol to use is http? Not https?
  • Is that URL correct?
  • Are you using TMG?

Regards,

Vitor

Free Windows Admin Tool Kit Click here and download it now
July 29th, 2013 10:43am

Hi Vitor,

Yes, protocol is http (I want to do some internal testing).

When I click on that URL I get a username and password dialog window.

No, I am not using TMG. Both machines are in the same domain and can be addressed directly.

Kind regards,

Frank 

July 29th, 2013 10:48am

Hi,

Try to browse the internal address: http://servername/hosting/discovery, replace servername with the name of your server.

The result sholud be an xml file like this;

<?xml version="1.0" encoding="utf-8" ?>
- <wopi-discovery>
- <net-zone name="internal-http">
- <app name="Excel" favIconUrl="http://servername/x/_layouts/images/FavIcon_Excel.ico" checkLicense="true">
<action name="view" ext="ods" default="true" urlsrc="http://servername/x/_layouts/xlviewerinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&>" />
<action name="view" ext="xls" default="true" urlsrc="http://servername/x/_layouts/xlviewerinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&>" />
<action name="view" ext="xlsb" default="true" urlsrc="http://servername/x/_layouts/xlviewerinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&>" />
<action name="view" ext="xlsm" default="true" urlsrc="http://servername/x/_layouts/xlviewerinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&>" />

If it works then the server setup has succeded!

Have you also run this Powershell command?:

(Get-SPSecurityTokenServiceConfig).AllowOAuthOverHttp

Follow this guide for setup!

http://technet.microsoft.com/en-us/library/jj219455.aspx#scenario1

and this guide to configure SharePoint 2013 to use your WAC-farm:

http://technet.microsoft.com/en-us/library/ff431687.aspx

Free Windows Admin Tool Kit Click here and download it now
July 29th, 2013 11:12am

Hi Henrik,

Yes, when I type in http://webapps.mydomain.local/hosting/discovery I get this XML file. Looks identical to yours.

Also ran (Get-SPSecurityTokenServiceConfig).AllowOAuthOverHttp and it came back with TRUE.

I did follow the Technet guides to set up the SharePoint and the Office Web Apps servers. Searched a lot of forums to see if anyone has the same problem, but cannot find anything on this particular error.

Kind regards,

Frank

July 29th, 2013 11:22am

Hi Frank,

Are you using a TMG in your solution? If so maybe the TMG is stopping the redirection of your request. Add an entry in your hosts file of your WAC server that Point the URL directly to your SharePoint server.

Free Windows Admin Tool Kit Click here and download it now
July 29th, 2013 12:10pm

Hi Henrik,

No, not using TMG. Servers and clients are in the same range.

Still no luck.

But the error on the WAC is "unauthorized url". That means it can communicate with the SharePoint server.

Regards,

Frank


  • Edited by Pacco Robin Monday, July 29, 2013 12:25 PM added info
July 29th, 2013 12:24pm

Hi again Frank,

Does it work when you test it from SharePoint server? Can your clients communicate with WAC server on port 80, 443? Is port 808, and 809 open between SharePoint and WAC servers? If you run IIS8 you also need to enable this feature:

HTTP Activation for .NET Framework 4.5 WCF Services

Free Windows Admin Tool Kit Click here and download it now
July 30th, 2013 7:02am

Hi Henrik,

Yes, I can telnet port 80 and 443 from the client. Both servers have the firewall completely disabled (it's for testing only at this stage) and servers have port 808 and 809 open. We run both servers on Windows 2008 R2 so we use IIS7.

Funny thing, when I look at the error on the WAC and put this url in the browser I have to supply the WAC with valid credentials. When I supply Administrator as user I get this error.

Sorry, something went wrong
Object reference not set to an instance of an object.
Technical Details
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: 200a349c-dd1f-0044-6a70-5fc6f03c14d6
Date and Time: 7/30/2013 9:22:45 AM  

Regards,

Frank

July 30th, 2013 7:29am

Can you find the correlation ID in ULS logs and see what is going on?
Free Windows Admin Tool Kit Click here and download it now
July 30th, 2013 5:21pm

Is your domain allowed (if you have that setting defined):  Get-OfficeWebAppsHost

http://technet.microsoft.com/en-us/library/jj219459.aspx

July 31st, 2013 2:12am

Hi Henrik,

Did this. From the client tried to preview an existing Word document. Again I got the error. Looked up the ULS log for that particular moment.

Please see below the result of the log at that time.

Regards,

Frank

07/31/2013 09:19:39.01 	w3wp.exe (0x19C4)                       	0x1108	SharePoint Foundation         	Database                      	ahjqp	High    	[Forced due to logging gap, cached @ 07/31/2013 09:19:38.96, Original Level: Verbose] SQL connection time: 0.0734730252029238	585c349c-ad68-0044-6a70-50f379362daf
07/31/2013 09:19:39.01 	w3wp.exe (0x19C4)                       	0x1108	SharePoint Foundation         	Database                      	8acb	High    	[Forced due to logging gap, Original Level: VerboseEx] Reverting to process identity	585c349c-ad68-0044-6a70-50f379362daf
07/31/2013 09:19:39.01 	w3wp.exe (0x19C4)                       	0x1108	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:119444a4-5ade-44a2-bb71-243d755a71e0'	585c349c-ad68-0044-6a70-50f379362daf
07/31/2013 09:19:39.04 	w3wp.exe (0x1A28)                       	0x1570	SharePoint Foundation         	Monitoring                    	nasq	Medium  	Entering monitored scope (ExecuteWcfServerOperation). Parent No	 
07/31/2013 09:19:39.04 	w3wp.exe (0x1A28)                       	0x1570	SharePoint Foundation         	Topology                      	e5mb	Medium  	WcfReceiveRequest: LocalAddress: 'net.pipe://sharepoint.mydomain.local/SecurityTokenServiceApplication/appsts.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://schemas.microsoft.com/sharepoint/2011/05/securitytokenservice/IApplicationSecurityTokenServiceContract/Issue' MessageId: 'urn:uuid:119444a4-5ade-44a2-bb71-243d755a71e0'	585c349c-ad68-0044-6a70-50f379362daf
07/31/2013 09:19:39.06 	w3wp.exe (0x1A28)                       	0x1570	SharePoint Foundation         	Monitoring                    	b4ly	Medium  	Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=7.76327717628917	585c349c-ad68-0044-6a70-50f379362daf
07/31/2013 09:19:39.06 	w3wp.exe (0x19C4)                       	0x1108	SharePoint Foundation         	Application Authentication    	aiv3e	High    	Self-issued token request for 'wopi/sharepoint.mydomain.local@c824f0b6-3030-475c-b673-f0ff1feed440' succeeded.	585c349c-ad68-0044-6a70-50f379362daf
07/31/2013 09:19:39.12 	w3wp.exe (0x19C4)                       	0x1FD8	SharePoint Foundation         	Database                      	ahjqp	High    	[Forced due to logging gap, cached @ 07/31/2013 09:19:38.98, Original Level: Verbose] SQL connection time: 0.0709587391693637	585c349c-fd5b-0044-6a70-507059bed6c2
07/31/2013 09:19:39.12 	w3wp.exe (0x19C4)                       	0x1FD8	SharePoint Foundation         	Monitoring                    	b4ly	High    	Leaving Monitored Scope (EnsureListItemsData). Execution Time=153.4379369445	585c349c-fd5b-0044-6a70-507059bed6c2
07/31/2013 09:19:39.15 	w3wp.exe (0x19C4)                       	0x1108	SharePoint Foundation         	Database                      	ahjqp	High    	[Forced due to logging gap, cached @ 07/31/2013 09:19:39.06, Original Level: Verbose] SQL connection time: 0.0662095322170835	585c349c-ad68-0044-6a70-50f379362daf
07/31/2013 09:19:39.15 	w3wp.exe (0x19C4)                       	0x1108	SharePoint Foundation         	Monitoring                    	b4ly	High    	Leaving Monitored Scope (EnsureListItemsData). Execution Time=101.429650975194	585c349c-ad68-0044-6a70-50f379362daf
07/31/2013 09:19:39.18 	w3wp.exe (0x19C4)                       	0x1FD8	SharePoint Foundation         	Database                      	ahjqp	High    	[Forced due to logging gap, cached @ 07/31/2013 09:19:39.15, Original Level: Verbose] SQL connection time: 0.0659301671022434	585c349c-fd5b-0044-6a70-507059bed6c2
07/31/2013 09:19:39.18 	w3wp.exe (0x19C4)                       	0x1FD8	SharePoint Foundation         	General                       	g3ql	High    	[Forced due to logging gap, Original Level: Verbose] GetUriScheme(/Shared Documents/TEST DOCUMENT.docx)	585c349c-fd5b-0044-6a70-507059bed6c2
07/31/2013 09:19:39.20 	w3wp.exe (0x19C4)                       	0x1108	SharePoint Foundation         	Monitoring                    	b4ly	Medium  	Leaving Monitored Scope (Request (GET:http://sharepoint.mydomain.local:80/_layouts/15/WopiFrame.aspx?sourcedoc=%2FShared%20Documents%2FTEST%20DOCUMENT%2Edocx&action=interactivepreview&wdSmallView=1)). Execution Time=331.520346859727	585c349c-ad68-0044-6a70-50f379362daf
07/31/2013 09:19:39.23 	w3wp.exe (0x19C4)                       	0x1FD8	SharePoint Foundation         	Monitoring                    	b4ly	High    	Leaving Monitored Scope (Microsoft.SharePoint.SPObjectSharingInformation.GetListItemSharingInformation). Execution Time=313.289258830382	585c349c-fd5b-0044-6a70-507059bed6c2
07/31/2013 09:19:39.24 	w3wp.exe (0x19C4)                       	0x0D04	SharePoint Foundation         	Monitoring                    	b4ly	Medium  	Leaving Monitored Scope (Request (POST:http://sharepoint.mydomain.local:80/_vti_bin/client.svc/ProcessQuery)). Execution Time=557.430343800679	585c349c-fd5b-0044-6a70-507059bed6c2
07/31/2013 09:19:39.32 	w3wp.exe (0x19C4)                       	0x129C	SharePoint Foundation         	Monitoring                    	nasq	Medium  	Entering monitored scope (Request (GET:http://sharepoint.mydomain.local:80/_vti_bin/wopi.ashx/files/f13c7a26721a46f0bd03fb67f6d4b0fc?access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkdZa2RBc0tZRmM1NTFTbW9TSWE1Nk13VDUxWSJ9%252EeyJhdWQiOiJ3b3BpL3NoYXJlcG9pbnQudGVuZHJpc3NvbHV0aW9ucy5sb2NhbEBjODI0ZjBiNi0zMDMwLTQ3NWMtYjY3My1mMGZmMWZlZWQ0NDAiLCJpc3MiOiIwMDAwMDAwMy0wMDAwLTBmZjEtY2UwMC0wMDAwMDAwMDAwMDBAYzgyNGYwYjYtMzAzMC00NzVjLWI2NzMtZjBmZjFmZWVkNDQwIiwibmJmIjoiMTM3NTI1NTE3OSIsImV4cCI6IjEzNzUyODM5NzkiLCJuYW1laWQiOiIwIy53fHRlbmRyaXNzb2x1dGlvblxcZi5tdWxkZXIiLCJuaWkiOiJtaWNyb3NvZnQuc2hhcmVwb2ludCIsImlzdXNlciI6InRydWUiLCJpc2xvb3BiYWNrIjoiVHJ1ZSIsImFwcGN0eCI6ImYxM2M3YTI2NzIxYTQ2ZjBiZDAzZmI2N2Y2ZDRiMGZjO2IyQUZmTGNKcXpMUFQvblk1RXkwN3pqdlJ2cz07RGVmYXVsdDs7N0ZGRkZGRkZGRkZGRkZGRiJ9%252En6l4...	 
07/31/2013 09:19:39.32*	w3wp.exe (0x19C4)                       	0x129C	SharePoint Foundation         	Monitoring                    	nasq	Medium  	...uNWiWQ4QDw96lCQXDilzh8SNR2Mk273a5Mbv0XF%252DkrSLzU3g1K3Kym775qSgdeaDu6WBhSdE784mxDkdrDngarPV2s03Ag0BYBdaBR%255FGg99jnEcbzpMR%255Fah1yOAHrlI5wGRLM1xZEkSkkVle0laLXAdwpkkDMz2ktPsvcMSqo4HGlL09ZpoB2H%252DjVBF%252DHx1hVz9adtIJdanDgMPjZNm7vUAm2uu4smONjYm981naviSCqpEVFw7Y0GSnF4eSV7Avsbia1CAYI%252DR8J0hYIJjc7JdBrk3p9Z%255FQdp0icelRLD1ZU1sujmsKuDbCCI8Wi%255F29MbO2a7%252Dvqp5sUyDA0g&access_token_ttl=1375283979046)). Parent No	 
07/31/2013 09:19:39.32 	w3wp.exe (0x19C4)                       	0x129C	SharePoint Foundation         	Logging Correlation Data      	xmnv	Medium  	Name=Request (GET:http://sharepoint.mydomain.local:80/_vti_bin/wopi.ashx/files/f13c7a26721a46f0bd03fb67f6d4b0fc?access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkdZa2RBc0tZRmM1NTFTbW9TSWE1Nk13VDUxWSJ9%252EeyJhdWQiOiJ3b3BpL3NoYXJlcG9pbnQudGVuZHJpc3NvbHV0aW9ucy5sb2NhbEBjODI0ZjBiNi0zMDMwLTQ3NWMtYjY3My1mMGZmMWZlZWQ0NDAiLCJpc3MiOiIwMDAwMDAwMy0wMDAwLTBmZjEtY2UwMC0wMDAwMDAwMDAwMDBAYzgyNGYwYjYtMzAzMC00NzVjLWI2NzMtZjBmZjFmZWVkNDQwIiwibmJmIjoiMTM3NTI1NTE3OSIsImV4cCI6IjEzNzUyODM5NzkiLCJuYW1laWQiOiIwIy53fHRlbmRyaXNzb2x1dGlvblxcZi5tdWxkZXIiLCJuaWkiOiJtaWNyb3NvZnQuc2hhcmVwb2ludCIsImlzdXNlciI6InRydWUiLCJpc2xvb3BiYWNrIjoiVHJ1ZSIsImFwcGN0eCI6ImYxM2M3YTI2NzIxYTQ2ZjBiZDAzZmI2N2Y2ZDRiMGZjO2IyQUZmTGNKcXpMUFQvblk1RXkwN3pqdlJ2cz07RGVmYXVsdDs7N0ZGRkZGRkZGRkZGRkZGRiJ9%252En6l4uNWiWQ4QDw96lCQXDilzh	585c349c-0d84-0044-6a70-54627881dac8
07/31/2013 09:19:39.32 	w3wp.exe (0x19C4)                       	0x129C	SharePoint Foundation         	Monitoring                    	nasq	Medium  	Entering monitored scope (Application Authentication Pipeline). Parent Request (GET:http://sharepoint.mydomain.local:80/_vti_bin/wopi.ashx/files/f13c7a26721a46f0bd03fb67f6d4b0fc?access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkdZa2RBc0tZRmM1NTFTbW9TSWE1Nk13VDUxWSJ9%252EeyJhdWQiOiJ3b3BpL3NoYXJlcG9pbnQudGVuZHJpc3NvbHV0aW9ucy5sb2NhbEBjODI0ZjBiNi0zMDMwLTQ3NWMtYjY3My1mMGZmMWZlZWQ0NDAiLCJpc3MiOiIwMDAwMDAwMy0wMDAwLTBmZjEtY2UwMC0wMDAwMDAwMDAwMDBAYzgyNGYwYjYtMzAzMC00NzVjLWI2NzMtZjBmZjFmZWVkNDQwIiwibmJmIjoiMTM3NTI1NTE3OSIsImV4cCI6IjEzNzUyODM5NzkiLCJuYW1laWQiOiIwIy53fHRlbmRyaXNzb2x1dGlvblxcZi5tdWxkZXIiLCJuaWkiOiJtaWNyb3NvZnQuc2hhcmVwb2ludCIsImlzdXNlciI6InRydWUiLCJpc2xvb3BiYWNrIjoiVHJ1ZSIsImFwcGN0eCI6ImYxM2M3YTI2NzIxYTQ2ZjBiZDAzZmI2N2Y2ZDRiMGZjO2IyQUZmTGNKcXpMUFQvblk1RXkwN3pqdlJ2cz07...	585c349c-0d84-0044-6a70-54627881dac8
07/31/2013 09:19:39.32*	w3wp.exe (0x19C4)                       	0x129C	SharePoint Foundation         	Monitoring                    	nasq	Medium  	...RGVmYXVsdDs7N0ZGRkZGRkZGRkZGRkZGRiJ9%252En6l4uNWiWQ4QDw96lCQXDilzh8SNR2Mk273a5Mbv0XF%252DkrSLzU3g1K3Kym775qSgdeaDu6WBhSdE784mxDkdrDngarPV2s03Ag0BYBdaBR%255FGg99jnEcbzpMR%255Fah1yOAHrlI5wGRLM1xZEkSkkVle0laLXAdwpkkDMz2ktPsvcMSqo4HGlL09ZpoB2H%252DjVBF%252DHx1hVz9adtIJdanDgMPjZNm7vUAm2uu4smONjYm981naviSCqpEVFw7Y0GSnF4eSV7Avsbia1CAYI%252DR8J0hYIJjc7JdBrk3p9Z%255FQdp0icelRLD1ZU1sujmsKuDbCCI8Wi%255F29MbO2a7%252Dvqp5sUyDA0g&access_token_ttl=1375283979046)	585c349c-0d84-0044-6a70-54627881dac8
07/31/2013 09:19:39.32 	w3wp.exe (0x19C4)                       	0x129C	SharePoint Foundation         	Application Authentication    	ajez0	High    	SPApplicationAuthenticationModule: Invalid token or signature. Exception: System.IdentityModel.Tokens.SecurityTokenException: Unsupported security token.     at Microsoft.IdentityModel.S2S.Tokens.JsonWebSecurityTokenHandler.ReadTokenCore(String token, Boolean isActorToken)     at Microsoft.SharePoint.IdentityModel.SPApplicationAuthenticationModule.TryExtractAndValidateToken(HttpContext httpContext, SPIncomingTokenContext& tokenContext)	585c349c-0d84-0044-6a70-54627881dac8
07/31/2013 09:19:39.32 	w3wp.exe (0x19C4)                       	0x129C	SharePoint Foundation         	Monitoring                    	b4ly	Medium  	Leaving Monitored Scope (Application Authentication Pipeline). Execution Time=0.647847701313994	585c349c-0d84-0044-6a70-54627881dac8
07/31/2013 09:19:39.32 	w3wp.exe (0x19C4)                       	0x129C	SharePoint Foundation         	Application Authentication    	ajezq	High    	SPApplicationAuthenticationModule: Error authenticating request, Error details { Header: {0}, Body: {1} }.  Available parameters: 3000006;reason="Token contains invalid signature.";category="invalid_client" {"error_description":"Unsupported security token."} .	585c349c-0d84-0044-6a70-54627881dac8
07/31/2013 09:19:39.32 	w3wp.exe (0x19C4)                       	0x129C	SharePoint Foundation         	General                       	8nca	Medium  	Application error when access /_vti_bin/wopi.ashx, Error=Unsupported security token.   at Microsoft.IdentityModel.S2S.Tokens.JsonWebSecurityTokenHandler.ReadTokenCore(String token, Boolean isActorToken)     at Microsoft.SharePoint.IdentityModel.SPApplicationAuthenticationModule.TryExtractAndValidateToken(HttpContext httpContext, SPIncomingTokenContext& tokenContext)	585c349c-0d84-0044-6a70-54627881dac8
07/31/2013 09:19:39.32 	w3wp.exe (0x19C4)                       	0x129C	SharePoint Foundation         	Monitoring                    	b4ly	Medium  	Leaving Monitored Scope (Request (GET:http://sharepoint.mydomain.local:80/_vti_bin/wopi.ashx/files/f13c7a26721a46f0bd03fb67f6d4b0fc?access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkdZa2RBc0tZRmM1NTFTbW9TSWE1Nk13VDUxWSJ9%252EeyJhdWQiOiJ3b3BpL3NoYXJlcG9pbnQudGVuZHJpc3NvbHV0aW9ucy5sb2NhbEBjODI0ZjBiNi0zMDMwLTQ3NWMtYjY3My1mMGZmMWZlZWQ0NDAiLCJpc3MiOiIwMDAwMDAwMy0wMDAwLTBmZjEtY2UwMC0wMDAwMDAwMDAwMDBAYzgyNGYwYjYtMzAzMC00NzVjLWI2NzMtZjBmZjFmZWVkNDQwIiwibmJmIjoiMTM3NTI1NTE3OSIsImV4cCI6IjEzNzUyODM5NzkiLCJuYW1laWQiOiIwIy53fHRlbmRyaXNzb2x1dGlvblxcZi5tdWxkZXIiLCJuaWkiOiJtaWNyb3NvZnQuc2hhcmVwb2ludCIsImlzdXNlciI6InRydWUiLCJpc2xvb3BiYWNrIjoiVHJ1ZSIsImFwcGN0eCI6ImYxM2M3YTI2NzIxYTQ2ZjBiZDAzZmI2N2Y2ZDRiMGZjO2IyQUZmTGNKcXpMUFQvblk1RXkwN3pqdlJ2cz07RGVmYXVsdDs7N0ZGRkZGRkZGRkZGRkZGRiJ9%252En6l4u...	585c349c-0d84-0044-6a70-54627881dac8
07/31/2013 09:19:39.32*	w3wp.exe (0x19C4)                       	0x129C	SharePoint Foundation         	Monitoring                    	b4ly	Medium  	...NWiWQ4QDw96lCQXDilzh8SNR2Mk273a5Mbv0XF%252DkrSLzU3g1K3Kym775qSgdeaDu6WBhSdE784mxDkdrDngarPV2s03Ag0BYBdaBR%255FGg99jnEcbzpMR%255Fah1yOAHrlI5wGRLM1xZEkSkkVle0laLXAdwpkkDMz2ktPsvcMSqo4HGlL09ZpoB2H%252DjVBF%252DHx1hVz9adtIJdanDgMPjZNm7vUAm2uu4smONjYm981naviSCqpEVFw7Y0GSnF4eSV7Avsbia1CAYI%252DR8J0hYIJjc7JdBrk3p9Z%255FQdp0icelRLD1ZU1sujmsKuDbCCI8Wi%255F29MbO2a7%252Dvqp5sUyDA0g&access_token_ttl=1375283979046)). Execution Time=6.40668017862605	585c349c-0d84-0044-6a70-54627881dac8

Free Windows Admin Tool Kit Click here and download it now
July 31st, 2013 7:29am

Hi Ryan,

I did not even use an allowed domain list as we are testing internally.

Checked Get-OfficeWebAppsHost and the list is empty.

Regards,

Frank

July 31st, 2013 7:32am

Try restarting your Security Token Service Application Pool.

http://technet.microsoft.com/en-us/library/hh564135.aspx

Free Windows Admin Tool Kit Click here and download it now
August 22nd, 2013 7:31am

Hi Henrik,

Tried that, no luck. Problem still exists. Even tried a lot of things.

I am about to throw out the machines and start from scratch. Although that would be a pitty. Already spent a lot of hours on this configuration.

Regards,

Frank

August 22nd, 2013 9:23am

So pitty. Check SQL error logs and see if it's a permission issue!
Free Windows Admin Tool Kit Click here and download it now
August 23rd, 2013 1:01pm

           

Dear All,

I have configure office web apps server in the test environment using http but i am opening any document i have received the following error please check below image and help me please

 

January 20th, 2014 5:48am

I made it work in one time, but after reboot and update, I run into the same problem.

Free Windows Admin Tool Kit Click here and download it now
April 2nd, 2014 3:37am

Hello Frank! Have you got any luck with that?

Benjh, how did you make it work?


April 24th, 2014 1:34pm

I have similar problem. If I create document in word and then save it to library, then I can edit it normally. But errors appears when I create document right in sharepoint. Have you tried?
Free Windows Admin Tool Kit Click here and download it now
April 24th, 2014 3:15pm

Same Exact problem!  I have done everything correctly, and jumped through all the configuration hoops still get an error! 

I know OWA with SP1 has issues - Did not install that version and installed all the updates on the server. 
Joined to the domain perfect. 
hosting/discovery XML page - perfect

Everything looks perfect but will not open or edit document, will create it. 

Set the WOPI zone also set OAuth  All bindings are correct. 
Not the service account - Have all features needed enabled on s

March 27th, 2015 12:14pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics