Skip to main content


 

Symptoms


When trying to deploy a solution from development to production, multiple errors surface during the deployment process. The process fails at different steps each time.
 

Diagnoses


During the deployment of the package one particular error surfaced: "SmartObject property PackageFile is a required property for selected method LoadPackage. FileName property must be set."

Another error that surfaced during the deployment process was: "The SamL2SecurityToken is rejected because the SAML2Assertion's NotOnOrAfter condition is not satisfied."

Both of these errors occurred multiple times throughout trying to deploy the process.
 

Resolution

What was occurring in this case can be narrowed down by looking at the first error that was surfacing in the deployment process.

"SmartObject property PackageFile is a required property for selected method LoadPackage. FileName property must be set."

The clue given by this error was that the customers list in the production environment mismatched the original list the package file was created from. To fix this issue a new list was created on the production environment that was named exactly the same as the original list the package was created from. After creating the new list the package was deployed successfully to production.

As for the second error that was occurring this was most likely a randomly surfaced error but it should be mentioned here as future issues with deployment may come up with this error as well.




 
Be the first to reply!

Reply