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

7 thoughts on “The Windows Phone Emulator wasn’t able to connect to the Windows Phone operating system

  1. Jay Mack December 30, 2012 / 12:37 am

    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.

    • Jay Mack December 30, 2012 / 12:40 am

      That’s actually Go to Network Sharing and select change network adapters, typing too fast

  2. Vasu October 17, 2013 / 8:44 am

    Thanks a lot!! 🙂

  3. JoeH October 8, 2014 / 11:30 pm

    worked like a champ for me. thanks…

  4. Gordon October 4, 2015 / 4:36 am

    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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s