Symptom: When adding a new contract to an asset, the program will give an Unhandled Exception error, and then close.
Cause: A contract was added to the asset, then removed, then added again. This will cause any future contracts added to that asset to throw an error, but the error is actually unrelated to the new contract. It is caused by the records from the removed contract.
Solution: On the database server machine, download and extract http://dl.waspbarcode.com/wasp/supportfiles/MA7RemoveDeletedContracts.zip
Run RemoveDeletedContracts.bat to remove the deleted contract records from the assets, which will allow new contracts to be added.