Archive for July 13, 2011

Remove corrupt SharePoint 2010 Service Application

If you ever have an issue with deleting a SharePoint 2010 Service Application from Central Administration and the progress circle is on an endless loop this trick should come in handy.

Open SharePoint 2010 Management Shell and run the following command to get the GUID ID of the Service Application you want to remove

Get-SPServiceApplication

Copy the GUID ID and run the next command

stsadm -o deleteconfigurationobject -id "GUID ID"

Post to Twitter

error occurred in deployment step ‘Retract Solution’: The language-neutral solution package was not found

I got the following error while deploying from Visual Studio 2010
to SharePoint 2010

error occurred in deployment step ‘Retract Solution’: The
language-neutral solution package was not found

I noticed that the error was occurring because the solution had
somehow been unable to retract a solution. The trick was to remove the solution
manually via SharePoint Management Shell


(Get-SPSolution solution.wsp).Delete()

Post to Twitter

Enable Kerberos Logging

If you ever require the need to enable Kerberos logging because you have configured your SharePoint farm to use Kerberos or have an application that uses Kerberos like K2 you will need to Enable Kerberos logging.

Start Registry Editor by running ‘regedit’
Add the following registry value

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlLsaKerberosParameters

Registry Value: LogLevel
Value Type: REG_DWORD
Value Data: 0x1

If the Parameters subkey does not exist, create it.

Post to Twitter