Just setup a Dynamics 365 on-premises instance and had barely started customizing the Contact entity. After adding a new field and publishing I am unable to open the Editor for Contact entity form. I am also unable to access the Contacts view as it shows a message "An error has occurred". The error log has the following message.
System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #4A9A4D93