How To Fix SharePoint Error "System.InvalidOperationException: The farm is unavailable."


If you have had the error  "System.InvalidOperationException: The farm is unavailable.", and the exception printed below, then try the solution below.


Complete Exception:

WebHost failed to process a request.

 Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/33711845

 Exception: System.ServiceModel.ServiceActivationException: The service '/1e1dea56eb8c443782ab6f9948b81e0d/ProfilePropertyService.svc' cannot be activated due to an exception during compilation.  The exception message is: The farm is unavailable.. ---> System.InvalidOperationException: The farm is unavailable.

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



Open IIS

Go to the App Pool, Right click and choose "Advanced"

Set Enable 32-bit Applications = false



No notes are available for this topic.

Comments (2) -

Ravin Singh D
Ravin Singh D
9/8/2014 2:24:08 AM #

Thanks. It was help full

Donnie Wishard
Donnie Wishard
9/8/2014 8:23:03 AM #

Glad it helped!

Add comment

  Country flag

  • Comment
  • Preview