Unable to delete old appointment in CRM 2011
Posted by Richard Weck on Mon, May 23, 2011
Recently we upgraded our production CRM4 system to CRM 2011. I have to admit that I really love working with the features of the new product.
Today, one of my users complained that they could not delete an old appointment that was in CRM prior to our upgrade to 2011. When she tried to delete the record she would get an “Invalid Argument” error in CRM.

So I went in with Admin privileges and tried to delete this record myself and got the same error. I downloaded the log file to see what else it contained and I found the following under the error details tag:
<Message>Expected non-empty Guid.</Message>
At this point, I looked at the appointment form again and I noticed that a member in the “Required” field was not resolved properly in the field. I knew the contact was not properly resolved to CRM as the name did not appear underlined in the field. I immediately suspected that this item was the culprit.

I opened the lookup so I could remove the unresolved name from the required list, in this particular case “Harris, Ron”. Once I removed this name and saved the appointment, the user was able to delete the old appointment successfully.

I am not entirely certain what caused this behavior in the first place and maybe that will be a great post in the future when I figure out the root cause. I am happy that I was able to find a solution to the issue quickly.
Until next time, happy coding!