File specified in the modules section of this template already exists.

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 […]

Error: this site is not assigned to an indexer

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 […]

IIS Access denied during deploy of solution

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>0x80070005</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 […]

List view web part in Site Definition results in error.

When adding a List View web part in a custom Site Definition  be careful to define the url correctly. If not, SharePoint returns the following error when creating a site based upon the Site Definition. Cannot complete this action. Please try again.   at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String& bstrWebTemplate, Int32& plWebTemplateId) at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String& bstrWebTemplate, Int32& […]

Coveo search breaks jQuery?

Update 2009-04-23 : Thanks to Coveo support. I was able so resolve this issue. See below for details. While I was creating a custom web part using the jQuery treeview plugin,  I ran into an issue with Coveo Search.  The click events ( to expand / collapse the treeview nodes) didn’t work anymore. The web part […]

Ghosted and uncustomized.

When customizing a page in SharePoint you quickly run into the fact that customized pages are not loaded anymore from the hard drive but they are loaded from the content database. When you are familiar with SharePoint 2003 you would probably use the terms ‘ghosting’ and ‘unghosting’. However since SharePoint 2007 the terms used are customized […]

Closed and hidden web parts.

A feature I would like they thought of better is the ‘close’ web part. You close the web part (or click on the x) and assume it’s gone. But actually the web part is just hidden on the page. Although it is not visible to the end-user and it does not generate HTML code it […]