Search has encountered a problem that prevents results from being returned

When writing search queries in C# code you sometimes get the following error. “Search has encountered a problem that prevents results from being returned. If the issue persists, please contact your administrator.” In most cases it indicates that your search schema is not correctly setup. You request certain functionality in your code but your ‘Search […]

Error occurred in deployment step ‘Activate Features’: The current user has insufficient permissions to perform this operation

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

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