I'm working on a Windows Phone 8 app. I'm developing this app on a Windows 8 Pro machine. My app is successfully hitting my back-end server. I need to do some debugging though. I turned on Fiddler and noticed no traffic was being logged (even though I know that some traffic should have been logged.) I then followed the instructions found here: http://www.spikie.be/blog/post/2013/01/04/Windows-Phone-8-and-Fiddler.aspx.
Unfortunately, traffic is still not being logged. I'm not sure where else to look to fix this error. I can see that traffic in my web browser on my desktop is being logged. However, any network traffic within the emulator is NOT being logged. How can I get this resolved?
I've ensured that "Allow remote computers to connect" is checked.
I used the prefs set command with my machine name.
Thank you
See the details about how to use Fiddler with Windows Phone 8 emulator
http://blogs.msdn.com/b/wsdevsol/archive/2013/06/05/configure-the-windows-phone-8-emulator-to-work-with-fiddler.aspx
Related
Right now, I'm running my site on my Mac OS X locally via Apache.
I'm trying to reproduce a bug that only happen on iPhone Safari. I'm trying to avoid keep pushing the code to the staging server, pull, and then, test on my phone.
Is there a way to access my local site via my phone? via some kind of IP address?
make phone connect to the same WIFI as MAC OSX
run the server on the non-localhost address (LAN DHCP allocated), noted as SRV_IP
access the SRV_IP from your phone
The Windows phone emulator running Windows 10 has been working since I've installed it and last time I used the emulator was a few days ago. Now for some reason when I load my application emulator does not load the OS.
here's the steps I go throuogh to run the app :
-Run "Mobile Emulator 10.0.10586.0 720p 5 inch 1GB (which is my usual emulator to run)"
Message box saying "Configuring Windows Phone for debugging ... "
Another message box appears saying "Click "Retry" to run the emulator in elevated mode. :
You do not have permission to modify internal Hyper-V network adapter settings, which are required to run the emulator
Click retry on the message box
"Are you sure you want to run Windows Phone Packages?" Click Yes
Configuring Windows Phone for debugging box still running
Phone emulator runs but stuck on "OS is starting..."
Message box appears after leaving it running for roughly 15 mins :
"The emulator is unable to connect t the device operation system :
Couldn't set up the UDP port. Some Functionality might be disabled.
will add this to the steps"
I've followed the instructions from forums to go to Hyper-V Manager and delete the virtual switches and virtual machines - which doesn't work. And I also have Hyper-V enabled on windows features.
Any other solutions would be appreciated, Thanks in advance!
UPDATE : so I've left it running just to see if it works eventually, now another message box appears saying :
The emulator is unable to connect to the device operation system : Couldn't set up the UDP port. Some functionality might be disabled.
UPDATE : So I managed to fix it .. a little. It works for the other apps I have as well as newly created universal windows projects. But this specific app doesn't . I notice that this specific one has the "Configuring Windows Phone for debugging" message pop up whereas the other ones don't.
Why not start fresh?
New OS, new install, everything from scratch.
And don't forget to not play with UAC, OS permissions, the firewall, and do not install anything which would install virtual network adapters. Like OpenVPN, USB modems (including an iPhone), etc.
This is a solution, because your problem could be anything.
I have installed windows phone 8 SDK and tried running a simple app which embeds a WebBrowser on a page. 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. My machine is 64bit, hyper v is enabled and Hyper v manager is running, hardware virtualization is enabled in the BIOS settings, DHCP is enabled and its connected to a wired network. I have checked all the system requirements. What ever I do it keeps on giving the same error message. I setup everything in a different machine and tried running the app in that machine. The same error message is displayed in the that machine also. Can anyone tell me how to get it working.
DHCP is enabled and its connected to a wired network
Can you run ipconfig /all on your host machine and post it here please?
seems you have problem with your DHCP or maybe multiple DHCP and conflict.
You need to add your user account as a member of the "Hyper-V Administrators" group on the machine.
Detailed steps:
Hit Windows key + Q and search for "local users and groups". Change the search scope to "Settings". Click "Edit local users and groups".
Expand the "Groups" section. Right-click on "Hyper-V Administrators" and select "Add to group".
Add your user account.
Some connection tools on the host can have negative effects when used with the emulator; I found having cisco VPN client installed on the host prevented the emulator from finding the internet. Other VPN clients may have similar side-effects. I simply uninstalled cisco (the inbuilt windows VPN is fine for what I need) and it worked perfectly.
I've also seen problems where it won't find the internet after the host has been suspended / resumed. In that scenario, it turned out to be bad network drivers. I installed a dedicated Intel NIC (rather than the on-board NIC on the motherboard) - problem solved.
Basically, Hyper-V is a bit fussy.
try refreshing the hyper-v by unchecking and then checking it again,this worked for me.
Steps:
1.control panel>>programs>>Programs and features>>turn windows features on and off>>hyper-v
2.uncheck it and restart the pc.
3.again go to control panel an check hyper-v and restart the pc again.
the try to run the emulator,should work..
another possible reason is that you did not start vs2013 as admin
Case: I have got a windows 8 tablet and have an app running on it. What I was looking for is a program or a mechanism through which I can be able to monitor all the incoming and outgoing http/https connections that are made by the app which I am monitoring. I am able to do it on the android and ios tablets, but not sure how to do it on a windows 8 tablet.
Is there anything (like an app or a logging program) that I can install on the tablet to monitor connections? Thanks.
You can use Wireshark or NetMon to see the traffic on the network. Neither will run directly on Windows RT, but that's not necessary. As long as you are running on the same network with the tablet you are trying to monitor, you can capture all the traffic you want.
I retrieved the windows 8 developer license on my laptop successfully. But when I tried to retrieve another one from another windows located in VirtualBox I got an error message said
[Content]
Error 0x80004005: Unspecified error
Something different on this windows 8 virtual machine:
It is running as a virtual machine.
It communicate to internet through CNTLM on my host machine (windows 7). But I had set the IE proxy, devenv.exe.config proxy as well as the PowerShell proxy.
I logged in this windows 8 with a local account while my laptop was logged as my windows account.
Can anyone give me some suggestion?
Working under a proxy I stumbled on the same error. I managed to activate VS developer license by doing the following:
1 - On Windows 8 Start search for Services (under settings)
2 - After that stop Network Location Awareness
3 - Try to activate again and you will be prompted a live ID request.
I got the solution from: http://social.msdn.microsoft.com/Forums/en-US/toolsforwinapps/thread/112c6b04-9eda-49f2-95d8-62e0a169f99e/
I commonly change networks and the auto-detect options for my proxy weren't working when I was on a network that wasn't behind a proxy. When I manually turned off the proxy settings I could then get the prompt for a live sign-on.