SharePoint Internals – Hristo Pavlov’s Blog

23 October, 2008

The trial period for this product has expired

Filed under: SharePoint — Tags: , , — hristopavlov @ 7:00 am

This is an error that we discovered was happening in one of the legitimate licensed MOSS boxes today. We were getting it when trying to check in or publish a page. The exact error message was was:

The trial period for this product has expired.   at Microsoft.SharePoint.Publishing.Internal.CodeBehind.CreatePagePage.HandleUnexpectedException(PublishingPage newPage, Exception exception)
   at Microsoft.SharePoint.Publishing.Internal.CodeBehind.CreatePagePage.NewPageItemSave(String pageName, PageLayout pageLayout)
   at Microsoft.SharePoint.Publishing.Internal.CodeBehind.CreatePagePage.CreateStandardPage(String pageName)
   at Microsoft.SharePoint.Publishing.Internal.CodeBehind.CreatePagePage.ButtonCreatePage_Click(Object sender, EventArgs e)
   at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
   at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Doing a search didn’t reveal much but there were other people experiencing the same problem. Some of them saying that they were getting an error when trying  to create a publishing site from the SharePoint GUI but no error when doing it via STSADM. Our further tests showed that there was an OfficeServerSettings.dll involved: 

[DllNotFoundException: Unable to load DLL ‘OfficeServerSettings.dll’: The specified module could not be found. (Exception from HRESULT: 0x8007007E)]
   Microsoft.Office.Server.Administration.NativeMethods.GetExpirationTime(Int64& expirationTime) +0
   Microsoft.Office.Server.Administration.Licensing.GetExpirationFileTimeFromRegistry() +156

[LicensingException: An error was encountered getting expiration info.]
   Microsoft.Office.Server.Administration.Licensing.GetExpirationFileTimeFromRegistry() +580

We found people suggesting various things, including uninstalling AV updates and changing the registry permissions:

http://joelsef.blogspot.com/2007/12/trial-period-for-this-product-has.html

http://blogs.mgtechgroup.com/markc/archive/2007/08/09/MOSS-quottrial-period-for-this-product-has-expiredquot-error.aspx

http://mindsharpblogs.com/ben/archive/2006/09/23/1299.aspx

http://blogs.msdn.com/joelo/archive/2008/01/02/evaluation-version-expired-but-not-really.aspx

What worked for us was adding permissions to the HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\Office Server\12.0 key to the WSS_WPG and WSS_ADMIN_WPG groups.

3 Comments »

  1. Did not work for me.
    What worked for us was going to:
    http://server name:port number/_admin/Conversion.aspx
    and reenter my key

    Comment by Lola — 15 March, 2011 @ 5:19 pm

  2. Nice post.. Here is the another post to explain this issue

    http://sureshpydi.blogspot.in/2013/03/share-point-trial-period-for-this.html

    Comment by Suresh Pydi — 18 March, 2013 @ 10:34 am


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: