Summary:

On a Sage 200 integrated Sage CRM system when a user tries to create a new company, the following error message appears on screen:

An unexpected event has occurred: EAccessViolation: Access violation at address 1A005D55 in module 'eware.dll'. Read of address 00000056


Resolution:

This error is occurring because the "acc_intid field" had been removed from the AccountBoxLong screen of the Account entity.

To fix this:
1. Unhide the Account entity:
update custom_sysparams set parm_value = null where parm_name = 'SupressAccounts'
2. Do an iisreset
3. Go to Administration->Customisation->Account->AccountBoxLong and add the field acc_intid to the screen & Save
4. Check that you can now create a new company
5. Hide the Account entity:
update custom_sysparams set parm_value = 'Y' where parm_name = 'SupressAccounts'
6. Do an iisreset