首页 新闻 会员 周边

Sharepoint Foundation 2010 Security Token Service 不可用

0
[待解决问题]

按照网上说明配置Sharepoint Foundation 2010表单验证,可是配置完登录时不管是表单验证还是windows验证都弹出以下错误:

  

“/”应用程序中的服务器错误。


远程主机强迫关闭了一个现有的连接。

说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Net.Sockets.SocketException: 远程主机强迫关闭了一个现有的连接。

源错误:

执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。


堆栈跟踪:

[SocketException (0x2746): 远程主机强迫关闭了一个现有的连接。]   System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) +232[IOException: 无法从传输连接中读取数据: 远程主机强迫关闭了一个现有的连接。。]   System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) +7109727   System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size) +20   System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead) +435[WebException: 基础连接已经关闭: 接收时发生错误。]   System.Net.HttpWebRequest.GetResponse() +1126   System.ServiceModel.Channels.HttpChannelRequest.WaitForReply(TimeSpan timeout) +81[CommunicationException: 接收对 http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc 的  HTTP 响应时发生错误。这可能是由于服务终结点绑定未使用 HTTP 协议造成的。这还可能是由于服务器中止了 HTTP 请求上下文(可能由于服务关闭)所致。有关详细信息,请参阅服务器日志。]   System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +10259322   System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +539   Microsoft.IdentityModel.Protocols.WSTrust.IWSTrustContract.Issue(Message message) +0   Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.Issue(RequestSecurityToken rst, RequestSecurityTokenResponse& rstr) +61   Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.Issue(RequestSecurityToken rst) +36   Microsoft.SharePoint.SPSecurityContext.SecurityTokenForContext(Uri context, Boolean bearerToken, SecurityToken onBehalfOf, SecurityToken actAs, SecurityToken delegateTo) +26060225   Microsoft.SharePoint.SPSecurityContext.SecurityTokenForLegacyLogin() +270   Microsoft.SharePoint.IdentityModel.SPWindowsClaimsAuthenticationHttpModule.GetSecurityTokenFromWindowsIdentity(WindowsIdentity windowsIdentity, HttpContext httpContext) +21   Microsoft.SharePoint.IdentityModel.SPWindowsClaimsAuthenticationHttpModule.AuthenticateRequest(Object sender, EventArgs e) +1176   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171



版本信息: Microsoft .NET Framework 版本:2.0.50727.5420; ASP.NET 版本:2.0.50727.5420

 

事件查看器里看应用程序错误出现以下:

管理中心也有个警告:

 

请问是否也有人遇到这样的问题? 是怎么解决的呢...

jjqing的主页 jjqing | 初学一级 | 园豆:200
提问于:2011-09-22 17:25
< >
分享
所有回答(2)
0

我也遇到了这样的问题,不知道该怎么解决……

星空z下 | 园豆:205 (菜鸟二级) | 2011-12-10 20:15
-1

黄色级别的警告可以无视,有一段微软官方的解决方案。 除此之外,如果你是在虚拟机中进行试验,有可能是因为储存空间太小,基本不影响功能

凉宫春日的惊叹 | 园豆:204 (菜鸟二级) | 2012-07-08 14:54
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册