Click here to Skip to main content
12,699,492 members (35,729 online)
Click here to Skip to main content
Add your own
alternative version

Stats

28.6K views
1 bookmarked
Posted

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

, 4 Mar 2014 CPOL
Rate this:
Please Sign up or sign in to vote.
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)

Share

About the Author

Ravi Ranjan Kr
Software Developer
India India
Microsoft Student Partner | CS Student | MCTS | CP MVP | Crazy Learner | Dreamer

An Indian, who loves his country, believes in freedom, He is an enthusiast Techie and crazy learner. He is passionate about Technologies and social media. He holds bachelor degree of CS in Information Technology and now pursuing Master degree in Computer Application.

He always excited and keen Interested in learning and sharing knowledge. He loves to write blog, learn new things, listen music, taking arts and Playing Games..

He keep himself on the desk of his imagination, hanging around with some inceptions.

You may also be interested in...

Comments and Discussions

 
QuestionRunning the Windows Phone Development Emulator on Windows 8.1 Pin
Mark Simon22-Apr-14 22:04
memberMark Simon22-Apr-14 22:04 
AnswerRe: Running the Windows Phone Development Emulator on Windows 8.1 Pin
vivek_999996-Jun-16 20:48
membervivek_999996-Jun-16 20:48 

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.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170118.1 | Last Updated 5 Mar 2014
Article Copyright 2014 by Ravi Ranjan Kr
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid