Views:
On the ..\Apex One\iServiceSrv\iAC\config.xml, the license status is 0 (expired or invalid).
<License>
	<status>0</status>
</License>
When checking the value of AC_IAC of ..\PCCSRV\Private\ofcserver.ini, it uses an invalid license.
[INI_SERVICE_MODEL_SECTION]
AC_IAC=OS-AAAA-BBBBB-CCCCC-DDDDD-EEEEE-FFFFF
  1. On the Apex One server, stop the Apex One Master Service and Apex One Apex Central Agent service
  2. Backup the ..\PCCSRV\Private\ofcserver.ini.
  3. Open ofcserver.ini using text editor then remove the value of AC_IAC.
    [INI_SERVICE_MODEL_SECTION]
    AC_IAC=
    
  4. Backup and delete the ..\PCCSRV\Private\iService\OSF_IPRODUCT_IAC\webserviceinfo.json.
  5. Start Apex One Master Service and Apex One Apex Central Agent service.
  6. Try to deploy the correct license again.

If it still fails, reset the Application Control License information:
  1. Backup the ..\PCCSRV\Private\ofcserver.ini.
  2. Remove the value of the following keys. If it doesn't exist, add it.
    [INI_SERVICE_MODEL_SECTION]
    AC_IAC=
    LF_IAC=
    [IAC_LICENSE_INFO]
    AC=
    Profile=
    
  3. Using SQL Server Management Studio (SSMS), access the Apex Central database.
  4. Backup the Apex Central database.
  5. Run the following SQL queries:
    delete from tb_EntityPRInfo where EI_AC in ('<AC>');
    delete from tb_ACInfo where AC in ('<AC>);
    
     
    AC is the full Activation Code without "-". For example, use OSAAAABBBBBCCCCCDDDDDEEEEEFFFFF if AC is OS-AAAA-BBBBB-CCCCC-DDDDD-EEEEE-FFFFF.
     
  6. Redeploy the correct license.