SubscriptionSettings.svc/optimized 的 HTTP 服务不可用

今天在SharePoint foundation 2013准备安装napa的时候出现“很抱歉,应用程序已关闭。如果您知道运行服务器的人员,请告诉他们启用应用程序。”,

image

上网查一下发现要启动Subscription服务,但启动的时候就出错,日志显示的内容如下:

An error occurred while contacting the subscription settings service
at 'https://www.myoknow.com:32843/6d3057f0c44b400bb750a19fe1e667be/SubscriptionSettings.svc/optimized'.  Exception details: System.ServiceModel.ServerTooBusyException: 位于 https://www.myoknow.com:32843/6d3057f0c44b400bb750a19fe1e667be/SubscriptionSettings.svc/optimized 的 HTTP 服务不可用。这可能是因为该服务太忙,或是因为未找到侦听指定地址的终结点。请确保地址正确,并在稍后再次尝试访问该服务。 ---> System.Net.WebException: 远程服务器返回错误: (503) 服务器不可用。     在 System.Net.HttpWebRequest.GetResponse()     在 System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)     --- 内部异常堆栈跟踪的结尾 ---    Server stack trace:      在 System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)     在 System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)     在 System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)     在 System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)     在 System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)     在 System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)     在 System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)    Exception rethrown
at [0]:      在 System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)     在 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)     在 Microsoft.SharePoint.ISubscriptionSettingsServiceApplication.GetSubscriptionMetadata(Guid subscriptionId)     在 Microsoft.SharePoint.SPSubscriptionSettingsServiceApplicationProxy.<>c__DisplayClass22.<GetSubscriptionMetadata>b__20(ISubscriptionSettingsServiceApplication channel)     在 Microsoft.SharePoint.SPSubscriptionSettingsServiceApplicationProxy.ExecuteOnChannel(CodeBlock codeBlock)

 

访问http://localhost:32843/6d3057f0c44b400bb750a19fe1e667be/subscriptionsettings.svc的时候的确显示,网上的教程说在管理员心重启subscription服务,重启后还是不行。

Service Unavailable


HTTP Error 503. The service is unavailable.

,这就说明app pool启动失败,检查后发现的确启动失败,更换为管理员后就正确了

发表评论