Windows Phone 8 Emulator Deployment Issue with Internet - windows-phone-8

I am facing an issue with windows 8 phone emulator.
Windows Phone emulator wasnt able to connect to Windows Phone
operating system. Phone didnt respond to connect request
This is the error that I get. When the emulator starts with internet but my application doesnot deploy. The ip that gets assigned is 192.168.137.1. Previously it worked fine,
but then suddenly it started giving this issue.
Below is the list of troubleshooting that I have performed:
169.254.xxx.xxx address set to internal emulator via dhcp, Application deployed successfully with NO internet connection
Have tried MAC address spoofing but nothing works when I use these settings.
Have changed External Virtual Switch in Sharing mode this starts the internet with ip 192.168.137.1 but application doesnot deploy
In debugger errors shown are:
Invalid pointer error
App deployment failed
Have tried Network bridging but still it doesnt work.
Created all settings manually including the internal switch and external swithch. But same issue faced when it gets 192.168.137.1 ip then internet works but application doesnt deploy.
And when it gets 169.254.xxx.xxx ip series application deploys but no internet connection.
No firewall are turned on or no antivirus is blocking any connections.
Wireless router used for network connectivity, still not successfully
Have also tried clean installation of everything but still no go.
Need help with this issue as I have been trying to get it resolved since a week.

This issue is not faced if installation is done on the same pc through a virtual machine.
What I did was :
Have allotted 4gb ram, 60gb hdd & 4 cores to the VM.
1)I installed a virtual machine with default settings.
2)Then I stopped your virtual machine (shut Windows 8 down, DO NOT suspend it).
3)At the VMWare Virtual Machine list, right click Windows 8 machine then click "Show in Finder".
4)Right click the file then click "Show package contents", then find and open with a text editor a file with the extension .vmx
5)Go till the end of the file and add this two lines (first check whether they were previously added):
hypervisor.cpuid.v0 = "FALSE"
vhv.enable = "TRUE"
6)At the VMWare Virtual Machine list, right click Windows 8, click "Preferences" then "Advanced". Choose "Intel VT-X with EPT" as "Preferred virtualization engine".
And then when I started the windows in the virtual machine it seems to be working fine without any additional setting change. However it is still not running on a physical machine
I recommend if someone is facing a similar issue then to use a Virtual Machine till this kind of issue is resolved.

Struggling with the same problem for 3 days I finally solved my issue by disabling windows firewall for "Guest or public network". I have yet to figure out what application/service to allow through so I can re-enable it.

Related

Error communicating with the Windows Phone Dev Center. (ErrorCode:0x64)

I am trying to resolve the following error:
Error communicating with the Windows Phone Dev Center. Set the correct date and time on the phone, check your Internet connection, and try again. (ErrorCode:0x64).
I've checked our developer account and can see there are no devices unlocked so we haven't hit our limit. (We did have 3 devices previously unlocked but they have since been deactivated and removed from the account).
The date/time are correct and the device is connected to a valid Wi-Fi with Internet access.
Here is what I have done:
I have rebooted the PC (Windows 10)
I have rebooted the phone (Windows 8.1)
On the phone I have switched the date/time settings to manual and then back to automatic
I've factory restored the device to original settings
I've checked local host files for anything related to windows/Microsoft/development
I've restarted the IpOverUsbSvc service many times
There was a server side problem with the Dev Center that blocked device unlocking. It should be fixed now, so try again, though it may take some time to propagate.
In general you should contact Microsoft Dev Center Support with problems like this as it's not something anybody outside of Microsoft can help with.
I just got this.
Nothing worked until I finally connected to a Internet capable wireless network.
Hope this helps someone else.

Remote Control via TeamViewer on a Google Compute VM Instance

I am running a Windows Server VM Instace on Google Compute Services... I can access the instace via the "Windows Remote Desktop" no problem... I could install Team Viewer on the instance...
Because of Firewall issues I cannot run "Windows Remote Desktop" from my desktop to access that VM (google compute) Instance... Reason of why I installed Team Viewer on that VM instance...
The funny thing is that I can access that VM instance through Team Viewer Only, as long as it is connected through "Windows Remote Desktop" to a separate 3rd computer... (4G internet outside the firewall --of desktop trying to access the VM Instace through Team Viewer--).
Even if I minimize the "Windows Remote Desktop"on my laptop it will cut the connection through TeamViewer between the VM cloud instance and my Desktop computer...
Any help or ideas in there? It seems that either Team Viewer isn't able to start or somehow either the VM Windows Server screen only runs when the "Windows Remote Desktop" is running....
As I get this message:
"The screen cannot be captured at the moment. This is probably due to fast user switching or a disconnected/minimized Remote Desktop Session."
I did a complete version installation of TeamViewer as administrator, running on a Windows Server on google compute VM.
Hopefully someone out there can help me! I don't know if it may be part of the Google Compute Services Instance settings so as to limit the remote desktop only to the native "Windows Remote Desktop" program... Or perhaps a setting were since it's a VM the screen is de-activated when the "Windows Remote Desktop" program is off or minimized etc...??
My main problem is having TeamViewer work without having to initiate the native Windows RDP... In order for TeamViewer do it's job and take its place... as in the place where I am located (my desktop computer) the firewall blocks Windows RDP but does not block TeamViewer's.
I tried changing the listening port to different numbers....
According to the instructions here:
http://support.microsoft.com/kb/306759 and here:
http://support.microsoft.com/kb/304304/
Unfortunately.. when I changed it and then rebooted the Win Server 2008 VM, and checked to see if it made the change... I noticed it goes back to be on the same port again.... (of course to connect I had to do it through the original port)...
So it changes it but on rebooting it goes back to be on the same port again... I don't know if it's either because the new port was being used or there is a policy somewhere directing it always to the original port again...
I enabled those ports also to work for RDP in the Google Compute Instance interface, but still it made no difference...
It doesn't seem TeamViewer has a setting to change the port it connects with etc...
Hopefully I can find someone knowing about this issue.... The AWS instance used to work fine with LogMe In at the time.... I may end up using AWS (Amazon Web Services) again as Google Compute Srvs. won't do the job... but it's much cheaper than the AWS isntance... Thanks for helping...
In my case it happened due to slower network speed on the other side, of which I intend to take session.

