Wednesday 9 July 2008

Error “Guid should contain 32 digits with 4 dashes” during content deployment

I started getting an error saying “Guid should contain 32 digits with 4 dashes” during content deployment. After a lot of research I finally found the problem.

If you are referencing fields via GUID and including { and }, that is what causes this error.

eg field id="ab78ad79-6a48-1182-c3e5-93a3ed3e7831"
not field id="{ab78ad79-6a48-1182-c3e5-93a3ed3e7831}"

After going through all the site and removing the { and }, I did a content deployment and it worked.

No comments: