简体   繁体   English

Office Online服务器错误-禁止HTTP请求

[英]Office Online Server Error - HTTP Request Forbidden

I am attempting to set up PowerPivot in my SharePoint Server 2016 environment. 我正在尝试在SharePoint Server 2016环境中设置PowerPivot。 I get to the point of running New-OfficeWebAppsExcelBIServer and receive an error saying that the HTTP request was forbidden. 我到达运行New-OfficeWebAppsExcelBIServer的地步,并收到一条错误消息,指出HTTP请求被禁止。 I run other commands on OOS like Get-OfficeWebAppsHost and receive the same issue. 我在OOS(如Get-OfficeWebAppsHost)上运行其他命令,并收到相同的问题。 There are two errors in the logs below. 以下日志中有两个错误。 Any ideas? 有任何想法吗? Thanks! 谢谢!

> System.ServiceModel.Security.MessageSecurityException: The HTTP
> request was forbidden with client authentication scheme 'Negotiate'.
> ---> System.Net.WebException: The remote server returned an error: (403) Forbidden.    at System.Net.HttpWebRequest.GetResponse()    at
> System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan
> timeout)    --- End of inner exception stack trace ---
> 
> Server stack trace:     at
> System.ServiceModel.Channels.HttpChannelUtilities.ValidateAuthentication(HttpWebRequest
> request, HttpWebResponse response, WebException responseException,
> HttpChannelFactory`1 factory)    at
> System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest
> request, HttpWebResponse response, HttpChannelFactory`1 factory,
> WebException responseException, ChannelBinding channelBinding)    at
> System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan
> timeout)    at
> System.ServiceModel.Channels.RequestChannel.Request(Message message,
> TimeSpan timeout)    at
> System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message
> message, TimeSpan timeout)    at
> System.ServiceModel.Channels.ServiceChannel.Call(String action,
> Boolean oneway, ProxyOperationRuntime operation, Object[] ins,
> Object[] outs, TimeSpan timeout)    at
> System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage
> methodCall, ProxyOperationRuntime operation)    at
> System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage
> message)
> 
> Exception rethrown at [0]:     at
> System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
> reqMsg, IMessage retMsg)    at
> System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
> msgData, Int32 type)    at
> Microsoft.Office.Web.Apps.Environment.WacServer.IFarmStateManagerService.GetBiServerAllowList(DateTime
> lastGetTime, Guid correlationId)    at
> Microsoft.Office.Web.Apps.Environment.WacServer.RemoteFarmAllowList.Refresh()
> at
> Microsoft.Office.Web.Apps.Administration.RemoteFarmAllowListWrapper.Refresh()
> at
> Microsoft.Office.Web.Apps.Environment.WacServer.ACacheableFarmStateObject.Sync(Boolean
> force)    at
> Microsoft.Office.Web.Apps.Environment.WacServer.AFarmAllowList.Contains(String
> endpoint)    at
> Microsoft.Office.Web.Apps.Administration.NewExcelBIServerCommand.ProcessRecordCore()
> at
> Microsoft.Office.Web.Apps.Administration.AOfficeWebAppsCommand.ProcessRecord()
> 
> Details tab:
> 
> System.ServiceModel.Security.MessageSecurityException: The HTTP
> request was forbidden with client authentication scheme 'Negotiate'.
> ---> System.Net.WebException: The remote server returned an error: (403) Forbidden. at System.Net.HttpWebRequest.GetResponse() at
> System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan
> timeout) --- End of inner exception stack trace --- Server stack
> trace: at
> System.ServiceModel.Channels.HttpChannelUtilities.ValidateAuthentication(HttpWebRequest
> request, HttpWebResponse response, WebException responseException,
> HttpChannelFactory`1 factory) at
> System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest
> request, HttpWebResponse response, HttpChannelFactory`1 factory,
> WebException responseException, ChannelBinding channelBinding) at
> System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan
> timeout) at
> System.ServiceModel.Channels.RequestChannel.Request(Message message,
> TimeSpan timeout) at
> System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message
> message, TimeSpan timeout) at
> System.ServiceModel.Channels.ServiceChannel.Call(String action,
> Boolean oneway, ProxyOperationRuntime operation, Object[] ins,
> Object[] outs, TimeSpan timeout) at
> System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage
> methodCall, ProxyOperationRuntime operation) at
> System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage
> message) Exception rethrown at [0]: at
> System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
> reqMsg, IMessage retMsg) at
> System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
> msgData, Int32 type) at
> Microsoft.Office.Web.Apps.Environment.WacServer.IFarmStateManagerService.GetBiServerAllowList(DateTime
> lastGetTime, Guid correlationId) at
> Microsoft.Office.Web.Apps.Environment.WacServer.RemoteFarmAllowList.Refresh()
> at
> Microsoft.Office.Web.Apps.Administration.RemoteFarmAllowListWrapper.Refresh()
> at
> Microsoft.Office.Web.Apps.Environment.WacServer.ACacheableFarmStateObject.Sync(Boolean
> force) at
> Microsoft.Office.Web.Apps.Environment.WacServer.AFarmAllowList.Contains(String
> endpoint) at
> Microsoft.Office.Web.Apps.Administration.NewExcelBIServerCommand.ProcessRecordCore()
> at
> Microsoft.Office.Web.Apps.Administration.AOfficeWebAppsCommand.ProcessRecord()

Second error:

> Error when trying to connect to Farm State Manager service:
> System.ServiceModel.Security.MessageSecurityException: The HTTP
> request was forbidden with client authentication scheme 'Negotiate'.
> ---> System.Net.WebException: The remote server returned an error: (403) Forbidden. at System.Net.HttpWebRequest.GetResponse() at
> System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan
> timeout) --- End of inner exception stack trace --- Server stack
> trace: at
> System.ServiceModel.Channels.HttpChannelUtilities.ValidateAuthentication(HttpWebRequest
> request, HttpWebResponse response, WebException responseException,
> HttpChannelFactory`1 factory) at
> System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest
> request, HttpWebResponse response, HttpChannelFactory`1 factory,
> WebException responseException, ChannelBinding channelBinding) at
> System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan
> timeout) at
> System.ServiceModel.Channels.RequestChannel.Request(Message message,
> TimeSpan timeout) at
> System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message
> message, TimeSpan timeout) at
> System.ServiceModel.Channels.ServiceChannel.Call(String action,
> Boolean oneway, ProxyOperationRuntime operation, Object[] ins,
> Object[] outs, TimeSpan timeout) at
> System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage
> methodCall, ProxyOperationRuntime operation) at
> System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage
> message) Exception rethrown at [0]: at
> System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
> reqMsg, IMessage retMsg) at
> System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
> msgData, Int32 type) at
> Microsoft.Office.Web.Apps.Environment.WacServer.IFarmStateManagerService.GetAllSettings(DateTime
> lastGetTime, Guid correlationId) at
> Microsoft.Office.Web.Apps.Environment.WacServer.RemoteFarmSettings.Refresh()
> at
> Microsoft.Office.Web.Apps.Environment.WacServer.ACacheableFarmStateObject.Sync(Boolean
> force) at
> Microsoft.Office.Web.Apps.Environment.WacServer.AFarmSettings.get_MasterMachineName()
> at
> Microsoft.Office.Web.Apps.Environment.WacServer.RemoteFarmState.get_IsMaster()
> at Microsoft.Office.Web.WacServer.FarmStateReplicator.Replicate()


The ULS log:

> 12/07/2018 15:42:19.09    PowerShell_ISE.exe (0x296C)            
>   0x27DC  Office Online                   PowerShell Cmdlets           
>   ai18g   Medium      Beginning execution of the
> Get-OfficeWebAppsExcelBIServer cmdlet. Parameters:
>   148aa0af-4451-4a07-9793-434d2c9bd4cd 12/07/2018 15:42:19.10
>   PowerShell_ISE.exe (0x296C)                 0x27DC  Services
> Infrastructure        Office Service Finder           adshj   Medium 
>   ReadAllAgentProperties: [C:\Program Files\Microsoft Office Web
> Apps\AgentManager\AgentProperties.xml]    148aa0af-4451-4a07-9793-434d2c9bd4cd
> 12/07/2018 15:42:19.10    PowerShell_ISE.exe (0x296C)            
>   0x27DC  Office Online                   Office Viewing Architecture  
>   ai6rl   Medium      BindingManager.OpenChannel: FarmStateManager
> UREDACTED_(kjZMBVmjgNtgh9z7SPMD5RmEj97y4UQNShcRwCvSuik=)  148aa0af-4451-4a07-9793-434d2c9bd4cd
> 12/07/2018 15:42:19.10    PowerShell_ISE.exe (0x296C)            
>   0x27DC  Office Online                   Office Viewing Architecture  
>   awbfz   Medium      BindingManager.GetBindingForInstance:
> FarmStateManager  148aa0af-4451-4a07-9793-434d2c9bd4cd 12/07/2018
> 15:42:19.10   PowerShell_ISE.exe (0x296C)                 0x27DC  Office
> Online                    Office Viewing Architecture     awbf0   Medium 
>   BindingManager.OpenChannel About to
> CreateChannel 148aa0af-4451-4a07-9793-434d2c9bd4cd 12/07/2018
> 15:42:19.10   PowerShell_ISE.exe (0x296C)                 0x27DC  Office
> Online                    Office Viewing Architecture     awbf1   Medium 
>   BindingManager.OpenChannel Time to open channel [time: 1.556ms, uri:
> UREDACTED_(kjZMBVmjgNtgh9z7SPMD5RmEj97y4UQNShcRwCvSuik=)] 148aa0af-4451-4a07-9793-434d2c9bd4cd
> 12/07/2018 15:42:19.32    w3wp.exe (0x2ADC)                      
>   0x3408  ULS Logging                     Logging Correlation Data     
>   xmnv    Medium      Name=Task: Memory
> Manager.PerformCleanup    53fed7f1-03f1-0002-9888-cd52a6d4bc07 12/07/2018
> 15:42:19.32   w3wp.exe (0x2ADC)                           0x3408  Excel
> Online                    Excel Calculation Services      8jg2    Medium 
>   ResourceManager.PerformCleanup: Memory Manager:
> CurrentSize=220422144.    53fed7f1-03f1-0002-9888-cd52a6d4bc07 12/07/2018
> 15:42:19.46   PowerShell_ISE.exe (0x296C)                 0x27DC  Office
> Online                    PowerShell Cmdlets           
>   ai18i   Exception   An unhandled exception was thrown in the Office
> Online Server cmdlets.
> System.ServiceModel.Security.MessageSecurityException: The HTTP
> request was forbidden with client authentication scheme 'Negotiate'.
> ---> System.Net.WebException: The remote server returned an error: (403) Forbidden.     at System.Net.HttpWebRequest.GetResponse()     at
> System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan
> timeout)     --- End of inner exception stack trace ---    Server
> stack trace:      at
> System.ServiceModel.Channels.HttpChannelUtilities.ValidateAuthentication(HttpWebRequest
> request, HttpWebResponse response, WebException responseException,
> HttpChannelFactory`1 factory)     at
> System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestRepl...  d651d786-82dd-0000-cb20-78d6dd82d401
> 12/07/2018 15:42:19.46*   PowerShell_ISE.exe (0x296C)            
>   0x27DC  Office Online                   PowerShell Cmdlets           
>   ai18i   Exception   ...yResponse(HttpWebRequest request, HttpWebResponse
> response, HttpChannelFactory`1 factory, WebException
> responseException, ChannelBinding channelBinding)     at
> System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan
> timeout)     at
> System.ServiceModel.Channels.RequestChannel.Request(Message message,
> TimeSpan timeout)     at
> System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message
> message, TimeSpan timeout)     at
> System.ServiceModel.Channels.ServiceChannel.Call(String action,
> Boolean oneway, ProxyOperationRuntime operation, Object[] ins,
> Object[] outs, TimeSpan timeout)     at
> System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage
> methodCall, ProxyOperationRuntime operation)     at
> System.ServiceMod...  d651d786-82dd-0000-cb20-78d6dd82d401 12/07/2018
> 15:42:19.46*  PowerShell_ISE.exe (0x296C)                 0x27DC  Office
> Online                    PowerShell Cmdlets           
>   ai18i   Exception   ...el.Channels.ServiceChannelProxy.Invoke(IMessage
> message)    Exception rethrown at [0]:      at
> System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
> reqMsg, IMessage retMsg)     at
> System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
> msgData, Int32 type)     at
> Microsoft.Office.Web.Apps.Environment.WacServer.IFarmStateManagerService.GetAllSettings(DateTime
> lastGetTime, Guid correlationId)     at
> Microsoft.Office.Web.Apps.Environment.WacServer.RemoteFarmSettings.Refresh()
> at
> Microsoft.Office.Web.Apps.Administration.RemoteFarmSettingsWrapper.Refresh()
> at
> Microsoft.Office.Web.Apps.Environment.WacServer.ACacheableFarmStateObject.Sync(Boolean
> force)     at
> Microsoft.Office.Web.Apps.Environment.WacServer.AFarmSettings.get_MasterMachineName()
> at Micros...  d651d786-82dd-0000-cb20-78d6dd82d401 12/07/2018
> 15:42:19.46*  PowerShell_ISE.exe (0x296C)                 0x27DC  Office
> Online                    PowerShell Cmdlets           
>   ai18i   Exception   ...oft.Office.Web.Apps.Environment.WacServer.RemoteFarmState.get_IsMaster()
> at
> Microsoft.Office.Web.Apps.Administration.CmdletUtils.TryReplicateFromMaster(IFarmState
> localFarmState)     at
> Microsoft.Office.Web.Apps.Administration.GetExcelBIServerCommand.ProcessRecordCore()
> at
> Microsoft.Office.Web.Apps.Administration.AOfficeWebAppsCommand.ProcessRecord()
> StackTrace:  at uls.native.dll:
> (sig=93921b0b-1b34-4c76-b38c-fe12f5638234|2|uls.native.pdb,
> offset=29BE5) at uls.native.dll:
> (offset=1F9BE)    d651d786-82dd-0000-cb20-78d6dd82d401 12/07/2018
> 15:42:19.46   PowerShell_ISE.exe (0x296C)                 0x27DC  ULS
> Logging                       Unified Logging Service      
>   c91s    Monitorable Watson bucket parameters: Uninitialized ULS,
> ULSException14, a354bb5e "office online", 100020ef "16.0.8431.0",
> c180aef3 "mscorlib", 04070c95 "4.7.3221.0", 5b8858c6 "thu aug 30
> 16:51:18 2018", 000056e9 "000056e9", 00000027 "00000027", 7ad57f15
> "messagesecurityexception", 0021b888
> "ai18i"   d651d786-82dd-0000-cb20-78d6dd82d401 12/07/2018 15:42:19.46
>   PowerShell_ISE.exe (0x296C)                 0x27DC  ULS Logging          
>   Unified Logging Service         b6ig    Medium      Data collection is not
> enabled for tag 'ai18i' in the configuration or configuration file not
> available. Not reporting to
> Watson    d651d786-82dd-0000-cb20-78d6dd82d401

I was able to solve my issue. 我能够解决我的问题。 Gave Network Service account permissions to folder with Farm State Manager Service and then restarted. 使用Farm State Manager Service给文件夹授予网络服务帐户权限,然后重新启动。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Office Online Server for SharePoint 2016 SQL Server兼容性 - Office Online Server for SharePoint 2016 SQL Server compatability 在 SharePoint Server 2016 上安装 Microsoft Office 2016 - Installing Microsoft Office 2016 on SharePoint Server 2016 SP2016内部部署远程事件失败,并出现以下错误“在HTTPS情况下,服务器证书未使用HTTP.SYS正确配置” - SP2016 On Premise Remote Events Fails with following error “server certificate is not configured properly with HTTP.SYS in the HTTPS case” 如何使用 JavaScript 检查是否为 sharepoint 在线列表启用了评级? - How to check if a Rating is enabled for a sharepoint online list using JavaScript? SharePoint Server 2016 配置失败 - SharePoint Server 2016 configuration failed 上传大文件到SharePoint 2016 整个服务器挂了 - Uploading large files to SharePoint 2016 hangs up the whole server 如何在SQL Server 2014和Sharepoint 2016上安装RSWebParts.cab - How to install RSWebParts.cab on SQL Server 2014 and Sharepoint 2016 在 sharepoint 2016 中是否可以使用 Javascript 等待共享点编辑表单标准保存请求(按保存时发生的帖子)? - In sharepoint 2016 Is it possible to await sharepoints Edit Form standard save request (the post that happens when you press save) with Javascript? SharePoint 2016工作流管理器安装错误 - SharePoint 2016 workflow manager installation error 创建SharePoint自定义页面布局2016时出错 - Error while creating SharePoint Custom Page Layout 2016
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM