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

 

 

About these ads

~ by Łukasz on 13 February 2013.

6 Responses to “Windows Phone Emulator wasn’t able to connect to the Windows Phone operating system + Invalid pointer”

  1. Thanks alot.

  2. awesome thank you!

  3. […] saya mencoba mencari-cari cara fixing problem ini, saya mendapati dari blog ini. Cara memperbaikinya seperti dibawah […]

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

  5. thanks you

  6. It works! Thank you~

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

%d bloggers like this: