Hello there, I need some help with deploying reports that depend on business logic project to an environment. A little background on the current steps, We are on AX 2012 R2 CU7 with Kernel version at 6.2.1000.9753 and Application version: 6.2.1000.4051 All depending objects (SSRS report, SSRS report project, business logic project and SRSDrillThroughCommon) are on the same layer I do not have any problem during the build or deployment of the model. After deploying the model, I am able to successfully compile and generate full CIL without any errors. While publishing of the report that has dependent BLL and SRSDrillThroughCommon fails. In order for me to successfully deploy the report, I have to load all dependent projects in visual studio and then compile. After this step I am able to deploy the report. However I am trying to avoid this in production environment. Please advise if I have to change my deployment strategy or is there a way I can compile the business logic project separately using AXBuild. Using Get-AXReport cmdlet I can see both dependent projects business logic and SRSDrillThroughCommon. While using Publish-AXReport cmdlet, first I get a warning message that " Parts of the report deployment failed because one or more business logic assemblies was not available. Make sure all referenced business logic assemblies exist in the Microsoft Dynamics AX client application Object Tree .", then it fails with the following error message. " Publish-AXReport : System.Web.Services.Protocols.SoapException: Error while loading code module: 'SalesInvoiceReport.BusinessLogic, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Details: Could not load file or assembly 'SalesInvoiceReport.BusinessLogic, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. " After inspect the business logic visual studio project in the AOT, I don't see any dll reference in under "Project output", typically after compiling the project from visual studio environment I will see the SalesInvoiceReport.BusinessLogic.dll here. But this project does get generated when I compile the project from the AOT. I am able to deploy a report, that has similar business logic project reference, but with the dll in the project out. I greatly appreciate any suggestions/ insights into the visual studio project compilations within AOT. I am even looking for an option to force the compile on a single project. Thank you,
↧