A general error message can appear when you try to run Maya with a network license if the license checkout process fails. If you are running Maya remotely and cannot dismiss the error, you can set the environment variable MAYA_SUPPRESS_ADLM_DIALOGS to 1 in order to suppress the general error dialog box.
In most cases, this suppresses the general license checkout error and instead gives any of the following more specific exit codes to assist with troubleshooting the licensing issue:
To see a list of troubleshooting topics, see Autodesk Maya Troubleshooting.