Windows Phone 8 emulator error - Something happened while creating a switch

Solution 1:

It's already answered, but something easier worked for me (and without uninstalling VirtualBox):

"Go into Hyper V. Go into the Virtual Switch Manager. Create a virtual switch called 'Windows Phone Emulator Internal Switch'. Make it's connection type Internal. Now launch the emulator. It should work."

I had to reboot the machine before running the emulator, but now everything's working fine: VS2012, Xde and VirtualBox.

Credits go to TheGeekNextDoor.

Solution 2:

Open the Hyper-V Manager from the start menu, and open the Virtual Switch Manager. Remove any existing switches, and try make a new virtual switch with a connection type set to internal.

You might need to run XdeCleanup.exe afterwards.