locked
Can not start Windows phone 8 emulator. RRS feed

  • Question

  • Hi,

    I have visual studio 2012 with windows phone 8 SDK installed. Visual studio has been updated with Update 3 (I have updated VS 2012 after installing the windows phone 8 SDK).

    I am running windows 8.1 pro (retail , Windows 8.1 Professional (x64) (build 9600)).

    I had made a small 'Hello world' app by reading 'Windows Phone 8 Development Internals' book.

    Now every time I run the app (by pressing F5 in VS), it gives me an error ( error code : 0x80131500). I checked the event viewer and got the following errors :

    In Application error log

    Source :  .NET Runtime , Event ID : 1026

    Log Name:      Application
    Source:        .NET Runtime
    Date:          06-11-2013 19:08:55
    Event ID:      1026
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      CONS-UCAAS-DEV.CONS-GGN-OFC.local
    Description:
    Application: XDE.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.Management.ManagementException
    Stack:
       at System.Management.ManagementException.ThrowWithExtendedInfo(System.Management.ManagementStatus)
       at System.Management.ManagementObjectCollection+ManagementObjectEnumerator.MoveNext()
       at System.Linq.Enumerable+<CastIterator>d__b1`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext()
       at System.Linq.Enumerable.FirstOrDefault[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Generic.IEnumerable`1<System.__Canon>)
       at Microsoft.Xde.Wmi.WmiUtils.GetInstanceHelper(System.Management.ManagementScope, System.String, Int32, Int32)
       at Microsoft.Xde.Wmi.XdeHyperVManagementService.FindSwitchV2(System.String)
       at Microsoft.Xde.Wmi.XdeHyperVManagementService.FindInternalSwitch()
       at Microsoft.Xde.Client.XdeController.CanCreateInternalSwitchIfNecessary()
       at Microsoft.Xde.Client.XdeController.Run(System.String[])
       at Microsoft.Xde.Client.Program.Main(System.String[])

    Event Xml:
    <Event>
      <System>
        <Provider Name=".NET Runtime" />
        <EventID Qualifiers="0">1026</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-11-06T13:38:55.000000000Z" />
        <EventRecordID>12092</EventRecordID>
        <Channel>Application</Channel>
        <Computer>CONS-UCAAS-DEV.CONS-GGN-OFC.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Application: XDE.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.Management.ManagementException
    Stack:
       at System.Management.ManagementException.ThrowWithExtendedInfo(System.Management.ManagementStatus)
       at System.Management.ManagementObjectCollection+ManagementObjectEnumerator.MoveNext()
       at System.Linq.Enumerable+&lt;CastIterator&gt;d__b1`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext()
       at System.Linq.Enumerable.FirstOrDefault[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Generic.IEnumerable`1&lt;System.__Canon&gt;)
       at Microsoft.Xde.Wmi.WmiUtils.GetInstanceHelper(System.Management.ManagementScope, System.String, Int32, Int32)
       at Microsoft.Xde.Wmi.XdeHyperVManagementService.FindSwitchV2(System.String)
       at Microsoft.Xde.Wmi.XdeHyperVManagementService.FindInternalSwitch()
       at Microsoft.Xde.Client.XdeController.CanCreateInternalSwitchIfNecessary()
       at Microsoft.Xde.Client.XdeController.Run(System.String[])
       at Microsoft.Xde.Client.Program.Main(System.String[])
    </Data>
      </EventData>
    </Event>


    Source : Application Error, Event ID : 1000, Task Category (100)


    Log Name:      Application
    Source:        Application Error
    Date:          06-11-2013 19:08:55
    Event ID:      1000
    Task Category: (100)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      CONS-UCAAS-DEV.CONS-GGN-OFC.local
    Description:
    Faulting application name: XDE.exe, version: 8.0.10429.0, time stamp: 0x518d2e96
    Faulting module name: KERNELBASE.dll, version: 6.3.9600.16408, time stamp: 0x523d4548
    Exception code: 0xe0434352
    Fault offset: 0x00012eec
    Faulting process id: 0xd58
    Faulting application start time: 0x01cedaf588d554ed
    Faulting application path: C:\Program Files (x86)\Microsoft XDE\8.0\XDE.exe
    Faulting module path: C:\WINDOWS\SYSTEM32\KERNELBASE.dll
    Report Id: c7c715ad-46e8-11e3-be90-70f395da9ca6
    Faulting package full name:
    Faulting package-relative application ID:
    Event Xml:
    <Event>
      <System>
        <Provider Name="Application Error" />
        <EventID Qualifiers="0">1000</EventID>
        <Level>2</Level>
        <Task>100</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-11-06T13:38:55.000000000Z" />
        <EventRecordID>12093</EventRecordID>
        <Channel>Application</Channel>
        <Computer>CONS-UCAAS-DEV.CONS-GGN-OFC.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>XDE.exe</Data>
        <Data>8.0.10429.0</Data>
        <Data>518d2e96</Data>
        <Data>KERNELBASE.dll</Data>
        <Data>6.3.9600.16408</Data>
        <Data>523d4548</Data>
        <Data>e0434352</Data>
        <Data>00012eec</Data>
        <Data>d58</Data>
        <Data>01cedaf588d554ed</Data>
        <Data>C:\Program Files (x86)\Microsoft XDE\8.0\XDE.exe</Data>
        <Data>C:\WINDOWS\SYSTEM32\KERNELBASE.dll</Data>
        <Data>c7c715ad-46e8-11e3-be90-70f395da9ca6</Data>
        <Data>
        </Data>
        <Data>
        </Data>
      </EventData>
    </Event>


    Information,

    Log Name:      Application
    Source:        Windows Error Reporting
    Date:          06-11-2013 19:08:57
    Event ID:      1001
    Task Category: None
    Level:         Information
    Keywords:      Classic
    User:          N/A
    Computer:      CONS-UCAAS-DEV.CONS-GGN-OFC.local
    Description:
    Fault bucket -471565655, type 5
    Event Name: CLR20r3
    Response: Not available
    Cab Id: 0

    Problem signature:
    P1: XDE.exe
    P2: 8.0.10429.0
    P3: 518d2e96
    P4: System.Management
    P5: 4.0.30319.33440
    P6: 520042ce
    P7: da
    P8: 3f
    P9: System.Management.Management
    P10:

    Attached files:
    C:\Users\[User]\AppData\Local\Temp\WER5DAF.tmp.WERInternalMetadata.xml

    These files may be available here:
    C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_XDE.exe_c25c11e37d33de973e31a3905101cc3ef8b22b_2e24fa46_14ad6291

    Analysis symbol:
    Rechecking for solution: 0
    Report Id: c7c715ad-46e8-11e3-be90-70f395da9ca6
    Report Status: 0
    Hashed bucket: 627d270e0be50603c1353cd5523a72b9
    Event Xml:
    <Event>
      <System>
        <Provider Name="Windows Error Reporting" />
        <EventID Qualifiers="0">1001</EventID>
        <Level>4</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-11-06T13:38:57.000000000Z" />
        <EventRecordID>12094</EventRecordID>
        <Channel>Application</Channel>
        <Computer>CONS-UCAAS-DEV.CONS-GGN-OFC.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>-471565655</Data>
        <Data>5</Data>
        <Data>CLR20r3</Data>
        <Data>Not available</Data>
        <Data>0</Data>
        <Data>XDE.exe</Data>
        <Data>8.0.10429.0</Data>
        <Data>518d2e96</Data>
        <Data>System.Management</Data>
        <Data>4.0.30319.33440</Data>
        <Data>520042ce</Data>
        <Data>da</Data>
        <Data>3f</Data>
        <Data>System.Management.Management</Data>
        <Data>
        </Data>
        <Data>
    C:\Users\[User]\AppData\Local\Temp\WER5DAF.tmp.WERInternalMetadata.xml</Data>
        <Data>C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_XDE.exe_c25c11e37d33de973e31a3905101cc3ef8b22b_2e24fa46_14ad6291</Data>
        <Data>
        </Data>
        <Data>0</Data>
        <Data>c7c715ad-46e8-11e3-be90-70f395da9ca6</Data>
        <Data>0</Data>
        <Data>627d270e0be50603c1353cd5523a72b9</Data>
      </EventData>
    </Event>

    I have tried many solution posted on the web, but the problem still persists.

    Please help,

    Thanks in advance.

    Wednesday, November 6, 2013 2:17 PM

Answers

  • Looks like it's having trouble enumerating the list of Virtual Switches...

    Can you post the list of switches from the Virtual Switch Manager ... of the Hyper-V Manager.


    -Eric.

    • Marked as answer by AnkitOnline Thursday, November 7, 2013 12:47 PM
    Wednesday, November 6, 2013 11:58 PM

All replies

  • Looks like it's having trouble enumerating the list of Virtual Switches...

    Can you post the list of switches from the Virtual Switch Manager ... of the Hyper-V Manager.


    -Eric.

    • Marked as answer by AnkitOnline Thursday, November 7, 2013 12:47 PM
    Wednesday, November 6, 2013 11:58 PM
  • Yes, that worked.

    It was unable to enumerate the vSwitches. when I opened Hyper-V manager and clicked on 'Virtual switch manager'. It gave me an error saying 'An error occurred while trying to retrieve a list of virtual switches' 

    This error, I was able to resolve by adding 'Hyper - V Extensible Virtual Switch' protocol in 'Ethernet Properties'

    And by Uninstalling and Reinstalling Hyper-V from 'Turn windows features on or off' in control panel.

    I wrote this, so if anybody facing the same problem, will be able to resolve it as I did.

    Thanks again Eric.

    Thursday, November 7, 2013 1:08 PM