Feeds:
Posts
Comments

Archive for the ‘SharePoint’ Category

While programming in SharePoint, did you ever needed to work your way back to the parent website? Probably the easiest, but not the recommended, way to do this is: The problem with this approach is that you are not disposing your SPWeb and SPSite objects. You should correctly dispose you SharePoint objects to avoid memory [...]

Read Full Post »

Adding a box or rounded corners around a SharePoint web part can be challenging due to the way that SharePoint renders it’s web parts in a <table> layout. This article explains how to add extra <div> elements around the SharePoint web parts. Then by using the ‘sliding doors’ css technique we can add a flexible [...]

Read Full Post »

The new Ribbon functionality in SharePoint 2010 can cause some frustration when creating custom master pages. The trick is to develop a master page with the ribbon always on top of your page without losing functionality and keep the content scrolling working correctly. Sometimes the scroll bars seems to grow outside the browser window leaving [...]

Read Full Post »

During deployment of your SharePoint 2010 feature you might get the following error: Error occurred in deployment step ‘Activate Features’: The current user has insufficient permissions to perform this operation During the activation of the feature the current user seems to have insufficient permissions to perform the operatio. I encountered this problem while deploying a [...]

Read Full Post »

We have discussed the SharePoint 2007 SPDispose tool here before. A new version is now available with SharePoint 2010 support and a Visual Studio add-in. In addition to dispose guidelines they have also added rules on when not to Dispose. For example you do not want to dispose your SPWeb en SPSite objects in your [...]

Read Full Post »

Ran into a curious issue where I was only able to activate my feature only once after deployment. When I deactivate the feature and then try to activate the feature again, I received the following error :  Error: A file specified in the modules section of this template already exists. Resulting in this screen. Luckily [...]

Read Full Post »

I always get a little nervous when I see a “Service not found” on my development machine instead of the desired website. Most of the time it can be resolved by doing: an iisreset, checking Application Pool credentials Application pool recycle making sure the Application pool is started checking the eventlog or any combination of [...]

Read Full Post »

I was writing a new web part to search Taxonomies (Managed metadata) in SharePoint 2010. During testing I got an error when using the class FullTextSqlQuery “Microsoft.SharePoint.SPException: Your search cannot be completed because this site is not assigned to an indexer. Contact your administrator for more information. at Microsoft.SharePoint.Search.Query.Query.CreateQueryProxy(SPSite site) at Microsoft.SharePoint.Search.Query.Query..ctor(SPSite site)” while debugging [...]

Read Full Post »

Introduction. A requirement that I regularly see in a website specification is: “Make sure the user can only click the button once and display a confirmation box.”. The extra challenge in ASP.NET is not to lose the postback functionality. In this short post I show you how can disable a button on the client-side while [...]

Read Full Post »

When trying to deploy my SharePoint 2010 solution via Visual Studio 2010 I got the following error. Error occurred in deployment step ‘Recycle IIS Application Pool’: <nativehr>0×80070005</nativehr><nativestack></nativestack> Turned out that I forgot to add my user to the “Site Collection Administrators”. Go to “Site Actions” of the root site , add your user to the [...]

Read Full Post »

« Newer Posts - Older Posts »

Follow

Get every new post delivered to your Inbox.