Setting the MasterPage during feature activation sometimes works but not always?

Posted by Eric Bartels

One of my current projects had the requirement to modify certain properties of the SharePoint “Look and feel”. To make updates and improvements easy I created a custom masterpage which is provisioned via a Feature. A custom feature receiver takes care of setting the masterpage and a feature staple takes care of newly created webs. [...]

Cannot complete this action – error when adding a ContentType to a list

Posted by Eric Bartels

Today I got a nice error from my SharePoint development box after I tried to add a certain Content Type to a list. Cannot complete this action. Please try again. at Microsoft.SharePoint.Library.SPRequestInternalClass.AddField(String bstrUrl, String bstrListName, String bstrSchemaXml, Int32 grfAdd) at Microsoft.SharePoint.Library.SPRequest.AddField(String bstrUrl, String bstrListName, String bstrSchemaXml, Int32 grfAdd) Tell me This is an error message [...]

Implementierung einer Zugriffssteuerung in Forms

Posted by Sven Thämar

Dieser Beitrag soll einen Leitfaden zur Implementierung einer Zugriffssteuerung für Tabellen sein. Zugriffssteuerung heißt dabei, das der Anwender in der Regel keine Rechte auf eine Tabelle bekommt. Diese Zugriffsteuerung kann auch innerhalb von Forms verwendet werden. Die gesamten Transaktionen einer Tabelle laufen über ein Interface welches sich aufteilt in View Instead-Of-Trigger des Views Routinen zur [...]

System.ServiceProcess.TimeoutException when running psconfig

Posted by Eric Bartels

Today I was installing a hotfix from Microsoft to get rid of an error. After installing one had to run the SharePoint Products and Technologies Configuration Wizard (psconfig) to complete the installation and update the database-schema. This failed with the following error. Failed to initialize SharePoint Products and Technologies upgrade. An exception of type System.ServiceProcess.TimeoutException [...]

Why I love NLog

Posted by Eric Bartels

I’m using the great NLog-library to get an easy and extensible way of logging information of tools I write. Nothing is more important than knowing what your tool is doing (an sometimes what it’s not doing). Target acquired My current synchronization tool (it synchronizes certain SharePoint-Lists over the SharePoint-Web Service of two fully separated SharePoint [...]