Wednesday, June 22, 2011

Mail Merge Templates No Entity error

I removed an entity that we were no longer using, but the Mail Merge Templates were still there.  CRM throws an error when there are templates that are missing their entity.  I discovered this by running the CRM Diag Tool and the CRM Trace Log Viewer.

 

To fix this, I had to manually set the records to “deleted” in the CRM database (DeletionStateCode=1).  Lesson learned: remove Mail Templates before deleting an entity!

 

 

 

1 comment:

Dave said...

Glad you found it.