You are on page 1of 7

Dynamics NAVAX: How to run AX2012 HyperV on Virtualbox (Step by step guide)

25-May-15

Dynamics NAVAX
All things Microsoft Dynamics AX
Sunday, 24 April 2011

How to run AX2012 HyperV on Virtualbox (Step by step guide)


1. Go to http://www.virtualbox.org/wiki/Downloads
Download virtual box and the extension pack.

About Me

Munib Ahmed
View my complete profile
Microsoft Dynamics AX MVP 2014

Links

Microsoft Dynamics AX
Community
axaptapedia
DUG
mibuso
Taxonomy

2. Once you have installed, create a new virtual machine.

3. Select Windows 2008 64bit

4. Allocate a good portion of memory (4GB recommended)

http://dynamicsnavax.blogspot.com/2011/04/how-to-run-ax2012-hyperv-on-virtualbox.html

AX (46)
AX2012 (61)
AX2012R2 (39)
AX2012R3 (19)
Azure (2)
Bank (2)
Best Practice (5)
BI (1)
BOF (2)
CAL (1)
Change tracking (1)
CopyCompany (1)
Cube (1)
Data migration (17)
Daxeam (5)
Debug (1)
EP (1)
Error (4)
Exchange rate (1)
General (29)
Help (3)
HowTo (14)
HyperV (3)
Idea (4)
Install (1)
iPhone (1)
ISV (1)
Job (4)
LCS (1)
Licensing (6)
Links (2)
Mobile (1)
Model (1)
MR (1)
NAV (7)
Performance (1)
Powershell (2)
RTC (2)
Scrum (6)
Security (3)
SQL (4)
SSRS (8)
Testing (1)
TFS (2)
Tip (35)
Upgrade (3)
Virtualbox (3)
WCF (1)
WebServices (3)
Win8 (1)
Workflow (7)

1/7

Dynamics NAVAX: How to run AX2012 HyperV on Virtualbox (Step by step guide)

25-May-15
X++ (24)
Xpp (7)

6. Un-tick the boot Hard Disk. Add disks manual after the wizard is finished.

6. Click on your new virtual image settings

7. Navigate to Storage
Add hard disks by clicking the disk icon then Choose existing disk
Repeat this step for all 3 vhd files.
AX5-W8R2-01.vhd
AX5-W8R2-01_DB.vhd
AX5-W8R2-01_PF.vhd

8. After you have finished. Settings should look like this:

http://dynamicsnavax.blogspot.com/2011/04/how-to-run-ax2012-hyperv-on-virtualbox.html

2/7

Dynamics NAVAX: How to run AX2012 HyperV on Virtualbox (Step by step guide)

25-May-15

9. Start your image

Configure sharepoint
After you have managed to get it to start, there are a couple other things to be aware of:
1. Start the AOS by going to the windows services and start manually
2. All seems to work except for Enterprise Portal
To fix this modify your hosts file C:\Windows\System32\drivers\etc\Hosts
Open this file with notepad and add in the line
127.0.0.1
Sharepoint
127.0.0.1
dynamicsax.contoso.com
It should look like this:

3. When you run a report - it will be slow on first run. Don't kill it; leave it for a few minutes. Mine took ~4minutes to run first time. After that, it is very
responsive. Standard SSRS caching.

Update 07-10-2011:
RTM version of the image uses
127.0.0.1 dynamicsax.contoso.com

Enjoy.
Posted by Munib Ahmed at 09:40
Labels: AX, HowTo, HyperV, Virtualbox

46 comments:
Zahir Khan said...
Lovely article... Helped me... Thanks a bunch frd :)

http://dynamicsnavax.blogspot.com/2011/04/how-to-run-ax2012-hyperv-on-virtualbox.html

3/7

Dynamics NAVAX: How to run AX2012 HyperV on Virtualbox (Step by step guide)

25-May-15

26 April 2011 at 14:40

Ragin Patel said...


5 STARS....
It works perfectly. Thanks a lot.
3 May 2011 at 09:57

Henrik said...
Does this require that you run this on a 64 bit system?
4 May 2011 at 18:46

BINUM said...
I had this question before and from my understanding the guest and host machine need to be on the same hardware. 64bit guest on a 64bit host.
Have a look at this wkik link on virtual box site:
http://www.virtualbox.org/wiki/Virtualization
I could be wrong as I never tested it.
Keep in mind - even if you manage to run it on a 32bit machine you may find it extremely slow. Max memory is 4GB and you may allocate 2GB to the
vm.
5 May 2011 at 10:50

Mirko Bonello said...


I ran it on 32-bit OS and 64-bit hardware and it worked!
7 May 2011 at 00:18

Mukesh said...
Very Good help!!! It will help to explore most awaiting AX 2012
8 May 2011 at 01:54

AXTINU said...
I ran it on 64-bit OS with only 2.5 GB Memory assigned. Starts slowly but fine.
But i'm getting AOS Service Error: Error 1053 The service did not respond to the start or control request in a timely fashion.
Is this because of lack of Memory?
21 May 2011 at 15:26

BINUM said...
Ignore the message. It should start in the back ground. You just won't see the progress bar.
21 May 2011 at 21:59

AXTINU said...
What do you mean with "Ignore the message"? AOS service does not start in the background and when i try to start AX 2012 i get the message
"Connection the the Application Object Server could not be established". Do you have further ideas or is it because of low memory?
22 May 2011 at 14:23

BINUM said...
Sorry no ideas.
What I thought would happen is, it would start in the background. Services that take a while to start like the AOS usual give this timeout message.
22 May 2011 at 17:46

AXTINU said...
Thanks. I try to upgrade to 8GB and then assign about 5GB to VM. I will post my results
22 May 2011 at 18:18

Compupasha said...
Excellant article, thanks. what is the username and password to login the windows when it is starting AX2012 HyperV?
23 May 2011 at 16:06

AXTINU said...
You'll find this information in a document located in the same download area as AX-2012 PreRelease VM
23 May 2011 at 20:29

Anonymous said...
Once I start My virtualBox Machine it doesn't stop restarting all the time on and on...
Has anybody experience same?
24 May 2011 at 22:55

BINUM said...
Follow these steps exactly. Attach it as IDE rather than SATA controllers.
That is usually the problem.
25 May 2011 at 08:10

AXTINU said...
with 8GB it works perfectly
27 May 2011 at 23:43

mhjort said...
I'm running the image on a 64-bit lenovo and experienced the restart over and over as well. My issue was that the lenovo has all HW virtualization

http://dynamicsnavax.blogspot.com/2011/04/how-to-run-ax2012-hyperv-on-virtualbox.html

4/7

Dynamics NAVAX: How to run AX2012 HyperV on Virtualbox (Step by step guide)

25-May-15

disabled by default in the BIOS. once enabled it worked like a charm


31 May 2011 at 16:19

BINUM said...
If you have followed these steps and still experiencing difficulty. I have a post with some recommendations:
http://dynamicsnavax.blogspot.com/2011/06/how-to-run-ax2012-hyperv-on-virtualbox.html
6 June 2011 at 18:07

Anonymous said...
hi AXTINU
how much will be minimum ram required to run VM as per your experience.
I am also suffering same problem and receiving error 1053.
16 July 2011 at 17:13

Munib said...
I have 8GB and allocated 4GB. Seems to run fine like that.
Obviously first time round, its a little slow but once it warms up. It performance fine.
I am not sure about the error code but when you start the AOS, it is common for it to timeout. It will still start in the background. Give it a few minutes.
19 July 2011 at 20:28

Steve said...
Hi all,
Thanks for this article - I have successfully installed the Hyper-V image and AX 2012 is running.
However,
I have a problem with Sharepoint - I modified the hosts file as advised but, both the Role Center in AX and the Enterprise Portal fail to open :(
Any clues ?
I have set Network Adapter 1 to Internal Network and Adapter 2 to NAT and Adapter 3 to Host Only Adapter - should these be changed ?
Any help gratefully received
16 September 2011 at 23:27

GK said...
Excellent article. It works!!!. I am able to run AX2012 from my WIN7 system.
26 September 2011 at 21:11

Munib said...
I havent had too many issues around the sharepoint issue. Try to reboot your image and give it ago.
Or restart IIS.
28 September 2011 at 16:01

Kristin said...
Steve,
i added
127.0.0.1 dynamicsax.contoso.com
to the host file (see last step in the step by step guide). After that enterprise portal and my role center worked.
3 October 2011 at 22:21

Anonymous said...
I have installed AX 2012 on Virtualbox and it works fine. However when i want to switch the database that AX uses, from the default database to the
demo database, i get a service 1053 error. I have changed the registry so that the AOS has 120 seconds but that still didn't work. Any ideas?
3 October 2011 at 23:35

DavidF said...
Thank you for this article. When I start the virtual pc, I receive the error: No bootable medium found. System halted.
Please tell me what I did wrong.
22 October 2011 at 05:00

DrBillC said...
I've created a video on setting this up and placed it on YouTube: http://youtu.be/YrJP5Xg9etY
25 October 2011 at 05:12

jean-luc poulet said...


thanks for this helpfull description.
it works perfectly on my laptop, except the exchange server (on partB) stays "unavailable".
can you run it ? did you setup something special for that ?
thanks in advance
22 November 2011 at 19:08

Raghav said...
Hi ,
I have done the above steps , but I am getting an error as
"Failed to open session for Virtual machine
VT-x features locked or unavailable in MSR (VERR_VMX_MSR_LOCKED_OR_DISABLED)."
Can any one help me on this please ?
31 December 2011 at 04:21

Raghav said...
Hi ,
I have done the above steps , but I am getting an error as
"Failed to open session for Virtual machine
VT-x features locked or unavailable in MSR (VERR_VMX_MSR_LOCKED_OR_DISABLED)."

http://dynamicsnavax.blogspot.com/2011/04/how-to-run-ax2012-hyperv-on-virtualbox.html

5/7

Dynamics NAVAX: How to run AX2012 HyperV on Virtualbox (Step by step guide)

25-May-15

I am using WINDOWS 7 64-BIT OS (6 GB RAM)


Can any one help me on this please ?
31 December 2011 at 04:23

Morgan Sundqvist said...


Hi Ragav,
I had that problem on a Dell E5400.
I had to use this guide.
http://mathy.vanvoorden.be/blog/2010/01/enable-vt-x-on-dell-laptop/
And restart a bunch of times.
Then it worked.
br
Morgan Sundqvist
10 January 2012 at 16:29

Manuel Veloso said...


hi, i have followed the above steps, but i cant get into EP (yes i made the change to the host file) i simply get a "internet explorer cannot display this
page" error ... any ideas?
21 January 2012 at 05:47

Anonymous said...
Thank you so much for the vdo. Can you also provide step how to enable EP and Role center?
Thank you in advance
29 January 2012 at 22:47

RogerL said...
Perfect advice. An example to all bloggers. Thanks a lot.
29 February 2012 at 18:19

Bert Hidding said...


1 June 2012 at 22:23

Bert Hidding said...


I installed the Virtual Box with the following settings for AX2012:
IDE Primary Master:AX2012-A.vhd
IDE Primary Slave: AX2012-B.vhd
IDE Secundary Master: Ax2012-C.vhd
Also put in the host file the following two rows:
127.0.0.1 Sharepoint
127.0.0.1 dynamicsax.contoso.com
When I start AX I get the message: 'The server is unavailable check your configuration and network connection an ry again'
Can anybody help me?
1 June 2012 at 22:30

Sachin Khurana said...


Thanks..this was really useful
9 June 2012 at 19:40

Juho Heino said...


Bert Hidding:
If you still have the same error message, try restarting AOS. It worked for me :)
http://technet.microsoft.com/en-us/library/aa570102.aspx
24 July 2012 at 14:17

