Monday, September 17, 2012

Service Unavailable – HTTP Error 503. (SharePoint 2010)

When you try to load the page you probably might end up with following error:
Service Unavailable – HTTP Error 503

First Shot

Check Application Pool, most probably it will be turned off. Turn it on and test the portal.

If App Pool shuts down once more than

Second Shot 

Check the eventvwr
I had following error message:(not pasting the whole message but the important pointer)

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.

If your error message is same as mine then try this resolution:

Open Application Pool - > Advanced Settings - > Enable 32 Bit Application and Set to FALSE

Hope that fixes your error.

Have Fun!!!

Tuesday, September 11, 2012

Admin SVC must be running in order to create deployment timer job


This error message pops up when solution is installed using powershell command

Install-SPSolution -identity test.wsp -webapplication http://test/


Method 1:
Go to Administrative Tools > Services and browse to find “Sharepoint 2010 Administration”.
Start  Service

Method 2:
Start-Service SPAdminV4

Error Deploying WSP using Visual Studio 2010


Error occurred in deployment step 'Activate Features': Feature with Id  is not installed in this farm, and cannot be added to this scope.

This is mainly due to inability of Visual Studio 2010 to deploy solution in farm.try deploying the WSP using powershell command in each web front end SharePoint server in farm.

Check this article:

Gray Failures: What is it and how to detect one?

If you are reading this article , i guess you are curious to know about gray failures and different methods to detect gray failures.  Hopefu...