web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

ISSUE while build from pipeline

(1) ShareShare
ReportReport
Posted on by 2
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]
 
 

 
 
 
I have the same question (0)
  • NAGA Profile Picture
    7 on at
     
    Change the Parameter value to new class name in ExtensionOf attribute.
     
  • Siddharth mujumdar Profile Picture
    2 on at
    can you elaborate this i am not getting.
  • PM-21111311-0 Profile Picture
    2 on at
    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
  • Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at
    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.'
  • Landizar Profile Picture
    2 on at
    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.
  • Suggested answer
    Navneeth Nagrajan Profile Picture
    2,438 Super User 2025 Season 2 on at
    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. 
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 503 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 434 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans