Question

When I try to start debugging my windows phone 8 app in Emulator WVGA 512MB the following error message is showing

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.

and the emulator is always showing The Windows Phone OS is starting... Can't understand what's the problem. Please advice.

Was it helpful?

Solution 2

At last the problem is solved.

  1. Open Hyper V Manager
  2. Delete all installed Virtual Machines
  3. Delete all Virtual Switches
  4. Restart system
  5. Rerun visual studio

Thanks to Shiv Kumar Ganesh

OTHER TIPS

This worked for me (found here):

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

I had the same problem. After a long investigation and checking the event log, learned that windows firewall is blocking the emulator connecting to the virtual machine. With that information it is simple to fix the problem.

Yes! Just navigate to Control Panel -> System and Security -> Windows Firewall -> Allow app or feature through Windows Firewall. And click on Add another app button and browse the emulator's path (typically "C:\Program Files (x86)\Microsoft XDE\8.0\XDE.exe" but may vary based on your installation location). Choose the appropriate network type that you want and add the new item.

Now go back to VS and run your application (close any emulator instance that you have opened already), everything should work fine now!

the solution that worked for me :

  1. open Hyper V
  2. Select ur VM and go to Virtual Switch Manager.
  3. Select Windows Phone Emulator Internal
  4. if your connection is Internal then , check the Enable VLAN Identification option
  5. press F5 from VS .

good luck!

Just reboot

No magic needed. Just reboot your development machine after installing Windows Phone SDK.

what your describing is usually due to a Firewall of a third party Anti-virus.

If your using Symantec follow this procedure https://stackoverflow.com/a/26326528/4446346

If your using Windows Firewall follow this procedure https://stackoverflow.com/a/27685167/4446346

and If you'r using AVG do the following procedure:

  1. open AVG and go to-->Options-->Firewall Settings-->Expert mode-->Advanced Settings.
  2. Check the "Allow any traffic from/to virtual machines supported by firewall"
  3. and click "OK".

One more thing you must do is go to the "Windows Phone Emulator Internal Switch" and uncheck "AVG network filter driver"

  1. open Network and Sharing Center-->Change Adapter Settings-->Properties

  2. Uncheck "AVG network filter driver"

If you are loading the emulator for the first time, it behaves just like the phone (on first boot) where it will install the initial set of apps and configure them. Which is why the first start will take a long time. You can actually open Hyper-V manager and connect to the VM you had selected at the time of initiating debug - to see the actual progress of what is happening. Hope this helps.

You can disable Hyper-V from Program and Features and reboot your machine twice. Everything will be default. Enable Hyper-V and reboot twice and everything should be working again.

Also you can check if your vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch) in Network and Sharing Center is enabled (mine was not, and I got same error like you).

Check that you have enough free space in your hard drive.

If you have a computer with a touch-screen and get this error, it can be because Hyper-V is trying to port over the touchscreen-fx to the virtual device.

This is (when found) easily corrected:

  1. Shut down all attempt at launching virtual devices.

  2. Go to: Hyper-V Manager->Hyper-V-settings->Physical GPU:s // Uncheck box "use this GPU with RemoteFX"

Try uninstalling vmware player 12 if you have ,I have tried several ways but nothing works until I remove it. Hope it could help you.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top