Category Archives: Fail

Round 1, fight! Windows Phone 7 emulator x VmWare

Hi Folks,

I have been using VMware Server (free edition under here) to run some 64bit machines under my Windows 7…

So basically my idea is to have some “heavy” stuff defined on a 64 bit machine like database servers, iis and so on… This has been working quite nicely until I run the Windows Phone 7 emulator…. Or actually even if a I run Virtual PC XP Mode…

Basically VMWare crashes all running virtual machines as soon as any other process using Hardware virtualization starts… The error is something like:
VMware Server unrecoverable error: (vcpu-1)VCPU 1 RunVM failed

Look the solution that VMWare recommends as resolution here:

“This issue can occur when you are running VMware Workstation and another organization’s virtualization software at the same time. Running Workstation and another organization’s virtualization software simultaneously on the same system is not supported.

VMware recommends uninstalling the other virtualization software to allow Workstation to operate without errors. “


OMFG, I would love to say this to my customers: Hey, our software is not running because competitor’s software is breaking it. The solution is to remove the competitor software! Hahaha! Life is not so easy! Mainly because in my case I’m talking about an Emulator which visual studio needs to connect and so on… Not so easy…

So I have been searching all around and I(not really, read on another blog) that it is all about the usage of Hardware virtualization… On Virtual PC you can just disable (or enable which is the best…) it very easy:

But what about the Windows Phone emulator??

Well, what I’m going to show next was the first solution that I found out by myself doing some trials to workaround this… At the moment I have the lattest Windows Phone Tools running(7.1 beta), so All paths will be referring to it… Basically I fould out that there are 2 files with extension “.decfg” on the XDE Folder:


I modified the first one, disabling the HW acceleration (EnableHWAssist):
<?xml version=”1.0″ encoding=”utf-8″?>
<WindowsPhoneEmulator xmlns=””&gt;
<ConsoleWindow Reconfigurable=”static” Type=”bool”>false</ConsoleWindow>
<ZoomFactor Reconfigurable=”dynamic” Type=”dword”>66</ZoomFactor>
<X Reconfigurable=”dynamic” Type=”int”>0</X>
<Y Reconfigurable=”dynamic” Type=”int”>0</Y>
<EnableHWAssist Reconfigurable=”static” Type=”bool”>false</EnableHWAssist>
<GuestQPF Reconfigurable=”static” Type=”dword”>10000000</GuestQPF>
<GPUEnabled Type=”bool”>true</GPUEnabled>
<Enabled Type=”bool”>true</Enabled>
<VMNetEnabled Reconfigurable=”static” Type=”bool”>false</VMNetEnabled>


Next step after doing this is to create the new command line which will run the XDE. The one that I found out is:
XDE.EXE “C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.1\Emulation\Images\WM70C1.en-US.bin” /decfg “C:\Program Files (x86)\Microsoft XDE\1.0\config_board0.decfg” /VMID {08F58FF1-69CE-4427-B8E7-D16FEEBD3791}


  • “C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.1\Emulation\Images\WM70C1.en-US.bin” is the Image to load up
  • “C:\Program Files (x86)\Microsoft XDE\1.0\config_board0.decfg” is the modified setting file
  • {08F58FF1-69CE-4427-B8E7-D16FEEBD3791} is the ID of the machine…. Don’t ask me why?! I found out that there are two ID’s on my machine, under the “C:\ProgramData\Microsoft\XDE” folder.

I tried with both but it just allowed me to debug from Visual Studio when I renamed this first one…. Then it runned properly(made a full boot). Of course it runs slowler than normal, but at least my VM’s are still running! J

So basically what I’m going to do is just run this command line before I run Visual Studio. Then it will not launch the “default” emulator that kills all my vmware machines. Actually I tried also with VirtualBOX and same issue happened…

For now that’s it. I made this post in a hurry… Hope that it helps someone else that has this issues..

The 3rd Failure…

Again! L

So this time only one bug was reported:

The thing is that I’m using MVVM Light and I made the mistake to just set one complete ViewModel object(inherits from MVVMLight.ViewModelBase) during a tombstone operation.

The issue is that the ViewModelBase parameterless contructor is protected… Then this failure happened. Taking a look on the web, this issue might be solved on next MVVM releases.


OK. In the end was my mistake to just save a complete viewModel to the phone state. Now it is fixed… I just submitted the app few minutes ago.

Let’s wait and see what comes next…

Failing the test(again)

Hi Folks!

Well… This is becoming too boring. J My app failed again… L

This time was Sharepoint!? I believe that they were mentioning to the icons that I was referring to Team project…. Here they are:

I think this time they really exaggerated…. But OK. I removed these icons and I’m using some “generics” now.

I hope that now they don’t come up with any complaints!

Besides that they detected one bug when the user has the background set to light… Who is really using this light background? This is a battery killer! J But anyway…

So this is the chart that they refer to. You can see that it is really hard to read the axis data….:

This was one mistake from my side. I fixed the backcolor to “black”… Everything looks ok when the phone background is dark… But when it was light…. So I just changed to use the {PhoneBackgroundBrush} and life is good.


OK… Application re-submitted… I hope that this time it gets the green light and gets published to the MarketPlace.

This certification process is a bit boring but I’m happy to see that the guys are really testing the app. That’s the only way to have a not so high # of bugged aps. J Let’s move on!

The day that I failed the test :(

Hi Folks!

It took a while (6 days) until I got a feedback from WP7 market place. The feedback was that my application failed the test. L

OK OK! J I was innocent enough to believe that the usage of Visual Studio logo would create me any trouble…. I could try to get some sort of approval from MS but I think that they should not allow me to use the logo and at the end the process to get one answer would take really long… Then I changed the logos to avoid problems!


The other requirement that the app failed was:

To be honest I was not thinking that they were going to really test the app by running it and so on… This creates some trouble for me because I would need to give them access to a test environment… OK OK. Codeplex came to save my day! I created one test project to give them access… As soon as the app became public I will publish the test credentials also on the blog.

Another very important topic was that I didn’t give any instruction to the tester guys…. So when you submit your app, be sure to give something on the “Tester notes” field.

This time when I re-submitted my app I gave very clear instructions to the testers…

Let’s see if this time we come through! J

I will update the blog as soon as I hear something new. I hope this time I hear something faster!