DHCP error while WinPhone8 emulator is starting

1

0

I had a Windows 8 PC with a perfectly working WinPhone8 emulator.

A few days ago my OS broke and our IT guys reinstalled Windows 8 in identical configuration. I installed the WinPhone SDK and tried to run the emulator without success (with message similar to your Hyper-V isn't enabled although it was enabled).

After fully patching (I installed SDK before that), the emulator started but I got the error You don't have permission to modify internal hyper-v network adapter settings.

enter image description here

When I clicked Retry I got a message about a possible issue with the network, so I pressed OK and my PC crashed within a short time after the emulator initialized.

I added my user to Hyper-V Administrators but this also changed nothing (PC still crashing). I checked Event Viewer and found there next message.

Your computer was not assigned an address from the network (by the DHCP Server) for the Network Card with network address 0xE02A82E2702D. The following error occurred: 0x79. Your computer will continue to try and obtain an address on its own from the network address (DHCP) server.

I googled about this issue and found the suggestion to turn off the Internet Protocol Version 6 (TCP/IPv6), but this didn't help.

Does anybody have any idea about how to fix it?

RredCat

Posted 2013-07-25T14:39:43.327

Reputation: 118

Information about the crash is required to help you. – Ramhound – 2013-07-25T15:28:56.070

@Ramhound OS freezes and no way to do something instead of reboot pc. I had checked Event Log after reboot and found message about DHCP. It is all that I have. Do you need any specific details? – RredCat – 2013-07-25T16:26:02.690

Without information on the crash, generated by Windows, a resolution to your problem is unlikely. Have you tried to uninstall recently installed software? I suggest you report your problems to your IT staff they are in the best position to help you. – Ramhound – 2013-07-25T17:09:47.243

@Ramhound Frankly, you confuse me. When I start emulator - OS freezes and everything that I can do - reboot it. I had checked Event Log after reboot and sow message that I mentioned in question. What kind of details do you mean? – RredCat – 2013-07-26T07:28:42.970

Answers

1

Your problem seems to be caused by the newer SDK that you are now using.

One possibility would be to go back to the older version that worked, but there is another solution described in the article : Troubleshooting Windows Phone 8 Emulator problems :

  • Run the Hyper-V Manager, and click on the Virtual Switch Manager.
  • If there is no entry resembling Windows Phone Emulator Internal Switch, click on New Virtual Switch, choose Internal and then Create Virtual Switch. Create a new entry called Windows Phone Emulator Internal Switch and then click on OK - this will create the emulator switch.
  • Open the Network and Sharing Center by right clicking on your Network icon in the system tray or accessing it via the Control Panel. Then click on Change adapter settings. You will see a list of your network adapters, including the one we have just created.
  • Right-click on the adapter, and select Properties.
  • Untick all the items except for:
    • Client for Microsoft Networks
    • QoS Packet Scheduler
    • File and Printer Sharing for Microsoft Networks
    • Microsoft LLDP Protocol Driver
    • Link-Layer Topology Discovery Mapper I/O Driver
    • Link-Layer Topology Discovery Responder
    • Internet Protocol Version 6 (TCP/IPv6)
    • Internet Protocol Version 4 (TCP/IPv4)
  • Click on OK.
  • Reboot

You may need to disable your VMware adapters or you may not. If you still have problems, you can check what network adapter your emulator is using by running Hyper-V Manager. You can see the list of virtual machines running. Click on one of the emulators, and then at the bottom, click on the Networking tab, and you can see which network adapter your emulator is using.

harrymc

Posted 2013-07-25T14:39:43.327

Reputation: 306 093

Thanks for your answer. It doesn't help completely. Emulator was started without any window. But it is still crashed. In event log I see next: "The driver \Driver\WudfRd failed to load for the device ROOT\WPD\0000.", "Your computer was not assigned an address from the network (by the DHCP Server) for the Network Card with network address 0xE02A82E2702F. The following error occurred: 0x79. Your computer will continue to try and obtain an address on its own from the network address (DHCP) server.", – RredCat – 2013-07-31T07:11:41.240

Could you add to your post what happens when you try following the above procedure? Also, are you using the same SDK version as before or is it a newer version ? – harrymc – 2013-07-31T07:54:58.437

I am using same SDK version. I run app, emulator was started after this Operation System (Windows 8) was freezed (stopped to work). And no way to do anything except hardware reboot. After reboot I checked event log and sow errors with DHCP. I don't have any other errors. – RredCat – 2013-08-01T11:38:40.447

You would need to find what is different in your current setup from before. – harrymc – 2013-08-04T06:28:37.320

Looks like my question is related to hardware issue (I got some other issues with my PC). But your answer helps me with issue related to permissions, so I awarded this. – RredCat – 2013-08-05T10:19:11.383