Deployment Error:”The changeToken refers to a time before the start of the current change log”


If you are having problems with Incremental Deployments and the error message is “The changeToken refers to a time before the start of the current change log” here is a possible cause:

The time between deployments is too long. This means that the information regarding the last deployment has been already deleted from the Change Log and therefore the incremental deployment process cannot find a previous entry to compare. The Change Log history is set by default to 15 days, after that all history is deleted, so you can set to a bigger timeframe or to never.

Resolution:

Well this is the part you might find not so good having found a possible solution . . . The proper solution is to perform a full deploy to a new content database.  Another possible solution is to perform a full deploy for the same content database, but this is not advised by Microsoft because the contents that were deleted or moved since the last deployment might not be updated.

It is very important BEFORE you set the deployments to check on the Change Log settings to prevent this problem from happening. You can do in the general settings of the Web Application in the Central Administration, so:

Central Administration –> Application Management –> Web Applications General Settings

in the Change Log section you can change the settings.

You can check more information on this deployment error in the Stefan Gossner blog: http://blogs.technet.com/stefan_gossner/archive/2008/03/13/moss-common-issue-incremental-deployment-fails-with-the-changetoken-refers-to-a-time-before-the-start-of-the-current-change-log.aspx

Computer developer/consultant from Portugal. You can find me at ricardo.magalhaes@gmail.com

Tagged with: , , ,
Posted in Sharepoint
2 comments on “Deployment Error:”The changeToken refers to a time before the start of the current change log”
  1. Abulgealeve says:

    Hi all!
    Nice site!

    Bye

  2. Shardul says:

    I am using sharePoint content deployment job in one of the application. change log period set to 180 days. but though we have updated content regularly all jobs got failed after 180 days. So what may be the possible reason for this?

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

%d bloggers like this: