Missing module(s):The selected package is missing the following modules that are currently deployed on your environment

Error- During the package deployment or applying VSTS/DevOps build package in UAT or Production , below error is coming in LCS (Life cycle services

The selected package is missing the following modules that are currently deployed on your environment.
You must create an all in-one deployable package that contains all your code customisations & ISV solutions.More information can be found at the following link:https://go.microsoft.com/fwlink/?linkid=2118104.Missing module(s) [AcxDocumentReports]

Reason & Root cause- Now Microsoft made mandatory that your deployable package must contain all those models which are referenced directly in the models you are deploying. For example – in my case ACXDocumentReports model are referenced in the models i am deploying .

Also you can export or unzip your deployable package you are deploying using wizip or winrar and can check the missing model reference DLLs are there in the package or not.In my case model “ACXDocumentReports” dlls are not present in package. thats why i am facing issue Missing modules(s).

Resolution- There are multiple ways you can solve this issue:

  • You can remove Missing modules(s) reference from those models which you are deploying .In my case Missing module is “ACXDocumentReports”. Check in your code again in VSTS/DevOps and regenerate your VSTS/DevOps build package again. If you will apply new package again the error should not again. Please note the missing module(s) should contain descriptor & at-least one technical objects (like classes/Tables/Forms etc)
  • You can add Missing modules(s) in VSTS/DevOps branch .In my case Missing module is “ACXDocumentReports”. Check in your code again in VSTS/DevOps and regenerate your VSTS/DevOps build package again. If you will apply new package again the error should not again. Please note the missing module(s) should contain descriptor & at-least one technical objects (like classes/Tables/Forms etc)
  • Though this scenario is very rare but still If you are not able to find Missing modules(s) in you development server or in your source control . In that case you need to create Missing modules(s) in you development server. Check in your code again in VSTS/DevOps and regenerate your VSTS/DevOps build package again. If you will apply new package again the error should not again.Please note the missing module(s) should contain descriptor & at-least one technical objects (like classes/Tables/Forms etc)

One thought on “Missing module(s):The selected package is missing the following modules that are currently deployed on your environment”

Leave a Reply