none
Problem with Starting Mobile Emulators in VS 2015

    Question

  • I'm still having a problem with starting phone emulators in VS2015. They were seemingly working fine at one point, but after several days of not using emulators, I went back to trying to use one and now get the following errors when attempting to run several of the universal window examples from Microsoft:

    Severity Code Description Project File Line
    Error  Error : DEP6100 : The following unexpected error occurred during bootstrapping stage 'Connecting to the device 'A6BAF594-9315-40C3-AD16-F5B8A425A7AB'.':
    SystemException - A method was called on an uninitialized object. DataReaderWriter.WindowsPhone  

    Severity Code Description Project File Line
    Error  Error : DEP6200 : Bootstrapping 'Emulator 8.1 WVGA 4 inch 512MB' failed. Device cannot be found. DataReaderWriter.WindowsPhone  

    I also get an "Attempting to modify switch settings" warning message before the emulator fails to load.

    Does anyone have any idea what is going on here?

    Thanks.


    Steve Hunt

    Sunday, November 29, 2015 6:25 PM

All replies

  • Hi Steve Hunt,

    What is your windows 10 version?

    >>Error  Error : DEP6100 : The following unexpected error occurred during bootstrapping stage 'Connecting to the device 'A6BAF594-9315-40C3-AD16-F5B8A425A7AB'.':
    SystemException - A method was called on an uninitialized object. DataReaderWriter.WindowsPhone  

    Severity Code Description Project File Line
    >>Error  Error : DEP6200 : Bootstrapping 'Emulator 8.1 WVGA 4 inch 512MB' failed. Device cannot be found. DataReaderWriter.WindowsPhone  

    Like this thread here:

    https://social.msdn.microsoft.com/Forums/en-US/3f1a4a71-f402-44e9-b18e-f6b2e41796d0/uwpupdated-for-10581deploymentdeployment-fails-on-phone-build-10572?forum=wpdevelop

    Like Rob's suggestion, please make sure that you install the latest emulators. Take device out of developer mode and back in. Put device in airplane mode before connecting, test it again.

    Best Regards,

    Jack


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, December 1, 2015 12:32 PM
    Moderator
  • Windows 10 Pro.

    Steve Hunt

    Wednesday, December 9, 2015 11:34 PM
  • Hi Steve,

    Could you get useful information from Rob's suggestion?

    What about this issue now? Would you mind letting us know the latest information about this issue?

    Best Regards,

    Jack


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, December 10, 2015 11:54 AM
    Moderator
  • Jack, I want to make it clear that I do not have an actual device connected to the program; I'm just trying to run the program in a phone emulator. Steve

    Steve Hunt

    Friday, December 11, 2015 5:07 PM
  • @Oldpivot2,

    Please try remove your emulator from HypeV manager and then reinstall your emulator. Maybe you have some setting problem for your emulator VM.

    Best regards,

    Barry


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, December 14, 2015 11:43 AM
    Moderator
  • I uninstalled all emulators, reinstalled Mobile emulator 10.0.10240.0 WVGA 4-inch 512 MB and get the same error messages as above. I used the Hyper-V Manager to start the emulator and still get the same errors. I don't know what else to do. These type of problems are what prevents developers from getting anywhere with Windows programming. I guess I will have to go back to Apple IOS programming where things work!

    Steve Hunt

    Monday, December 14, 2015 9:39 PM
  • Hi Steve Hunt,

    (1) Did you get any error when you install the VS? At least, we could know that whether it is the VS setup issue.

    (2)Since it still has this issue in the Hyper-V manager, maybe it would be the Hyper-V issue or the windows itself. Do you test it in other machine?

    Please make sure that you Environment meets the System Requirements for using the Microsoft Emulator for Windows 10 Mobile:
    https://msdn.microsoft.com/en-us/library/windows/apps/Mt162269.aspx#system_requirements .

    Please also check this link: Troubleshooting Hyper-V , so we could know that if this issue is caused by the Hyper-V.

    Reference:

    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/bd6d1a97-f99e-4f8b-9137-0c986382c88a/windows-phone-deploy-error-because-wrong-installation?forum=wpdevelop

    Thanks,

    Jack


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, December 16, 2015 3:16 AM
    Moderator
  • I just installed update 1 for Visual Studio 2015 with the hopes that the update would solve the problem I described above, but I am still receiving the same error messages and the emulator will not run the program. I installed all of the options for the update, including all emulators

    When the emulator first starts, the following message appears:

    Attempting to Modify Switch Settings

    The emulator is changing the settings of the internal switch so that your emulator can function.

    After saying OK to this, the emulator attempts to run, but a message then states that it cannot load its operating system.

    I have started the Hyper-V manager and have manually started the emulator, but that does not help. I am trying to run one of the Microsoft Universal Sample Apps (ListView).

    Any further thoughts?

    Steve


    Steve Hunt

    Thursday, December 24, 2015 4:16 PM
  • I feel with you. Got exactly the same problem as you, and find no solutions. Strange that Microsoft don't do it easier to be a Windows Phone App developer.
    Saturday, December 26, 2015 12:31 PM
  • Hi Steve and snertingen,

    Could you tell me your really windows Environment? Is it the latest windows 10 10586?

    I met this issue before one member didn't use the latest windows which impact the UWP apps' designer and the emulator's running. So if possible, please use the latest windows Environment, and then test it again.

    Best Regards,

    Jack


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, December 28, 2015 2:25 AM
    Moderator
  • Jack,

    I am running Windows 10 Version 1511 (OS Build 10586.36).

     

    Visual Studio Community 2015 – Version 14.0.24720.00 Update 1.

     

    Steve


    Steve Hunt

    Tuesday, December 29, 2015 12:02 AM
  • Hi Steve,

    Could you run the same app in other VS2015 machine?

    In addition, did you save your project in the default folder like C:\Users\xxx\Documents\Visual Studio 2015\Projects?

    Like snertingen's reply, since other members also got the same issue as yours, if possible, you can submit this feedback to Microsoft Connect feedback portal: http://connect.microsoft.com/VisualStudio/feedback/CreateFeedback.aspx,Microsoft engineers will evaluate them seriously. Thanks for your understanding.

    Best Regards,

    Jack


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, December 31, 2015 11:21 AM
    Moderator
  • I only have one VS2015 machine.

    I uninstalled VS2015 completely and reinstalled, taking about 6 hours total. Still having the same problem.

    I also tried to run an Excel Add-in solution from the Office 365 web site (Task Pane Add-in Sample - Excel). This program ran fine on VS2015 before Update 1. Now, the sdk for this is apparently missing for the updated version, as the solution explorer shows that it is unavailable. There is a selection in the solution explorer to "Install Missing Features". When this is selected, the system attempts to run setup, but does not install the feature. Instead, an error message pops up telling you that you must close VS2015 to continue, but there is no "continue" button, so you can't close it and continue. It's a "Catch 22".

    What a mess and hours of lost time!!!!


    Steve Hunt

    Tuesday, January 12, 2016 8:50 PM
  • Hi Steve Hunt,

    Maybe we would think about the VS setup, Please use http://aka.ms/vscollect  to gather the VS and .Net Frameowrk installation logs. After using it, you will find vslogs.cab from %temp% folder. Please upload the file to Onedrive and share the link here. I will help you analyze the setup log, at least, we could know that whether it is the setup issue.

    Thanks,

    Jack


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, January 13, 2016 1:30 AM
    Moderator
  • Steve, I am having the exact same issue. I have tried VS2015 reinstall and Hyper-V reinstall. I have tried my project targeting 10586 and 10240 with the same error. Have you found a solution?

    I am running Windows 10 Version 1511 (OS Build 11082.1000).
    Visual Studio Enterprise 2015 – Version 14.0.24720.00 Update 1.
    Wednesday, January 13, 2016 5:03 AM
  • Brad, No solution so far. At this point, I don't know what else to do .....

    Steve Hunt

    Wednesday, January 13, 2016 12:15 PM
  • Jack,

    Here is the link to the vslogs files:

    https://onedrive.live.com/redir?resid=4789D247CD49B68B!6447&authkey=!AGD5xCIoRydKcx8&ithint=folder%2czip

    Please let me know what you find.

    Thanks,

    Steve


    Steve Hunt

    Wednesday, January 13, 2016 4:39 PM
  • At some point prior to installing update 1 my system seemed to be working fine. The Windows Phone emulators worked and I had access to templates for Office add-in apps. Everything seemed to be completely functional. Then in late November, as reported above, the emulators quit functioning but everything else continued working. Then, after installing Update 1, the Office functionality ended and the Office templates completely disappeared from the New Project screen.

    I have no idea what's going on!

    Steve


    Steve Hunt

    Wednesday, January 13, 2016 4:53 PM
  • Hi Steve,

    >>At some point prior to installing update 1 my system seemed to be working fine. The Windows Phone emulators worked and I had access to templates for Office add-in apps. Everything seemed to be completely functional. Then in late November, as reported above, the emulators quit functioning but everything else continued working.

    Do you mean that you have resolved the emulators issue? If so, would you please makr the helpful reply as the answer? So it would be helpful for other members who get the same issue as yours.

    >> Then, after installing Update 1, the Office functionality ended and the Office templates completely disappeared from the New Project screen.

    If possible, please repair your VS, please enable the office package:

    For this issue, if still no help, you know that one thread for one issue, if possible, please open a new case in our forum, I will follw up it.

    Best Regards,

    Jack


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Saturday, January 16, 2016 8:30 AM
    Moderator
  • Hi Steve,

    I faced this same issue; for me, it turned out out to be a network-related problem, the vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch) was disabled, for some reason or another. I re-enabled it and my emulator worked again.

    HTH,

    harley


    Planet Earth, Europe, Denmark, Sealand, Copenhagen, Morten

    Friday, February 26, 2016 7:08 PM