无法提供STS来解决STS问题 [英] Cannot provision STS to resolves STS issue

查看:108
本文介绍了无法提供STS来解决STS问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

目前我遇到了无法加载Web应用程序的问题。我检查了日志,这似乎与WFE上的安全服务令牌有关。当我尝试浏览WFE服务器上的STS页面时,我收到错误。然而,当我尝试浏览中央管理服务器上的
STS页面时,它很好。即使在健康分析仪中,它也显示STS不起作用。我浏览了很多博客,其中大多数都要求按照以下步骤配置STS服务: 

Currently I am experiencing a issue where web application cannot load. I checked the logs and it seems to be a issue with Security Service Token on the WFE. When I try to browse the STS page on the WFE server I get error. Whereas when I try to browse the STS page on the central admin server it comes up fine. Even in the health analyser it shows STS is not working. I went through many blogs and most of them ask to provision the STS service with these steps: 

$ hostSvc = Get-SPServiceHostconfig

$ hostSvc.Provision()

< span style =""> $ SecToken = Get-SPServiceApplication |其中{$ _。TypeName -Like"Security Token *"}

$ SecToken.provision()

您可以重新启动IIS(
IISReset.exe )或使用下面的PS重新启动单个IIS站点。


停止网站"SharePoint Web服务"

开始网站"SharePoint网络服务"

$hostSvc = Get-SPServiceHostconfig
$hostSvc.Provision()
$SecToken=Get-SPServiceApplication | where { $_.TypeName -Like "Security Token*"}
$SecToken.provision()
You can restart IIS ( IISReset.exe) or use the below PS to restart single IIS Site.
Stop-Website "SharePoint Web Services"
Start-Website "SharePoint Web Services"

但是当我尝试 $ hostSvc.Provision()   但是它运行了30分钟,然后说出Exception调用"Provision"和用"0"表示"0"。参数:"计时器作业未按规定的时间在
内完成:。

But when I try $hostSvc.Provision() But it runs for 30 mins and then says the Exception calling "Provision" with "0" arguments: "The timer job did not complete running within the allotted time:.

我请求帮助继续前进并解决此问题。

I Request help to move forward and resolve this issue.

谢谢

NEZ

推荐答案

您好NEZ,

请转到WFE服务器并打开IIS管理器,确保SecurityTokenServiceApplicationPool已启动。如果没有,请右键单击它并单击"高级设置",确保"启用32位应用程序"。为False,并且Identity的名称和密码
都是正确的。然后重新开始。

Please go to the WFE server and open IIS Manager, make sure the SecurityTokenServiceApplicationPool is started. If not, please right-click it and click Advanced Settings, make sure "Enable 32-Bit Applications" is False and the name and password of the Identity all are correct. Then start it again.




如果此问题仍然存在,请检查ULS日志文件以查找更多信息。 

If this issue still exists, please check ULS log files to find more information. 

ULS日志文件的默认路径是:C:\Program Files \Common Files \ microsrosoft shared\Web Server Extensions \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ SharePoint 2010(也适用于SharePoint 2013),您可以参考:
$


http://habaneroconsulting.com/insights/get-the-real-sharepoint-error-using-the-uls-logs#.Vu -JwOJ96M8  

The default path of ULS log file is: C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\LOGS.

About how to check ULS log in SharePoint 2010(also works for SharePoint 2013), you can refer to:

http://habaneroconsulting.com/insights/get-the-real-sharepoint-error-using-the-uls-logs#.Vu-JwOJ96M8 

此外,还有一个关于解决此类问题的博客,您可以查看它是否对您有所帮助:

In addition, there is a blog about troubleshooting this similar issue, you can check if it helps you:

https://social.technet.microsoft.com/wiki/contents/articles/28206.sharepoint-server-2007-2010-2013-http-error-503-the-service-is- unavailable.aspx

谢谢,

Wendy


这篇关于无法提供STS来解决STS问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