Search code examples
sharepointsharepoint-2010

The trial period for this product has expired Sharepoint 2010


I was not able to log into the website configured in Sharepoint 2010 due to this error message.

"The trial period for this product has expired"

The log shows that:

Exception thrown while adding control 'Microsoft.SharePoint.Portal.WebControls.SearchBoxEx' Microsoft.Office.Server.dll

I wasn't able to access any pages in the website other than the site settings page.

I am using Sharepoint Enterprise edition. Please help me to remove this error and to continue the work


Solution

  • Microsoft.sharepoint.portal.dll is used in two features of Sharepoint, they are OSearchBasicFeature and OSearchEnhancedFeature. To fix this issue if you are not using the Search feature you can uninstall these features by

    stsadm -o uninstallfeature -name OSearchBasicFeature -force

    stsadm -o uninstallfeature -name OSearchEnhancedFeature-force

    This will fix the issue :)