function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
John OhlmeyerJohn Ohlmeyer 

Apex Class: Deployment Failure

Good morning,

I installed the Salesforce Labs Inline Account Hierarchy app in my Sandbox and proceeded to change it to what I wanted, and it all works fine there.  However, when I deploy it to Production my Apex Class deployment fails with the following error message:

User-added image

Can someone help me with this error message please?  If you need the visualforce and apex code let me know and I'll upload it.

Kind Regards,
John
Glyn Anderson (Slalom)Glyn Anderson (Slalom)
Have you tried "checking ignore validation rules for Accounts" as the error message suggests?  Perhaps you can't - because it isn't deployed yet...  Can you deploy an unmodified version of the package (perhaps from a different sandbox), and then try to deploy your modified version?
Raj VakatiRaj Vakati
See all the validation rules are on sync in between prod and sandbox on account or update the validation rule to by pass for the system admin
John OhlmeyerJohn Ohlmeyer
Disabling the Account validation rules hasn't helped.
If I select run all tests when deploying I end up with 68% code coverage, but I need 75% to avoid failure.
Not sure where to check "ignore apex errors" - can someone help please?