Pages

Monday, April 23, 2012

How to change the UUID of a virtual disc for use with VirtualBox

The virtual disc images we get from Microsoft usually have the same UUID as earlier disc images from Microsoft.

This is a problem if you wan't to run several images with VirtualBox because VirtualBox assumes, well that the different discs have different UUID's.

Here's how to change the UUID of a new disc image.

Open a command prompt and go to the VirtualBox program folder. This is most likely C:\Program Files\Oracle\VirtualBox

Run the vboxmanage internalcommands sethduuid [file] command. For example:
vboxmanage internalcommands sethduuid "C:\DEMO\AX2012-A.VHD"

Tuesday, April 17, 2012

MS internal procedures in the "How to Write Upgrade Scripts for Microsoft Dynamics Ax 2012"

This is just a heads up, so you don't let yourself be confused about the instructions.

In the Coding Best Practices chapter there's a sub-chapter called Deleting a Table or Field from the Data Model. The specific instructions under 1.a and 1.b are internally instructions related to how Microsoft's works with their internal version control system.

The rest seems relevant enough; You need to rename the elements, pre-fixed with "DEL_". You need to apply the elements to the relevant "SysDeletedObects..." configuration key. You have to move the elements manually to your own "Upgrade" model.