Views:

Applies to Product - Dynamics 365 Business Central


What’s happening?
Customers are unable to deploy extensions in the Production environment, encountering errors related to version compatibility or internal server errors.
 

Reason:

  1. In one case, the application version in the App.json file was higher than the version of the Production environment, leading to deployment failure.
  2. In another case, an internal server error occurred while processing the request during deployment, indicating potential issues with the Production environment setup or configuration.

 

Resolution:
For version compatibility issues:

  1. Check the App.json file to ensure that the application version matches or is lower than the version of the Production environment.
  2. If the application version is higher, lower the version in the App.json file to match the Production environment version and attempt the deployment again.
For internal server errors:
  1. Clear the credential cache using the command "AL: Clear credentials."
  2. Attempt to download the symbol again after clearing the cache.
  3. If the issue persists, ensure that the user has the necessary permissions set, specifically the "D365 Snapshot Debug" permission, to initialize debugging sessions in the Production environment.
  4. If further assistance is needed, consider using the Snapshot Debugger for debugging in the Production environment, following the appropriate configuration steps in the launch.json file.