Click here to Skip to main content
15,885,767 members
Articles / Mobile Apps

How to Solve Issues of Internet Not Working with Windows Phone 8 Emulator

Rate me:
Please Sign up or sign in to vote.
4.64/5 (3 votes)
4 Mar 2014CPOL3 min read 38.9K   1   2
This blog will help you to solve the issues while connecting Internet with Windows Phone 8 emulator during deployment process.

If you are facing issues while connecting the Internet with Windows Phone 8 emulator during deployment process and getting an error message like “Windows Phone emulator was not able to connect to Windows Phone operating system. Phone didn’t respond to connect request” or on opening IE(Internet Explorer) of Windows Phone emulator, getting message “We can’t connect to search right now. Make sure airplane mode is turned off, or check your cellular data or Wi-Fi connection” even if your system is connected with Internet connection. However when you deploy the same Windows Phone application of Windows Phone device (developer unlocked), it works fine without any issues. I can understand this one is weird to consider that same application is behaving differently with same wi-fi connection. I've experienced the same feeling after upgrading from Visual Studio 2012 to Visual Studio 2013 IDE with Windows 8 OS to Windows 8.1 OS though it was working fine on Windows 8 With Visual Studio 2012. I have tried many tips & tricks available on many websites, blogs and even on MSDN website - [Troubleshooting the Windows Phone 8 Emulator] but I was unable to solve the issues. Finally, after using some more steps, I am able to connect the Internet with Windows phone 8 emulator using WI-FI.

Possible Solution to Solve Internet Issues with Windows Phone 8 Emulator

Follow the given steps:

Step 1 - Move to “Control Panel\All Control Panel Items\Administrative Tools”. Here, remove each and every Virtual Machines listen under.

Step 2 - Remove Hyper-V and then Restart the System.

Step 3 - After restarting, Install Hyper-V once again.

Step 4 - Open Visual Studio and Run any Windows Phone 8 app to start the emulator.

Step 5 - It will again create all the needed Virtual Machines (you can notice from Hyper-V Manager tools)

Step 6 - While loading emulator, it will prompt for letting the emulator access the internet. say yes.

Step 7 - Let the emulator and your project fully load

Step 8 - Now you need to shutdown the emulator (by closing directly or use Shift + F5) and close Visual Studio.

Step 9 - Now Open Network and Sharing Centre

Step 10 - Click change Adapter Settings (listed on the left hand side)

Step 11 - Now, you will see there - “Control Panel\Network and Internet\Network” Connections. Some new adapter is created by HyperV, it should be called “vEthernet(…)”

Step 12 - Here, you need to focus on the vEthernet(Virtual Switch) and vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch)

Step 13 - Now right click on vEthernet(Virtual Switch) and click on the properties and navigate to the sharing tab.

Step 14 - Here, choose Allow other Network users to connect and choose the vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch) as the adapter and then save the changes and close Windows.

Step 15- Now open the properties on vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch)

Step 16 - Here, you need to disable Internet Protocol Version 6 and double click on Internet Protocol Version 4

Step 17 - Now, use the following IP address: 169.254.169.177 Subnet mask: 255.255.0.0

Step 18 - After entering IP address and Subnet mask, you need to click on advanced button, under the IP settings tab, and then assign an interface metric: 1

Step 19 - Now open your Visual Studio and run the Windows Phone 8 project.

Step 20 - Open Internet by using Search button or Internet Explorer of emulator and check Internet access. (Make sure your wi-fi is working properly.)

In my case, it works fine and I've shared same tips among some guys and they all solved the issues of Internet with Windows Phone 8 emulator. Hope this might help you as well.

Filed under: CodeProject, Tips&Tricks, Windows Phone

Tagged: Windows Phone, WP8

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralSteps Pin
Member 140997872-Apr-19 23:47
Member 140997872-Apr-19 23:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.