recently I encountered a problem trying to start a Windows Phone Emulator from within Visual Studio 2012. In a WP8 project, starting a debugging session effected in loading the emulator box, but then right away stating the following:
The Windows Phone Emulator wasn’t able to connect to the Windows Phone operating system:
The emulator couldn’t determine the host IP address, which is used to communicate with the guest virtual machine.
Some functionality may be disabled.
The WP8 app did not start, all I could see was the main tiled page of the emulated phone. Additionally, Visual Studio reported an error: „Invalid pointer„.
Some sources on the web state that this might me caused by an interference between e.g. VPN client software and the emulator network usage. It was not quite what I would want to do, and luckily I found another solution:
- Started Hyper-V manager
- Virtual Switch Manager
- Removed the „Windows Phone Emulator Internal Switch” from the list, and applied the changes.
Starting the emulator afterwards required an elevation of privileges for the system in order to create the switch again, this time without any conflits.
Et voilá, emulator does not seem to have connectivity problems anymore, the debugging works as it should.
Hope it helps,
10 komentarzy do “Windows Phone Emulator wasn’t able to connect to the Windows Phone operating system + Invalid pointer”
awesome thank you!
follow the following steps to solve this problem
1.go to network and sharing center
2.go to change adapter setting
3.go to v Ethernet (internal Ethernet port windows phone emulator internal switch)
4.right click it and enable it(if already enabled then disable and enable it again).
It works! Thank you~
Thank A lot hey this helped more than a lot, I was frustrated about this thing cause I was doing my semester project.. thanks a lot
Thanks alots.In addition to the above steps, allowed the emulator(Xde.exe) in my firewall settings as well. Worked!