Skip to main content

Posts

Showing posts from July, 2013

The Security Token Service is not available.

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()    at Microsoft.SharePoint.IdentityModel.SPSecurityTokenServiceConfiguration..ctor()    --- End of inner exception stack trace ---    at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)