zoukankan      html  css  js  c++  java
  • Security Token Service无法启动?

    最明显的症状是SharePoint 2010的管理中心站点无法打开, application pool处于stopped的状态.

    请首先检查一下机器的Application event log, 看是否有以下的两个event:

    Event ID 8306

    -------------

    An exception occurred when trying to issue security token:

    The requested service, 'http://localhost:8888/SecurityTokenServiceApplication/securitytoken.svc' could not be activated. See the server's diagnostic trace logs for more information.

     

    Event ID 3

    ---------------

    WebHost failed to process a request.

    Sender Information:

    System.ServiceModel.ServiceHostingEnvironment+HostingManager/17653682

    Exception: System.ServiceModel.ServiceActivationException:

    The service '/SecurityTokenServiceApplication/securitytoken.svc' cannot be activated due to an exception during compilation.  The exception message is: Exception has been thrown by the target of an invocation.. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: The farm is unavailable.

       at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceManager.get_Local()…

     

    解决方案

    ============

    检查SecuritTokenServiceApplicationPool的高级设置, 看Enable 32-Bit Applications是否是true, 如果是, 就改为false.

    image

    问题解决.

  • 相关阅读:
    使用Scanner接受用户键盘输入的值
    使用 c3p0 连接数据库
    JDBC连接数据库
    SQL高级查询
    sql中的内连接和外连接
    存储过程的优缺点
    DML命令和DQL命令
    --sql语句创建表的同时添加外键约束
    JavaScript操作DOM对象(赠删表格中的元素)
    特效时钟
  • 原文地址:https://www.cnblogs.com/awpatp/p/2019969.html
Copyright © 2011-2022 走看看