Emulator is turning off my ethernet connection

I am learning windows phone programming, when I run emulator it turns off ethernet connection on my laptop, but wifi still works.
How to fix it?
May be it is Hyper-V trouble?
Ethernet controller: RealTek PCIe GBE
Easiest way is just removing the Emulator customization of the network connections and then allowing it to restore them!
On the host computer, open the Hyper-V Manager
Click Action -> Virtual Switch Manager
Remove the 3 Virtual Switches that show up on the list
After this step the internet connection show have been restored; the next time you open the Emulator it will then allow you to re-add those virtual switches back.
Attention: Please be aware that you may have more entries if Hyper-V is actually used by another app than the Windows Phone Emulator!

Internet Connection in Windows Phone 8 emulator

Please help me with this.
I want to run my windows phone 8 emulator by enabling Internet connection in both the host machine and the emulator.
When i searched for enabling Internet connection, i have understood that, it needs two dedicated NIC's. One for the host machine and the other one for emulator.
SO, i thought by enabling the Ethernet and wifi connections on my laptop, it will get two separate network adapters, so that i can use one of them for the host machine and the other one for the emulator.
But i dont know how to configure.
Hi i am also having this type of problem and finally i got success.
1.go to control panel and disable Hyper-v just only unchecked all Hyper-V options.
run VMware set up you can download from here.
downloadworkstation
again go to control panel and enable Hyper-V.
4.you run the emulator you have a dialog box click Retry and click Yes
5.run VS and enjoy with internet on emulator.
This works for me:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj681694(v=vs.105).aspx
Cannot connect to Internet destinations
The Windows Phone 8 Emulator uses the HTTP proxy settings from the host computer. If you can’t access Internet resources from the emulator, check with your IT administrator to make sure that your proxy settings will work with the emulator.
If your network’s proxy servers are unavailable or malfunctioning, it might be possible to restore connectivity for the emulator by disabling automatic proxy detection on the host computer. However this only works in certain network configurations.
To disable automatic proxy detection on the host computer
1.
On the host computer, open Internet Options from the Control Panel. The Internet Properties dialog box opens.
2.
In the Internet Properties dialog box, click the Connections tab.
3.
On the Connections page, click the LAN settings button. The Local Area Network (LAN) Settings dialog box opens.
4.
In the Local Area Network (LAN) Settings dialog box, deselect all the check boxes. Click OK twice to close both dialog boxes.
5.
Restart the emulator and retry the connection.

Windows phone 8 emulator not showing maps

I am trying to create a windows phone 8 application but the emulator does not show me the map. all I get is this.
as you can see no land mass is show and no roads are shown. I have panned around and come across nothing and the emulator location is set to an area where land should show.
If I run it on my device it works fine and the map loads.
Could this be due to a port blocking issue or something silly like that.
Cheers
Mark
The approved answer might not be 100% correct. Check out the following blog post, and you will notice, that your emulator probably doesn't have an access to the internet.
http://michalstawarz.pl/2013/01/26/windows-phone-8-emulator-maps-display/
Windows Phone emulator supports Bing Map for sure.
It seems the Problem may be due to
Network Connectivity Issues with Host PC
Proxy Issues
Other Issues
Workaround for the above Issues.
If you see blank blue map screen as in http://michalstawarz.pl/2013/01/26/windows-phone-8-emulator-maps-display/ as Michael referred.
Then its good to go. Problem is Internet connectivity / proxy not configured.
If its is Network Connectivity, then troubleshoot your system network adapter. Problem may be due to limited network connectivity / PC not connected to internet.
If it is proxy then,
Get IP Address of "Internal Ethernet Port Windows Phone Emulator
Internal Switch" using IPCONFIG in CMD prompt
Then Enter it under Exception List in IE's LAN Settings >> Advanced >> Exception
Other Issues may be due to Not Configured / improper IP configuration when adapter's IP setting changed manually.
If it is the case -- then Remove all virtual adapters using Virtual Switch Manager Menu in Hyper-V Manager and RUN Emulator with ADMIN Privileges.
Maps are not supported on the Windows Phone 8 emulator.
Maps are now supported, and the original question is no longer valid.
If the answers from Micheal and Prakash doesn't solve your problem.Then try this-
Open regedit in the C:\Windows folder.
In Registry Editor open
for 64 bit Windows-
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\InternetExplorer\MAIN
\FeatureControl\FEATURE_BROWSER_EMULATION and then create XDETools.exe with hex value 2328.
for 64 bit Windows-
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InternetExplorer\MAIN
\FeatureControl\FEATURE_BROWSER_EMULATION and then create XDETools.exe with hex value 2328.
Source-http://igrali.com/2012/07/30/windows-phone-location-tool-in-emulator-down-no-problem/