Posts Tagged ‘NullReferenceException’

NullReferenceException while opening CRM form

September 19, 2012 Leave a comment

I was getting an exception when I open a “Account” record.

When I verify the CRM server Event Viewer I got this below “NullReferenceException” warning message



After spending some time I came to know that the problem was because of customization change I did recently


  • I deleted and recreated a custom field with same schema name but with different data type
  • I had the new field added on my ‘Account’ form


I can’t say that it is a fix but below step worked for me

  • Removed the field from the Form
  • Publish the customization
  • Add the field back to the Form

Here is a useful article which helped me