Reputation: 43
I have installed windows phone 8 SDK and tried running a simple app. When I try to run the app in emulator the emulator does not get internet connection. It displays an error message saying "You don't have permission to modify internal Hyper-V network adapter settings required to run the emulator". Im sure my login has admin permissions.
Can anyone tell me how to get it working. Thanks so much..
Upvotes: 3
Views: 10045
Reputation: 59
1 - Go to Hyper-V Manager 2- Remove emulators Windows Phone 8. 3 - precionas Virtual Switch Manager 4 - Eliminate Internal Windows Phone Emulator. 5 - Restart 6- Start the emulator again.
I hope that is helpful.
Upvotes: 1
Reputation: 2397
I had a similar issue with Windows Phone 10 Preview Emulator under Visual Studio 2015 RC. The solution was:
Upvotes: 3
Reputation:
To solve this problem, I combined steps from this 2 posts:
Windows Phone 8 emulator error - Something happened while creating a switch and
I first ran XdeCleanup.exe from C:\Program Files (x86)\Microsoft XDE\8.0. Then, I entered Hyper-V Manager and created a new Virtual Switch (as described in the articles) - in Control Panel\Network and Internet\Network Connections it was created under the name vEthernet (Windows Phone Emulator Internal Switch).
I was also facing the problem that my internet connection uses user configured IP settings. The emulator created another virtual switch, called vEthernet (Broadcom NetLink (TM) Gigabit Ethernet Virtual Switch) , which resulted in no internet connection for my computer (Broadcom NetLink (TM) Gigabit Ethernet is the name of my real network adapter to which the created virtual switch was connected).
So, what I did was set the IP address and the other information of the virtual switch vEthernet (Broadcom NetLink (TM) Gigabit Ethernet Virtual Switch) to the information for the real adapter, which solved the internet connection problem of my PC.
Hope this helps
Upvotes: 4
Reputation: 164
You should try out the following things -
Hope this helps. :)
Upvotes: 5