The Windows Phone Emulator wasn’t able to connect to the Windows Phone operating system

Today I fired up Visual Studio to create a Windows Phone application, just like I had done the past couple of days, only to be faced with;

[Window Title]
Windows Phone Emulator

[Content]
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.

[Close]

Hmm, what the **? I had a look around the internet and saw some horrible posts about re-installing the SDK. Ergh. One post mentioned an internal developer who had to uninstall VPNs, and remove all the virtual switches. None of which filled me with joy. So I opened Hyper-V manager and looked at the virtual switch settings for the phone emulator. I nodded sagely, then removed it – hoping the emulator would spot it was missing the settings and recreate them. It worked, the emulator recreated the settings and worked. Hurray! Hopefully it won’t happen too often…strange.

Advertisements
This entry was posted in Windows Phone and tagged , , , . Bookmark the permalink.

7 Responses to The Windows Phone Emulator wasn’t able to connect to the Windows Phone operating system

  1. Jay Mack says:

    This was very helpful, deleting the network adapters in the settings didn’t work for me, but it lead me on the right path, the problem seemed to be fairly simple to solve, I just had to Network adapters, change network adapters and enable vEthernet for Window Phone Emulator and that was it.

  2. Pingback: Andrea Grandi » Blog Archive » The Windows Phone Emulator wasn’t able to connect to the Windows Phone operating system: how to fix it

  3. Vasu says:

    Thanks a lot!! 🙂

  4. JoeH says:

    worked like a champ for me. thanks…

  5. Gordon says:

    Worked for me. My WP8.1 emulator starting giving this message after upgrading by dev box from Win8.1 -> Win10.

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