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 [...]
Error: this site is not assigned to an indexer
Posted in Branding, Layout, look and feel, Development, Web parts and solutions, tagged error, FullTextSqlQuery, SharePoint Foundation, SharePoint server on July 24, 2010 | Leave a Comment »
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 [...]