Murli said...
For "The server is unavailable check
your configuration and network connection an ry again'

Start your DAX AOS Service.


16 October 2012 at 23:05

Murli said...
For "The server is unavailable check
your configuration and network connection an ry again'

Start your DAX AOS Service.


16 October 2012 at 23:10

Myles Yamada said...


Thank you for this. I had allocated too little memory for the VM and it was not responding well. I reinstalled using your blog instructions and all went
well.
5 March 2013 at 00:10

http://dynamicsnavax.blogspot.com/2011/04/how-to-run-ax2012-hyperv-on-virtualbox.html

6/7

Dynamics NAVAX: How to run AX2012 HyperV on Virtualbox (Step by step guide)

25-May-15

Colin Clarson said...


I am still getting tripped up by the Role Centre / Sharepoint issue, I have just downloaded the latest release from MS for AX2012 (refreshed in March),
I have modified the hosts file but still no joy. Can someone please explain the "concept" behind how the loopback connection is supposed to work ,
as I am in the dark right now
2 April 2013 at 10:31

DrBillC said...
If you're running the R2v2 image under VirtualBox and *not* using the DNS server you'll need to add the following hosts file entries:
127.0.0.1 www.contoso.com
127.0.0.1 www.fabrikam.com
127.0.0.1 dynamicsax.contoso.com
127.0.0.1 my.contoso.com
127.0.0.1 dynamicsaxhelp
127.0.0.1 intranet.contoso.com
127.0.0.1 ax2012r2a
You'll also need to edit the IIS bindings for all but ax2012r2a to use all available instead of the 10.x addresses that they come assigned to.
13 June 2013 at 05:26

Rachit Garg said...


Nice post. This was really helpful. I have also referred it in my blog http://axrachit.blogspot.in/2013/06/vt-x-features-locked-error-resolution.html.
Thanks!!!!
29 June 2013 at 17:27

Anonymous said...
I have Windows 7 64 machine and have installed VirtualBox on it.
I have enabled all the virtualization options in BIOS.
I have created Hyper-V virtual machine and installed Stand-Alone version successfully.
I have installed Remote Server Administration Tools for Windows 7.
My Hyper-V guest and Windows 7 host communicate with each other as well,
thus I have successfully created Windows XP virtual machine on Hyper-V
BUT
When I try to start this WinXP virtual machine through Hyper-V Manager I get error:
The virtual machine could not be started because the hypervisor is not running
any ideas, how to fix this problem ?
Thanks in advance, Nrupesh
25 July 2013 at 15:04

Chandra Setiawan said...


Nice sharing, Thanks!
if you are interested to run VM AX 2012 R3 on laptop with best performance, visit the tutorial here:
http://daxetlbi.blogspot.sg/2014/09/optimize-ax-2013-r3-virtual-machine.html
11 September 2014 at 19:04
Post a Comment
Newer Post

Home

Older Post

Subscribe to: Post Comments (Atom)

Simple template. Template images by Bim. Powered by Blogger.

http://dynamicsnavax.blogspot.com/2011/04/how-to-run-ax2012-hyperv-on-virtualbox.html

7/7

You might also like