Jesoba.com is launched, Click below image to access it

Jesoba.com is launched, Click below image to access it
Technology and Entertainment Blog

Cant access SharePoint site


Problem Title: Cant access SharePoint site.

Case ID: CS004

Problem Description:
===============
We receive following exception message in event log when we try to access Central Admin site or  any SharePoint site.

Event ID from Event Log - 3

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()

Server Configuration:
================
OS                - Window Server 2008
SharePoint    - SharePoint 2010
SQL Server   - SQL 2008.
IIS                 - 7

Observation
:
===========
- We are unable to access either SharePoint Central Admin site or SharePoint sites.

Solution:
=======
 Open IIS
 Go to Application Pools
 Find the security token application pool and click on "Advanced Settings"
 If you notice that the value for “enable 32-bit applications” was set to true, change this to false

Keyword: farm unavailable

Reference: N\A

No comments:

Google+ Badge

About Author

My photo

I am Senior Server Expert and Professional Blogger.