Contents tagged with sharepoint error

  • Search Service woes

    On a recent 2013 Foundation install, I had a recurring problem. The client wasn't willing to give the installation account full SA privileges, so we asked for the dbcreate role and thought it was enough (hint: it's not). Make sure you add the securityadmin role as well. If you don't, you'll probably end up with an error like "The search service is not able to connect to the machine that hosts the administration component". In Standard or Enterprise, you can rip out the offending service and add a new service application, but Foundation is a bit more black-box in its limited-functionality approach. To resolve this error without a complete reinstall, I did the following: 1) Ensure that the securityadmin role has been granted. 2) In Central Admin->Application Management->Manage Service Applications, select the Search Service Application and delete it. 3) On the SharePoint SQL Server box, delete all databases with "Search" in the name. 4) Rerun the SharePoint Products Configuration Wizard. At this point you should have a working Search Service again.

  • Error when creating a site from a custom template: "A duplicate name 'FieldName' was found"

    This happened to me in a client's WSS3 environment, but it seems to apply to 2010 as well. I had a site template created in one environment, but upon moving it to another, the Create Site operation resulted in a neat little error, complete with stack trace: "A duplicate name 'YourField' was found". Upon investigating, I found that one of the lists in the newly-created site did indeed have duplicate fields. What was odd in this case was that the the list was based on a content type, and only one of the duplicates came from said content type. I deleted the extra fields, re-saved the template in the new environment, and created again -- only to have similar results. Several forum posts recommend cutting open the template on your local machine, editing the XML, and rebuilding the solution CAB, but in my case, all it took was a quick "Delete list" followed by re-creating it and re-adding the content type. Save as template again, and this time -- instant site creation satisfaction.