Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

ISSUE while build from pipeline

(1) ShareShare
ReportReport
Posted on by
hello folks,
 
 
i am facing issue while creating package from pipeline error as below:-
 
 
C://DynamicsSDK//Metadata//Microsoft.Dynamics.AX.Application.Build.targets(40,5): error MSB6006: /Xppc.exe/ exited with code 3. [C://DynamicsSDK//Metadata//BuildMetadata.proj]
C://DynamicsSDK//Metadata//Microsoft.Dynamics.AX.Application.Build.targets(40,5): error : Error: dynamics://Class/BankPaymAdvicePrint_DR_Extension(1,14) - 'BankPaymAdvicePrint' is obsolete: ''This class is obsolete. Please use the BankPaymAdviceCustControllerV2 or BankPaymAdviceVendControllerV2 classes.''. [C://DynamicsSDK//Metadata//BuildMetadata.proj]
C://DynamicsSDK//Metadata//Microsoft.Dynamics.AX.Application.Build.targets(40,5): error : Error: dynamics://Class/BankPaymAdviceCustController_DR_Extension(7,14) - 'BankPaymAdviceCustController' is obsolete: ''This class is obsolete. Please use the BankPaymAdviceCustControllerV2 class.''. [C://DynamicsSDK//Metadata//BuildMetadata.proj]
C://DynamicsSDK//Metadata//Microsoft.Dynamics.AX.Application.Build.targets(40,5): error : Error: dynamics://Class/BankPaymAdviceVendController_DR_Extension(7,14) - 'BankPaymAdviceVendController' is obsolete: ''This class is obsolete. Please use the BankPaymAdviceVendControllerV2 class.''. [C://DynamicsSDK//Metadata//BuildMetadata.proj]
C://DynamicsSDK//Metadata//Microsoft.Dynamics.AX.Application.Build.targets(40,5): error : Error: dynamics://Class/DocBankPaymAdviceVendDSP/Method/generateXmlDataSource(100,23) - 'BankPaymAdviceVendController' is obsolete: ''This class is obsolete. Please use the BankPaymAdviceVendControllerV2 class.''. [C://DynamicsSDK//Metadata//BuildMetadata.proj]
C://DynamicsSDK//Metadata//Microsoft.Dynamics.AX.Application.Build.targets(40,5): error : Error: dynamics://Class/DocBankPaymAdviceVendDSP/Method/generateXmlDataSource(103,27) - 'BankPaymAdviceCustController' is obsolete: ''This class is obsolete. Please use the BankPaymAdviceCustControllerV2 class.''. [C://DynamicsSDK//Metadata//BuildMetadata.proj]
C://DynamicsSDK//Metadata//Microsoft.Dynamics.AX.Application.Build.targets(40,5): error : Error: dynamics://Class/DocBankPaymAdviceVendDSP/Method/overrideReportRunSettings(180,23) - 'BankPaymAdviceVendController' is obsolete: ''This class is obsolete. Please use the BankPaymAdviceVendControllerV2 class.''. [C://DynamicsSDK//Metadata//BuildMetadata.proj]
C://DynamicsSDK//Metadata//Microsoft.Dynamics.AX.Application.Build.targets(40,5): error : Error: dynamics://Class/DocBankPaymAdviceCustDSP/Method/generateXmlDataSource(99,23) - 'BankPaymAdviceCustController' is obsolete: ''This class is obsolete. Please use the BankPaymAdviceCustControllerV2 class.''. [C://DynamicsSDK//Metadata//BuildMetadata.proj]
C://DynamicsSDK//Metadata//Microsoft.Dynamics.AX.Application.Build.targets(40,5): error : Error: dynamics://Class/DocBankPaymAdviceCustDSP/Method/generateXmlDataSource(102,27) - 'BankPaymAdviceCustController' is obsolete: ''This class is obsolete. Please use the BankPaymAdviceCustControllerV2 class.''. [C://DynamicsSDK//Metadata//BuildMetadata.proj]
C://DynamicsSDK//Metadata//Microsoft.Dynamics.AX.Application.Build.targets(40,5): error : Error: dynamics://Class/BankPaymAdvicePrint_DR_Extension/Method/callPrinterSettings(8,13) - 'BankPaymAdviceCustPrint' is obsolete: ''This class is obsolete. Please use the BankPaymAdviceCustControllerV2 or BankPaymAdviceVendControllerV2 classes.''. [C://DynamicsSDK//Metadata//BuildMetadata.proj]
C://DynamicsSDK//Metadata//Microsoft.Dynamics.AX.Application.Build.targets(40,5): error : Error: dynamics://Class/BankPaymAdvicePrint_DR_Extension/Method/callPrinterSettings(13,18) - 'BankPaymAdviceVendPrint' is obsolete: ''This class is obsolete. Please use the BankPaymAdviceCustControllerV2 or BankPaymAdviceVendControllerV2 classes.''. [C://DynamicsSDK//Metadata//BuildMetadata.proj]
how can i resolve this error
C://DynamicsSDK//Metadata//Microsoft.Dynamics.AX.Application.Build.targets(40,5): error : Compiling Compiling DocentricAXSSRSReplicas failed. Log contains 0 fatals, 10 errors, 0 warnings. [C://DynamicsSDK//Metadata//BuildMetadata.proj]
 
 

 
 
 
  • Suggested answer
    Navneeth Nagrajan Profile Picture
    Navneeth Nagrajan 1,428 Super User 2025 Season 1 on at
    ISSUE while build from pipeline
    HI,

    After looking at the errors what Martin suggested in his post is right. You need to use the following objects instead of the old, obsolete objects. To elaborate refer to the table below.
    Obsolete vs New Objects
    Obsolete New
    BankPaymAdvicePrint
    BankPaymAdviceCustControllerV2 (AR)
    BankPaymAdviceVendControllerV2 (AP)
    BankPaymAdviceCustController BankPaymAdviceCustControllerV2 
    BankPaymAdviceVendController BankPaymAdviceVendControllerV2 
     
    You need to replace the obsolete objects with new objects. Add the new objects to version control (Azure DevOps TFVC or Git) and then check-in/commit your new objects. If you have X++ custom development on older objects, replace those custom development objects in the new classes. 
     
  • Landizar Profile Picture
    Landizar 2 on at
    ISSUE while build from pipeline
    These are the ISV Docentric's classes.  I would assume the ISV was updated recently, code was checked in (and some therefor delete), and a build was started.   For whatever reason, code can get backed up on The MSSQL Backup drive on the build VM specified on the pipeline (DevTest perhaps) here J:\DynamicsBackup\Packages.
     
    During a build when code is pulled down, these get restored.  Then, I think the new classes are applied over the restored ones, leaving the obsolete and deleted classes (from Azure DevOps/TFS) for the build to processes.
     
    If you remove the offending package (sub folder found in the above UNC) which is likely DocentricAXSSRSReplicas and can be confirmed somewhere close to all those errors saying the Model failed, then start a new build (not retry) it should hopefully move past.
  • Martin Dráb Profile Picture
    Martin Dráb 230,962 Most Valuable Professional on at
    ISSUE while build from pipeline
    It says that you're using old, obsolete objects that aren't supported anymore. You ignored the warnings for months and now the warnings changed to errors, to give you the last chance to upgrade your code before the objects are deleted completely.
     
    Each of the messages tells you the name of the new object that you should use insteasd of the old one. For example: 'BankPaymAdviceVendController' is obsolete: ''This class is obsolete. Please use the BankPaymAdviceVendControllerV2 class.'
  • ISSUE while build from pipeline
    Hello Siddharth,
     
    Can you let us know how did you resolve the below issue.

    Error: dynamics://Class/BankPaymAdvicePrint_DR_Extension(1,14) - 'BankPaymAdvicePrint' is obsolete: ''This class is obsolete. Please use the BankPaymAdviceCustControllerV2 or BankPaymAdviceVendControllerV2 classes.''.
     
    Thanks,
    Pavan
  • ISSUE while build from pipeline
    can you elaborate this i am not getting.
  • NAGA Profile Picture
    NAGA 7 on at
    ISSUE while build from pipeline
     
    Change the Parameter value to new class name in ExtensionOf attribute.
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,160 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans