Hyper-V VMMS won't start in Windows 8.1 pro - windows-phone-8.1

When I try to run an emulator in Visual Studio it tell's me my Hyper-V can't start, the strange thing is that it used to work some time ago.
What I already discovered is that my Hyper-V virtual machine management service won't start up.
When I try to start it from services it gives me following error:
Windows could not start the Hyper-V Virtual Machine Mangement service on Local Computer. Error 0x80004003: Invalid pointer
The Hyper-V-VMMS log files give me this error id: 14096
It also gives me this error in the logs with the id: 18602
The component registration information could not be read from the Msvm_VirtualSystemResourceComponent.Name="Microsoft|Shutdown Integration Component|V1.0" WMI object: %1 is not a valid Win32 application. is not a valid Win32 application. (0x800700C1). If this error persists, try re-installing the Hyper-V and dependent roles.
What I've tried so far:
Stop hyper-V and start it again (with reboots)
Check the BIOS for hyper-V settings
Searched for my error online

Related

Error deploy Windows Phone

I start to develop on windows phone.
I installed SDK8.0 and visual studio 2013
I create project and try to run it and it does not work.
I try different emulator on visual but always the same error.
'Error to deploy" or "xde.exe stop"
What is the problem ? Bad sdk, bad emulator ?? , bad installation of anything else ?
Some suggestions ?
PS: i reboot pc and visual and same error too.
Pic to see my environnement
http://hpics.li/c2d2fca
What version of Windows are you running? Is your dev environment in a VM or is it a physical machine?
This error is typically related to Hyper-V configuration issues. You can view Hyper-V system requirements here; if your machine does not meet these requirements you will be unable to use the Windows Phone Emulator.

Windows Phone Emulator is unable to create internal network switch

I received this message when running the emulator:
[Window Title] Windows Phone Emulator
[Content] Windows Phone Emulator is unable to create the internal
network switch:
Something happened while creating a switch: Failed while creating
virtual Ethernet switch.
Switch create failed, name = '186E24AD-DE28-4C32-A93D-FF494B43B772',
friendly name = 'Windows Phone Emulator Internal Switch': %%3758096900
(0xE0000204).
[Close]
Why it gives this error, and how could I fix it?
1.Go into Hyper V Manager.
2.Go into Virtual Switch Manager.
3.Create a new virtual switch called 'Windows Phone Emulator Internal Switch'.
4.Set it's connection type to Internal.
5.Now launch the emulator. It should work.
(May be a reboot will be needed)
I had the same problem after digging for couple of hours finally I did this:
Go to programs and features and turn of the hyper-v through "turn windows features on or off" then restart the computer and turn it on and restart the computer again to have a fresh hyper-v.
Run cmd where Xde.exe is installed (usually in "C:\Program Files (x86)\Microsoft XDE\10.0.10240.0") and run command "Xde.exe -v sdcard.vhd"
Run Xde.exe as administrator (you will get an error)
Run visual studio and try to open emulator by deploy a project.
I don't know witch one fixed the problem but the problem goes away.
I uninstalled Oracle Virtual Box and Windows Phone Emulator works fine now, thanks.

Can't deploy window phone apps to Emulator. Error DEP6100 & 6200

I create new default project Window Phone, then run it with Emulator Window Phone but it's not work however emulator started.
I use Window 8.1 64bit with Visual Studio Professional 2013 - Update 4
Error say:
Error 1 DEP6100 : The following unexpected error occurred during boostrapping stage 'Connecting to the device': SmartDeviceException - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
Error 2 DEP6200 : Boostrapping 'Emulator 8.1 WVGA 4 inch 512MB' failed. Device cannot be found. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Help me Thanks !
Did you try all these steps?
Closing Visual Studio
Going to the "Control Panel"
Selecting "Programs and Features"
Find "Windows Phone 8.1 Emulators - ENU" in the list
Click the "Change" button at the top or right-click and select "Change"
On the "Visual Studio" window that appears; select "Repair"
Wait for the process to complete, and re-open Visual Studio
Run the emulator again
Or else check out for more here:
Windows phone 8.1 emulator not loading OS
Windows phone 8.1 Emulator launching issue
I had this same error... I'll start by saying that reloading Visual Studio 2013 and Windows Phone SDK 8.0 did not fix my issue. What did correct my issue was creating a blank project within the Visual Studio Express 2012 for Windows Phone and deploying the project. Then I went into Visual Studio 2013 and tried deploying my project again and voila, it worked. Why, I have no idea. My guess is there is a file or configuration that is set up by VS Express for WP.
For error DEP6100 on Windows 10 Emulators 10.0.1.0 (1081p 2gb)
You should Delete all (VHD and AVHD) files in:
C:\Users\MyUserName\AppData\Local\Microsoft\XDE\10.0.1.0\
All will be recreated when the emulator will restart. Replace MyUserName by you user name.
Should work with other emulators (you could check your local Hyper-V to find the right path)
See you :)
I had your same problem and after many attempts resolved it this way:
Deactivate Hyper-V (and restart computer).
Go in the Device Manager and open the Network Adapters, here uninstall everything with the name "Hyper-V...", this will allow us to reactivate Hyper-V without any conflict.
Activate Hyper-V (and restart computer).

Unable to run windows phone 8 emulator

I am running visual studio 2013 with windows 8.1 pro , I have enabled hyper-v from bios and enable it from program and features also. Firstly when I run my project it gives message like this
after that when I clicked retry it gives this deployment error
Need help in solving this.
Try running visual studio 2013 as an administrator this sometimes helps fix the permission issue running the emulator the first time.
After checking in that textbox where you have to add your lap to the Hyper-V Administrators, just try restarting the machine.
Have a look over here
You should try out these too
1.Run VS 2012 as administrator.
2.Open Hyper-V Manager and check the Windows Phone Emulator Internal Switch from Virtual Switch Manager. Remove the emulator switch and start a new instance of the emulator.
3.If your host computer has a WLAN connection, you should check whether it is running fine or not.
4.If your host computer is in a dedicated network, you can do a wired tethering and create a peer to peer network with another computer. Enable unrestricted internet in one of the systems, share the connection with the other computer, the emulator running in that, will also get the shared internet.

VS2013 Windows Phone 8 Emulator cannot connect to internet

I am running a simple ootb new Windows Phone 8.0 application in the emulator for Visual Studio 2013. I am using a Surface Pro, 1st generation, core i5, 4 GB RAM. Hyper V is installed, with no other virtualizing systems (like VirtualBox). Connecting via wireless.
When I run the emulator and am prompted, "Do you want to configure the emulator to connect to the Internet?", if I select "Yes", I get the following error message:
The Windows Phone Emulator wasn't able to create the external network switches:
Something happened while creating a switch:
Failed while creating virtual Ethernet switch.
Ethernet port '{...}' - bind failed: {Out of Paper} The printer is out of paper. (0x8000000E).
I have tried running through solutions suggested here and here, but unsuccessfully.
Any further ideas as to what can be done?
Is there a virtual switch in hyper-v called " Windows Phone Emulator Internal Switch"? This was not created for me when I ran into your situation. If you create a new one manually with that exact name, and set to internal, it should work. I found the solution on a bloenter link description hereg.