To Use an Ignore List for the Validation Errors

If validation of the compatibility of the published customization with the new version fails, the platform cancels the upgrade process and shows an appropriate error message. However for some cases when you are sure that a discovered error is not really an error, you can force the validation process to ignore the error, so you can continue the process of upgrading of the customized instance of MYOB Advanced. Also, you may need to ignore, for example, an error in a third-party DLL file.

To force the validation process to ignore an error, perform the following actions:
  1. In the App_Data folder of the website, create a .txt file whose name has the CstValidationIgnore prefix, such as CstValidationIgnore.txt or CstValidationIgnore_ProjectName.txt.
    Note: You can create multiple CstValidationIgnore*.txt files with ignore lists for an instance of MYOB Advanced.
  2. In the tool used for the upgrade, which may be the MYOB Advanced Configuration Wizard or the Apply Updates (SM203510) form, select the error message and copy it to the clipboard.
  3. In the file, paste the error message from the clipboard.
    Note: You can add multiple error messages to each of multiple files with ignore lists.
  4. Save the file.
  5. Determine which the customization project has the code that provokes the error message.
  6. Add the file with the ignore list to the project (see To Add a Custom File to a Project for details) so it will ignore the error when you publish the project in the production environment.
    Note: While it validates a customization project before the project publication, the MYOB Advanced Customization Platform ignores all the errors that are specified in the CstValidationIgnore*.txt files with the CstValidationIgnore prefix in the file name if these files are located in the App_Data folder of the website.
As a result, if you publish the customization project or upgrade an MYOB Advanced instance where the project is published, the validation process omits the error that is specified in the file.