Thursday 28 November 2013

Error occurred in deployment step 'Activate Features': Invalid field name. {xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} http://server on Sharepoint 2010

To avoid this issue just go to the Elements.xml below the list definition:

image
below The Elements element be sure your fields have the attribute Overwrite="TRUE". See the image below:

image

Tuesday 19 November 2013

The metadata object that has Name has a Property with name ‘AuthenticationMode‘ and value . This value indicates that the runtime should revert to the identity of the application pool, but reverting to the application pool must be explicitly enabled for the service application by a farm administrator. On Sharepoint 2010

This problem normally comes when the RevertToSelfAllowed is set to false, and this is because we don’t have elevated privileges for our Application Pool. To set this to true, get the name of your “Business Data Connectivity Service” which normally is called “Business Data Connectivity Service”, but to be sure you can check it on Administration->Application Management->Manage service applications  and check the name of the service, in my case it is called “BDC Service”:

image

Go Powershell and open Powershell as Administrator.

Execute this code:

$bcsServiceApp = Get-SPServiceApplication | where {$_ -match "BDC Service"} 
$bcsServiceApp.RevertToSelfAllowed = $true; 
$bcsServiceApp.Update();


This will do the job, good luck!