Windows Phone Emulator wasn’t able to connect to the Windows Phone operating system + Invalid pointer

Hello there,

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:

  1. Started Hyper-V manager
  2. Virtual Switch Manager
  3. 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,
Lukasz

 

 

10 myśli nt. „Windows Phone Emulator wasn’t able to connect to the Windows Phone operating system + Invalid pointer”

  1. 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).

  2. 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

Dodaj komentarz

Twój adres email nie zostanie opublikowany. Pola, których wypełnienie jest wymagane, są oznaczone symbolem *