Dynamics 365 Blog - Posts from März 2020

These posts are machine-translated.
Currently, only posts from »März 2020« are displayed Filter entfernen

Error "The step failed" during platform update 32 while updating retail self service

If the following error occurs during a platform update of a local VPC...

GlobalUpdate script for service model: RetailSelfService on machine: D365Local
Update Retail self service.
UpdateRetailSelfService.ps1 failed.
The step failed
The step: 52 is in failed state, you can use rerunstep command to debug the step explicitly
   at Microsoft.Dynamics.AX.AXUpdateInstallerBase.RunbookExecutor.ExecuteRunbookStepList(RunbookData runbookData, String updatePackageFilePath, Boolean silent, String stepID, ExecuteStepMode executeStepMode, Boolean versionCheck, Parameters parameters)
   at Microsoft.Dynamics.AX.AXUpdateInstaller.Program.InstallUpdate(String[] args)
   at Microsoft.Dynamics.AX.AXUpdateInstaller.Program.Main(String[] args)

...it might help to start the Azure storage emulator and then continue the update process at the failed step.


 
 
 

Remove label file on a development environment

If you should get into the embarrassment of having to delete a label file on a development environment, you should case check afterwards whether fragments of this label file are still left in the following directories:

  • C:\AOSService\PackagesLocalDirectory\MyModel\MyModel\AxLabelFile
  • C:\AOSService\PackagesLocalDirectory\MyModel\Resources (also in subdirectories per language)

 
 
 

Simple time measurement in code

To measure the execution time of a function/logic, you can use System.Diagnostics.Stopwatch:

System.Diagnostics.Stopwatch watch = new System.Diagnostics.Stopwatch();
watch.Start();
// ... do something
watch.Stop();
info(strFmt("%1ms", watch.ElapsedMilliseconds));

 
 
 

[BPFrameworkFatalException]:A fatal exception occured in the Best Practices framework

I have had the problem in the past that the BP test did not find all expected deviations or even the following error was issued:

[BPFrameworkFatalException]:A fatal exception occured in the Best Practices framework.

In all these cases it has helped to disable the following rule: BPCheckTableDimensionFields

D365 Best practice rules

I found the decisive tip in the Dynamics 365 Community


 
 
 

 

 
 
 
Posts of the actual month
März 2020
MoTuWeThFrSaSu
 1
2345678
9101112131415
16171819202122
23242526272829
3031 
 
© 2006-2024 Heinz Schweda | Imprint | Contact | German version | Mobile version
In order to provide you with better service, this site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies.