none
Problem: SDK installation fails because Azure Sphere Device Communication Service failed to start RRS feed

  • Question

  • I had installed the SDK and tried to use the CLI to create a new Azure Sphere tenant but it suggested there was some communication problem and advised me to uninstall and then reinstall.
    Uninstalled it but couldn't reinstall again successfully. I retried the installation multiple times but to no avail.

    After taking a long time trying to set up Azure Sphere Device Communication Service it eventually threw an error:
    "Service 'Azure Sphere Device Communication Service'(AzureSphereDeviceCommunicationService) failed to start. Verify you have sufficient privileges to start system services.

    Logs

    [302C:3048][2019-09-02T19:36:15]i001: Burn v3.11.0.1701, Windows v10.0 (Build 18362: Service Pack 0), path: C:\Users\rados\AppData\Local\Temp{7035A718-44BB-4443-AD3B-3FB4AC678D62}.cr\Azure_Sphere_SDK_Preview_for_Visual_Studio.exe
    [302C:3048][2019-09-02T19:36:15]i000: Initializing string variable 'MbaNetfxPackageId' to value 'netfxfullredist_43'
    [302C:3048][2019-09-02T19:36:15]i000: Initializing string variable 'vsixQuiet' to value 'yes'
    [302C:3048][2019-09-02T19:36:15]i009: Command Line: '-burn.clean.room=C:\Users\rados\Downloads\Azure_Sphere_SDK_Preview_for_Visual_Studio.exe -burn.filehandle.attached=680 -burn.filehandle.self=612'
    [302C:3048][2019-09-02T19:36:15]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\rados\Downloads\Azure_Sphere_SDK_Preview_for_Visual_Studio.exe'
    [302C:3048][2019-09-02T19:36:15]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\rados\Downloads'
    [302C:3048][2019-09-02T19:36:15]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190902193615.log'
    [302C:3048][2019-09-02T19:36:15]i052: Condition '(VersionNT >= v6.1)' evaluates to true.
    [302C:3048][2019-09-02T19:36:15]i000: Setting string variable 'WixBundleName' to value 'Azure Sphere SDK Preview for Visual Studio'
    [302C:3048][2019-09-02T19:36:15]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'
    [302C:2CAC][2019-09-02T19:36:15]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
    [302C:2CAC][2019-09-02T19:36:15]i000: Setting version variable 'WixBundleFileVersion' to value '19.5.5.30306'
    [302C:2CAC][2019-09-02T19:36:15]i000: Visual Studio Instance: Microsoft.VisualStudio.Product.Enterprise, Version 16.2.29209.62
    [302C:2CAC][2019-09-02T19:36:15]i000: Setting numeric variable 'VS2019_16_0_P2_Available' to value 1
    [302C:2CAC][2019-09-02T19:36:15]i000: Setting numeric variable 'VS2019_16_0_4_Available' to value 1
    [302C:2CAC][2019-09-02T19:36:15]i000: Visual Studio Instance: Microsoft.VisualStudio.Product.SQL, Version 15.8.28010.2050
    [302C:2CAC][2019-09-02T19:36:15]i000: Visual Studio Instance: Microsoft.VisualStudio.Product.Enterprise, Version 15.9.28307.586
    [302C:2CAC][2019-09-02T19:36:15]i000: Setting numeric variable 'VS2017_15_7_Available' to value 1
    [302C:2CAC][2019-09-02T19:36:15]i000: Setting numeric variable 'VS2017_15_9_Available' to value 1
    [302C:3048][2019-09-02T19:36:16]i100: Detect begin, 11 packages
    [302C:3048][2019-09-02T19:36:16]i000: Product or related product not found: {D0C37DF0-56F6-4D80-BDFC-74EEB20F578D}
    [302C:3048][2019-09-02T19:36:16]i000: Setting version variable 'installedExtensionVersion' to value '0.0.0.0'
    [302C:3048][2019-09-02T19:36:16]i000: Setting string variable 'WindowsBuildNumber' to value '18362'
    [302C:3048][2019-09-02T19:36:16]i000: Setting string variable 'NETFRAMEWORK45' to value '528040'
    [302C:3048][2019-09-02T19:36:16]i000: Setting version variable 'vsixInstallerVersion' to value '16.3.1061.22335'
    [302C:3048][2019-09-02T19:36:16]i052: Condition 'NETFRAMEWORK45 >= 461808' evaluates to true.
    [302C:3048][2019-09-02T19:36:16]i052: Condition 'NOT (WixBundleAction = 3 AND WixBundleUILevel = 1)' evaluates to true.
    [302C:3048][2019-09-02T19:36:16]i052: Condition 'NOT (WixBundleAction = 3 AND WixBundleUILevel = 1)' evaluates to true.
    [302C:3048][2019-09-02T19:36:16]i052: Condition '(WixBundleAction=3) AND (NOT WixBundleUILevel=1)' evaluates to false.
    [302C:3048][2019-09-02T19:36:16]i052: Condition '(WixBundleAction=3) AND (NOT WixBundleUILevel=1)' evaluates to false.
    [302C:3048][2019-09-02T19:36:16]i101: Detected package: NetFx472Redist, state: Present, cached: None
    [302C:3048][2019-09-02T19:36:16]i101: Detected package: ConnectedServiceLegacyUninstallQuiet, state: Present, cached: None
    [302C:3048][2019-09-02T19:36:16]i101: Detected package: ConnectedServiceUninstallQuietV16, state: Present, cached: None
    [302C:3048][2019-09-02T19:36:16]i101: Detected package: VSExtensionVSIXV15, state: Absent, cached: None
    [302C:3048][2019-09-02T19:36:16]i101: Detected package: VSExtensionVSIXV16, state: Absent, cached: None
    [302C:3048][2019-09-02T19:36:16]i101: Detected package: TapDriverInstaller, state: Absent, cached: None
    [302C:3048][2019-09-02T19:36:16]i101: Detected package: AzureSphereCore, state: Absent, cached: None
    [302C:3048][2019-09-02T19:36:16]i101: Detected package: SlipService, state: Absent, cached: None
    [302C:3048][2019-09-02T19:36:16]i101: Detected package: Sysroot_index0, state: Absent, cached: Complete
    [302C:3048][2019-09-02T19:36:16]i101: Detected package: Sysroot_index1, state: Absent, cached: Complete
    [302C:3048][2019-09-02T19:36:16]i101: Detected package: Sysroot_index2, state: Absent, cached: Complete
    [302C:3048][2019-09-02T19:36:16]i052: Condition 'WindowsBuildNumber >= 14393' evaluates to true.
    [302C:3048][2019-09-02T19:36:16]i052: Condition 'VS2017_15_9_Available OR VS2019_16_0_4_Available' evaluates to true.
    [302C:3048][2019-09-02T19:36:16]i199: Detect complete, result: 0x0
    [302C:2CAC][2019-09-02T19:36:33]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1
    [302C:2CAC][2019-09-02T19:36:34]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1
    [302C:3048][2019-09-02T19:36:34]i200: Plan begin, 11 packages, action: Install
    [302C:3048][2019-09-02T19:36:34]w321: Skipping dependency registration on package with no dependency providers: NetFx472Redist
    [302C:3048][2019-09-02T19:36:34]w321: Skipping dependency registration on package with no dependency providers: ConnectedServiceLegacyUninstallQuiet
    [302C:3048][2019-09-02T19:36:34]w321: Skipping dependency registration on package with no dependency providers: ConnectedServiceUninstallQuietV16
    [302C:3048][2019-09-02T19:36:34]w321: Skipping dependency registration on package with no dependency providers: VSExtensionVSIXV15
    [302C:3048][2019-09-02T19:36:34]i000: Setting string variable 'WixBundleLog_VSExtensionVSIXV15' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190902193615_000_VSExtensionVSIXV15.log'
    [302C:3048][2019-09-02T19:36:34]i000: Setting string variable 'WixBundleRollbackLog_VSExtensionVSIXV15' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190902193615_000_VSExtensionVSIXV15_rollback.log'
    [302C:3048][2019-09-02T19:36:34]w321: Skipping dependency registration on package with no dependency providers: VSExtensionVSIXV16
    [302C:3048][2019-09-02T19:36:34]i000: Setting string variable 'WixBundleLog_VSExtensionVSIXV16' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190902193615_001_VSExtensionVSIXV16.log'
    [302C:3048][2019-09-02T19:36:34]i000: Setting string variable 'WixBundleRollbackLog_VSExtensionVSIXV16' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190902193615_001_VSExtensionVSIXV16_rollback.log'
    [302C:3048][2019-09-02T19:36:34]i000: Setting string variable 'WixBundleRollbackLog_TapDriverInstaller' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190902193615_002_TapDriverInstaller_rollback.log'
    [302C:3048][2019-09-02T19:36:34]i000: Setting string variable 'WixBundleLog_TapDriverInstaller' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190902193615_002_TapDriverInstaller.log'
    [302C:3048][2019-09-02T19:36:34]i000: Setting string variable 'WixBundleRollbackLog_AzureSphereCore' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190902193615_003_AzureSphereCore_rollback.log'
    [302C:3048][2019-09-02T19:36:34]i000: Setting string variable 'WixBundleLog_AzureSphereCore' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190902193615_003_AzureSphereCore.log'
    [302C:3048][2019-09-02T19:36:34]i000: Setting string variable 'WixBundleRollbackLog_SlipService' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190902193615_004_SlipService_rollback.log'
    [302C:3048][2019-09-02T19:36:34]i000: Setting string variable 'WixBundleLog_SlipService' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190902193615_004_SlipService.log'
    [302C:3048][2019-09-02T19:36:34]i000: Setting string variable 'WixBundleRollbackLog_Sysroot_index0' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190902193615_005_Sysroot_index0_rollback.log'
    [302C:3048][2019-09-02T19:36:34]i000: Setting string variable 'WixBundleLog_Sysroot_index0' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190902193615_005_Sysroot_index0.log'
    [302C:3048][2019-09-02T19:36:34]i000: Setting string variable 'WixBundleRollbackLog_Sysroot_index1' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190902193615_006_Sysroot_index1_rollback.log'
    [302C:3048][2019-09-02T19:36:34]i000: Setting string variable 'WixBundleLog_Sysroot_index1' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190902193615_006_Sysroot_index1.log'
    [302C:3048][2019-09-02T19:36:34]i000: Setting string variable 'WixBundleRollbackLog_Sysroot_index2' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190902193615_007_Sysroot_index2_rollback.log'
    [302C:3048][2019-09-02T19:36:34]i000: Setting string variable 'WixBundleLog_Sysroot_index2' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190902193615_007_Sysroot_index2.log'
    [302C:3048][2019-09-02T19:36:34]i201: Planned package: NetFx472Redist, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
    [302C:3048][2019-09-02T19:36:34]i201: Planned package: ConnectedServiceLegacyUninstallQuiet, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
    [302C:3048][2019-09-02T19:36:34]i201: Planned package: ConnectedServiceUninstallQuietV16, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
    [302C:3048][2019-09-02T19:36:34]i201: Planned package: VSExtensionVSIXV15, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: None
    [302C:3048][2019-09-02T19:36:34]i201: Planned package: VSExtensionVSIXV16, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: None
    [302C:3048][2019-09-02T19:36:34]i201: Planned package: TapDriverInstaller, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
    [302C:3048][2019-09-02T19:36:34]i201: Planned package: AzureSphereCore, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
    [302C:3048][2019-09-02T19:36:34]i201: Planned package: SlipService, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
    [302C:3048][2019-09-02T19:36:34]i201: Planned package: Sysroot_index0, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
    [302C:3048][2019-09-02T19:36:34]i201: Planned package: Sysroot_index1, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
    [302C:3048][2019-09-02T19:36:34]i201: Planned package: Sysroot_index2, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
    [302C:3048][2019-09-02T19:36:34]i299: Plan complete, result: 0x0
    [302C:3048][2019-09-02T19:36:34]i300: Apply begin
    [302C:3048][2019-09-02T19:36:34]i010: Launching elevated engine process.
    [302C:3048][2019-09-02T19:36:34]i011: Launched elevated engine process.
    [302C:3048][2019-09-02T19:36:35]i012: Connected to elevated engine.
    [4B58:4B5C][2019-09-02T19:36:35]i358: Pausing automatic updates.
    [4B58:4B5C][2019-09-02T19:36:35]i359: Paused automatic updates.
    [4B58:4B5C][2019-09-02T19:36:35]i360: Creating a system restore point.
    [4B58:4B5C][2019-09-02T19:36:40]i361: Created a system restore point.
    [4B58:4B5C][2019-09-02T19:36:40]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{44d54802-bd62-47d6-879a-12ad81977429}, options: 0x7, disable resume: No
    [4B58:4B5C][2019-09-02T19:36:41]i000: Caching bundle from: 'C:\Users\rados\AppData\Local\Temp{240D9DCB-B849-46B1-AFFB-2326A1F74517}.be\Azure_Sphere_SDK_Preview_for_Visual_Studio.exe' to: 'C:\ProgramData\Package Cache{44d54802-bd62-47d6-879a-12ad81977429}\Azure_Sphere_SDK_Preview_for_Visual_Studio.exe'
    [4B58:4B5C][2019-09-02T19:36:41]i320: Registering bundle dependency provider: {44d54802-bd62-47d6-879a-12ad81977429}, version: 19.5.5.30306
    [4B58:4B5C][2019-09-02T19:36:41]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{44d54802-bd62-47d6-879a-12ad81977429}, resume: Active, restart initiated: No, disable resume: No
    [4B58:4B74][2019-09-02T19:36:43]i305: Verified acquired payload: VSExtensionVSIXV15 at path: C:\ProgramData\Package Cache.unverified\VSExtensionVSIXV15, moving to: C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\VSIXBootstrapper.exe.
    [4B58:4B74][2019-09-02T19:36:43]i305: Verified acquired payload: pay3912B067C0C3B3BD71D04EAFE02C013E at path: C:\ProgramData\Package Cache.unverified\pay3912B067C0C3B3BD71D04EAFE02C013E, moving to: C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\Microsoft.VisualStudio.AzureSphere.ProjectSystem.V15.vsix.
    [4B58:4B74][2019-09-02T19:36:43]i304: Verified existing payload: pay4ABED1BE3EE0382DB831E4B0748EE4B4 at path: C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\VSIXBootstrapper.exe.
    [4B58:4B74][2019-09-02T19:36:43]i305: Verified acquired payload: pay85756EDBC156E51A6C9A9EE79A669353 at path: C:\ProgramData\Package Cache.unverified\pay85756EDBC156E51A6C9A9EE79A669353, moving to: C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\Microsoft.VisualStudio.AzureSphere.ProjectSystem.V16.vsix.
    [4B58:4B5C][2019-09-02T19:36:43]i052: Condition '(vsixQuiet = "yes") OR (WixBundleUILevel=2)' evaluates to true.
    [4B58:4B5C][2019-09-02T19:36:43]i301: Applying execute package: VSExtensionVSIXV15, action: Install, path: C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\VSIXBootstrapper.exe, arguments: '"C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\VSIXBootstrapper.exe" /admin /shutdownprocesses "Microsoft.VisualStudio.AzureSphere.ProjectSystem.V15.vsix" /q'
    [4B58:4B74][2019-09-02T19:36:43]i304: Verified existing payload: VSExtensionVSIXV16 at path: C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\VSIXBootstrapper.exe.
    [4B58:4B74][2019-09-02T19:36:43]i304: Verified existing payload: pay3912B067C0C3B3BD71D04EAFE02C013E at path: C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\Microsoft.VisualStudio.AzureSphere.ProjectSystem.V15.vsix.
    [4B58:4B74][2019-09-02T19:36:43]i304: Verified existing payload: pay4ABED1BE3EE0382DB831E4B0748EE4B4 at path: C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\VSIXBootstrapper.exe.
    [4B58:4B74][2019-09-02T19:36:43]i304: Verified existing payload: pay85756EDBC156E51A6C9A9EE79A669353 at path: C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\Microsoft.VisualStudio.AzureSphere.ProjectSystem.V16.vsix.
    [4B58:4B74][2019-09-02T19:36:43]i305: Verified acquired payload: TapDriverInstaller at path: C:\ProgramData\Package Cache.unverified\TapDriverInstaller, moving to: C:\ProgramData\Package Cache{BF7D823B-6E5F-433B-9C85-E9EECB1124BC}v2.2.0\packages\TapDriverInstaller\TapDriverInstaller.msi.
    [4B58:4B74][2019-09-02T19:36:43]i305: Verified acquired payload: AzureSphereCore at path: C:\ProgramData\Package Cache.unverified\AzureSphereCore, moving to: C:\ProgramData\Package Cache{DEC4629D-08A5-4D6A-90D9-1E89B8024CFA}v19.05.4.53731\packages\AzureSphereCore\AzureSphereCore.msi.
    [4B58:4B74][2019-09-02T19:36:43]i305: Verified acquired payload: SlipService at path: C:\ProgramData\Package Cache.unverified\SlipService, moving to: C:\ProgramData\Package Cache{15D970F1-2AB1-4553-94E0-12DEC338AF1F}v19.5.4.53731\packages\SlipService\Azure Sphere Device Communication Service.msi.
    [4B58:4B74][2019-09-02T19:36:44]i304: Verified existing payload: Sysroot_index0 at path: C:\ProgramData\Package Cache{CB7B85C6-65E4-4313-B137-1CD5A66D52E3}v19.02.3.59866\Sysroot0.msi.
    [4B58:4B74][2019-09-02T19:36:46]i304: Verified existing payload: Sysroot_index1 at path: C:\ProgramData\Package Cache{F5C48017-9F0C-4496-A7F3-F7575F918838}v19.05.4.44931\Sysroot1.msi.
    [4B58:4B74][2019-09-02T19:36:47]i304: Verified existing payload: Sysroot_index2 at path: C:\ProgramData\Package Cache{992C25E5-6E67-4B8C-99A7-692329CE45D6}v19.05.4.44935\Sysroot2.msi.
    [302C:3048][2019-09-02T19:38:13]i319: Applied execute package: VSExtensionVSIXV15, result: 0x0, restart: None
    [4B58:4B5C][2019-09-02T19:38:13]i052: Condition '(vsixQuiet = "yes") OR (WixBundleUILevel=2)' evaluates to true.
    [4B58:4B5C][2019-09-02T19:38:13]i301: Applying execute package: VSExtensionVSIXV16, action: Install, path: C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\VSIXBootstrapper.exe, arguments: '"C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\VSIXBootstrapper.exe" /admin /shutdownprocesses "Microsoft.VisualStudio.AzureSphere.ProjectSystem.V16.vsix" /q'
    [302C:3048][2019-09-02T19:40:02]i319: Applied execute package: VSExtensionVSIXV16, result: 0x0, restart: None
    [4B58:4B5C][2019-09-02T19:40:02]i323: Registering package dependency provider: {BF7D823B-6E5F-433B-9C85-E9EECB1124BC}, version: 2.2.0, package: TapDriverInstaller
    [4B58:4B5C][2019-09-02T19:40:02]i301: Applying execute package: TapDriverInstaller, action: Install, path: C:\ProgramData\Package Cache{BF7D823B-6E5F-433B-9C85-E9EECB1124BC}v2.2.0\packages\TapDriverInstaller\TapDriverInstaller.msi, arguments: ' MSIFASTINSTALL="7" VSEXTUI="1" VSFOLDER=""'
    [302C:3048][2019-09-02T19:40:09]i319: Applied execute package: TapDriverInstaller, result: 0x0, restart: None
    [4B58:4B5C][2019-09-02T19:40:09]i325: Registering dependency: {44d54802-bd62-47d6-879a-12ad81977429} on package provider: {BF7D823B-6E5F-433B-9C85-E9EECB1124BC}, package: TapDriverInstaller
    [4B58:4B5C][2019-09-02T19:40:09]i323: Registering package dependency provider: {DEC4629D-08A5-4D6A-90D9-1E89B8024CFA}, version: 19.05.4.53731, package: AzureSphereCore
    [4B58:4B5C][2019-09-02T19:40:09]i301: Applying execute package: AzureSphereCore, action: Install, path: C:\ProgramData\Package Cache{DEC4629D-08A5-4D6A-90D9-1E89B8024CFA}v19.05.4.53731\packages\AzureSphereCore\AzureSphereCore.msi, arguments: ' MSIFASTINSTALL="7" VSEXTUI="1" INSTALLFOLDER=""'
    [302C:3048][2019-09-02T19:40:11]i319: Applied execute package: AzureSphereCore, result: 0x0, restart: None
    [4B58:4B5C][2019-09-02T19:40:11]i325: Registering dependency: {44d54802-bd62-47d6-879a-12ad81977429} on package provider: {DEC4629D-08A5-4D6A-90D9-1E89B8024CFA}, package: AzureSphereCore
    [4B58:4B5C][2019-09-02T19:40:11]i323: Registering package dependency provider: {15D970F1-2AB1-4553-94E0-12DEC338AF1F}, version: 19.5.4.53731, package: SlipService
    [4B58:4B5C][2019-09-02T19:40:11]i301: Applying execute package: SlipService, action: Install, path: C:\ProgramData\Package Cache{15D970F1-2AB1-4553-94E0-12DEC338AF1F}v19.5.4.53731\packages\SlipService\Azure Sphere Device Communication Service.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7" VSEXTUI="1" VSFOLDER=""'
    [4B58:4B5C][2019-09-02T19:48:22]e000: Error 0x80070643: Failed to install MSI package.
    [4B58:4B5C][2019-09-02T19:48:22]e000: Error 0x80070643: Failed to execute MSI package.
    [302C:3048][2019-09-02T19:48:22]e000: Error 0x80070643: Failed to configure per-machine MSI package.
    [302C:3048][2019-09-02T19:48:22]i319: Applied execute package: SlipService, result: 0x80070643, restart: None
    [302C:3048][2019-09-02T19:48:22]e000: Error 0x80070643: Failed to execute MSI package.
    [4B58:4B5C][2019-09-02T19:48:22]i318: Skipped rollback of package: SlipService, action: Uninstall, already: Absent
    [302C:3048][2019-09-02T19:48:22]i319: Applied rollback package: SlipService, result: 0x0, restart: None
    [4B58:4B5C][2019-09-02T19:48:22]i329: Removed package dependency provider: {15D970F1-2AB1-4553-94E0-12DEC338AF1F}, package: SlipService
    [4B58:4B5C][2019-09-02T19:48:22]i351: Removing cached package: SlipService, from path: C:\ProgramData\Package Cache{15D970F1-2AB1-4553-94E0-12DEC338AF1F}v19.5.4.53731
    [4B58:4B5C][2019-09-02T19:48:22]i326: Removed dependency: {44d54802-bd62-47d6-879a-12ad81977429} on package provider: {DEC4629D-08A5-4D6A-90D9-1E89B8024CFA}, package AzureSphereCore
    [4B58:4B5C][2019-09-02T19:48:22]i301: Applying rollback package: AzureSphereCore, action: Uninstall, path: (null), arguments: ' MSIFASTINSTALL="7" VSEXTUI="1" INSTALLFOLDER=""'
    [302C:3048][2019-09-02T19:48:26]i319: Applied rollback package: AzureSphereCore, result: 0x0, restart: None
    [4B58:4B5C][2019-09-02T19:48:26]i329: Removed package dependency provider: {DEC4629D-08A5-4D6A-90D9-1E89B8024CFA}, package: AzureSphereCore
    [4B58:4B5C][2019-09-02T19:48:26]i351: Removing cached package: AzureSphereCore, from path: C:\ProgramData\Package Cache{DEC4629D-08A5-4D6A-90D9-1E89B8024CFA}v19.05.4.53731
    [4B58:4B5C][2019-09-02T19:48:26]i326: Removed dependency: {44d54802-bd62-47d6-879a-12ad81977429} on package provider: {BF7D823B-6E5F-433B-9C85-E9EECB1124BC}, package TapDriverInstaller
    [4B58:4B5C][2019-09-02T19:48:26]i301: Applying rollback package: TapDriverInstaller, action: Uninstall, path: (null), arguments: ' MSIFASTINSTALL="7" VSEXTUI="1" VSFOLDER=""'
    [302C:3048][2019-09-02T19:48:29]i319: Applied rollback package: TapDriverInstaller, result: 0x0, restart: None
    [4B58:4B5C][2019-09-02T19:48:29]i329: Removed package dependency provider: {BF7D823B-6E5F-433B-9C85-E9EECB1124BC}, package: TapDriverInstaller
    [4B58:4B5C][2019-09-02T19:48:29]i351: Removing cached package: TapDriverInstaller, from path: C:\ProgramData\Package Cache{BF7D823B-6E5F-433B-9C85-E9EECB1124BC}v2.2.0
    [4B58:4B5C][2019-09-02T19:48:29]i052: Condition '(vsixQuiet = "yes") OR (WixBundleUILevel=2)' evaluates to true.
    [4B58:4B5C][2019-09-02T19:48:29]i301: Applying rollback package: VSExtensionVSIXV16, action: Uninstall, path: C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\VSIXBootstrapper.exe, arguments: '"C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\VSIXBootstrapper.exe" /admin /shutdownprocesses /u:Microsoft.VisualStudio.VC.AzureSphere.358C73EE-4D62-434F-AEFE-D915180CAC82 /q'
    [302C:3048][2019-09-02T19:51:13]i319: Applied rollback package: VSExtensionVSIXV16, result: 0x0, restart: None
    [4B58:4B5C][2019-09-02T19:51:13]i351: Removing cached package: VSExtensionVSIXV16, from path: C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306
    [4B58:4B5C][2019-09-02T19:51:13]i052: Condition '(vsixQuiet = "yes") OR (WixBundleUILevel=2)' evaluates to true.
    [4B58:4B5C][2019-09-02T19:51:13]i301: Applying rollback package: VSExtensionVSIXV15, action: Uninstall, path: C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\VSIXBootstrapper.exe, arguments: '"C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\VSIXBootstrapper.exe" /admin /shutdownprocesses /u:Microsoft.VisualStudio.VC.FourByFour.750771ED-69BE-4B1A-BD6E-B336AC5EB960 /q'
    [4B58:4B5C][2019-09-02T19:51:13]e000: Error 0x80070003: Failed to CreateProcess on path: C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\VSIXBootstrapper.exe
    [4B58:4B5C][2019-09-02T19:51:13]e000: Error 0x80070003: Failed to execute EXE package.
    [302C:3048][2019-09-02T19:51:13]e000: Error 0x80070003: Failed to configure per-machine EXE package.
    [302C:3048][2019-09-02T19:51:13]i319: Applied rollback package: VSExtensionVSIXV15, result: 0x80070003, restart: None
    [4B58:4B5C][2019-09-02T19:51:13]i351: Removing cached package: VSExtensionVSIXV15, from path: C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306
    [4B58:4B5C][2019-09-02T19:51:13]w353: Unable to remove cached package: VSExtensionVSIXV15, from path: C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306, reason: 0x80070003. Continuing...
    [4B58:4B5C][2019-09-02T19:51:13]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{44d54802-bd62-47d6-879a-12ad81977429}, resume: None, restart: None, disable resume: No
    [4B58:4B5C][2019-09-02T19:51:13]i330: Removed bundle dependency provider: {44d54802-bd62-47d6-879a-12ad81977429}
    [4B58:4B5C][2019-09-02T19:51:13]i352: Removing cached bundle: {44d54802-bd62-47d6-879a-12ad81977429}, from path: C:\ProgramData\Package Cache{44d54802-bd62-47d6-879a-12ad81977429}
    [4B58:4B5C][2019-09-02T19:51:13]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{44d54802-bd62-47d6-879a-12ad81977429}, resume: None, restart initiated: No, disable resume: No
    [302C:3048][2019-09-02T19:51:13]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart: No

    Monday, September 2, 2019 4:59 PM

Answers

  • Thanks for the help! I've already sent all logs to the Azure Sphere team and they will examine them.

    I think the problem was with the TAP driver installation as it was failing with the following message: "Failed to rename the interface 'Ethernet 3' to 'Azure Sphere'". But when I checked all network connections I couldn't find an existing one named "Azure Sphere".
    I had to reset Windows on my machine to get Azure Sphere SDK to install, as I have an upcoming demo with Azure Sphere in 2 days.


    Thursday, September 12, 2019 8:41 AM

All replies

  • Hi I'm sorry to hear that you are facing this issue. Can you please share the following?

    What version of Visual Studio?

    Windows Version?

    I'm just trying to confirm that the prerequisites listed here are met: https://docs.microsoft.com/en-us/azure-sphere/install/install

    Monday, September 2, 2019 7:31 PM
    Owner
  • Hi, we've seen a few instances of this problem recently.  To help us diagnose it further, please could you gather the following two pieces of information and send them to AZCommunity@microsoft.com, along with a link back to this issue.  Thanks.

    1:

    Run azsphere get-support-data --output diags.zip.  

    Send us the .zip file.

    2:

    Run eventvwr.msc (Event Viewer).

    Navigate to Application and Services Logs -> Azure Sphere Device Communication Service.  [If not present, select all logs.]

    Right-click and select "Save All Events As...".

    Send us the .evtx file.


    Monday, September 2, 2019 8:35 PM
    Moderator
  • Hi,

    Unfortunately, those steps are impossible because Azure Sphere SDK and Azure Sphere Device Communication Service never get installed.
    So, I don't have the Azure Sphere CLI and Azure Sphere Device Communication Service under Application and Service Logs. The only thing I can find is the logs from the installation attempt of the service which is under Windows Logs > Application.

    Tuesday, September 3, 2019 11:40 AM
  • Hi - ah, of course, that makes sense.  With apologies and thanks for the effort, please can you:

    1. Delete the following file if it exists: c:\windows\serviceprofiles\localservice\appdata\local\Azure Sphere Tools\restore.json

    2. (Even if the file didn't exist) Retry the install one more time.

    3. Save all of the recent event logs and send them to us - we hope it will contain logs from the service start failure, even though we understand it was then uninstalled again.

    4. Send us the Windows installation logs you mention - they might be useful too.

    I'll ask the engineering team for further guidance here too.

    Tuesday, September 3, 2019 12:05 PM
    Moderator
  • Ah, I see you already have sent the logs you have - thank you.  Let's look at those before asking you to spend more time on this.

    Though we would be interested to know if the restore.json file exists, which I mentioned above.

    Thanks again.

    Tuesday, September 3, 2019 12:09 PM
    Moderator
  • There isn't such directory named "Azure Sphere Tools".
    Thanks!
    Tuesday, September 3, 2019 3:12 PM
  • My working assumption, for now, is that there might be some problem with the TAP adapter configuration because when the error for the Azure Sphere Device Communication Service appears in a confirmation dialog, it halts the installation of the whole SDK. The TAP driver is being installed just before the Azure Sphere Device Communication Service, so when I go to Network Connection I cannot see an active TAP-Windows Adapter named Azure Sphere(or any TAP adapter at all). I guess Azure Sphere Device Communication Service may depend on a working TAP adapter and therefore could fail when it's absent.
    Tuesday, September 3, 2019 3:23 PM
  • Hi,
    I missed this question about the versions somehow.

    The following versions are running on my machine:

    • Visual Studio Enterprise 2017 Version 15.9.11
    • Visual Studio Enterprise 2019 Version 16.2.2
    • Windows 10 Pro Version 1903 (OS Build 18362.329)

    Tuesday, September 3, 2019 5:42 PM
  • I just updated both Visual Studio 2017 and 2019 to their latest versions. And the setup fails with "Unspecified error".

    Latest versions are:

    • Visual Studio Enterprise 2017 Version 15.9.5
    • Visual Studio Enterprise 2019 Version 16.2.3

    This time it chooses VS 2019 to install the VSIX.

    A new piece of logs:

    [3930:38E8][2019-09-03T21:01:30]i001: Burn v3.11.0.1701, Windows v10.0 (Build 18362: Service Pack 0), path: C:\Users\rados\AppData\Local\Temp\{BA52AFEC-3348-4FD2-9CCA-E1A9A26BFD8C}\.cr\Azure_Sphere_SDK_Preview_for_Visual_Studio.exe
    [3930:38E8][2019-09-03T21:01:30]i000: Initializing string variable 'MbaNetfxPackageId' to value 'netfxfullredist_43'
    [3930:38E8][2019-09-03T21:01:30]i000: Initializing string variable 'vsixQuiet' to value 'yes'
    [3930:38E8][2019-09-03T21:01:30]i009: Command Line: '-burn.clean.room=C:\Users\rados\Downloads\Azure_Sphere_SDK_Preview_for_Visual_Studio.exe -burn.filehandle.attached=700 -burn.filehandle.self=696'
    [3930:38E8][2019-09-03T21:01:30]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\rados\Downloads\Azure_Sphere_SDK_Preview_for_Visual_Studio.exe'
    [3930:38E8][2019-09-03T21:01:30]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\rados\Downloads\'
    [3930:38E8][2019-09-03T21:01:30]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190903210130.log'
    [3930:38E8][2019-09-03T21:01:30]i052: Condition '(VersionNT >= v6.1)' evaluates to true.
    [3930:38E8][2019-09-03T21:01:30]i000: Setting string variable 'WixBundleName' to value 'Azure Sphere SDK Preview for Visual Studio'
    [3930:38E8][2019-09-03T21:01:30]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'
    [3930:0584][2019-09-03T21:01:30]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
    [3930:0584][2019-09-03T21:01:30]i000: Setting version variable 'WixBundleFileVersion' to value '19.5.5.30306'
    [3930:0584][2019-09-03T21:01:30]i000: Visual Studio Instance: Microsoft.VisualStudio.Product.Enterprise, Version 16.2.29215.179
    [3930:0584][2019-09-03T21:01:30]i000: Setting numeric variable 'VS2019_16_0_P2_Available' to value 1
    [3930:0584][2019-09-03T21:01:30]i000: Setting numeric variable 'VS2019_16_0_4_Available' to value 1
    [3930:0584][2019-09-03T21:01:30]i000: Visual Studio Instance: Microsoft.VisualStudio.Product.SQL, Version 15.9.28307.812
    [3930:0584][2019-09-03T21:01:30]i000: Visual Studio Instance: Microsoft.VisualStudio.Product.Enterprise, Version 15.9.28307.812
    [3930:0584][2019-09-03T21:01:30]i000: Setting numeric variable 'VS2017_15_7_Available' to value 1
    [3930:0584][2019-09-03T21:01:30]i000: Setting numeric variable 'VS2017_15_9_Available' to value 1
    [3930:38E8][2019-09-03T21:01:31]i100: Detect begin, 11 packages
    [3930:38E8][2019-09-03T21:01:31]i000: Product or related product not found: {D0C37DF0-56F6-4D80-BDFC-74EEB20F578D}
    [3930:38E8][2019-09-03T21:01:31]i000: Setting version variable 'installedExtensionVersion' to value '0.0.0.0'
    [3930:38E8][2019-09-03T21:01:31]i000: Setting string variable 'WindowsBuildNumber' to value '18362'
    [3930:38E8][2019-09-03T21:01:31]i000: Setting string variable 'NETFRAMEWORK45' to value '528040'
    [3930:38E8][2019-09-03T21:01:31]i000: Setting version variable 'vsixInstallerVersion' to value '16.3.1061.22335'
    [3930:38E8][2019-09-03T21:01:31]i052: Condition 'NETFRAMEWORK45 >= 461808' evaluates to true.
    [3930:38E8][2019-09-03T21:01:31]i052: Condition 'NOT (WixBundleAction = 3 AND WixBundleUILevel = 1)' evaluates to true.
    [3930:38E8][2019-09-03T21:01:31]i052: Condition 'NOT (WixBundleAction = 3 AND WixBundleUILevel = 1)' evaluates to true.
    [3930:38E8][2019-09-03T21:01:31]i052: Condition '(WixBundleAction=3) AND (NOT WixBundleUILevel=1)' evaluates to false.
    [3930:38E8][2019-09-03T21:01:31]i052: Condition '(WixBundleAction=3) AND (NOT WixBundleUILevel=1)' evaluates to false.
    [3930:38E8][2019-09-03T21:01:31]i101: Detected package: NetFx472Redist, state: Present, cached: None
    [3930:38E8][2019-09-03T21:01:31]i101: Detected package: ConnectedServiceLegacyUninstallQuiet, state: Present, cached: None
    [3930:38E8][2019-09-03T21:01:31]i101: Detected package: ConnectedServiceUninstallQuietV16, state: Present, cached: None
    [3930:38E8][2019-09-03T21:01:31]i101: Detected package: VSExtensionVSIXV15, state: Absent, cached: None
    [3930:38E8][2019-09-03T21:01:31]i101: Detected package: VSExtensionVSIXV16, state: Absent, cached: None
    [3930:38E8][2019-09-03T21:01:31]i101: Detected package: TapDriverInstaller, state: Absent, cached: Complete
    [3930:38E8][2019-09-03T21:01:31]i101: Detected package: AzureSphereCore, state: Absent, cached: Complete
    [3930:38E8][2019-09-03T21:01:31]i101: Detected package: SlipService, state: Absent, cached: Complete
    [3930:38E8][2019-09-03T21:01:31]i101: Detected package: Sysroot_index0, state: Absent, cached: Complete
    [3930:38E8][2019-09-03T21:01:31]i101: Detected package: Sysroot_index1, state: Absent, cached: Complete
    [3930:38E8][2019-09-03T21:01:31]i101: Detected package: Sysroot_index2, state: Absent, cached: Complete
    [3930:38E8][2019-09-03T21:01:31]i052: Condition 'WindowsBuildNumber >= 14393' evaluates to true.
    [3930:38E8][2019-09-03T21:01:31]i052: Condition 'VS2017_15_9_Available OR VS2019_16_0_4_Available' evaluates to true.
    [3930:38E8][2019-09-03T21:01:31]i199: Detect complete, result: 0x0
    [3930:0584][2019-09-03T21:01:34]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1
    [3930:0584][2019-09-03T21:01:36]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1
    [3930:38E8][2019-09-03T21:01:36]i200: Plan begin, 11 packages, action: Install
    [3930:38E8][2019-09-03T21:01:36]w321: Skipping dependency registration on package with no dependency providers: NetFx472Redist
    [3930:38E8][2019-09-03T21:01:36]w321: Skipping dependency registration on package with no dependency providers: ConnectedServiceLegacyUninstallQuiet
    [3930:38E8][2019-09-03T21:01:36]w321: Skipping dependency registration on package with no dependency providers: ConnectedServiceUninstallQuietV16
    [3930:38E8][2019-09-03T21:01:36]w321: Skipping dependency registration on package with no dependency providers: VSExtensionVSIXV15
    [3930:38E8][2019-09-03T21:01:36]i000: Setting string variable 'WixBundleLog_VSExtensionVSIXV15' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190903210130_000_VSExtensionVSIXV15.log'
    [3930:38E8][2019-09-03T21:01:36]i000: Setting string variable 'WixBundleRollbackLog_VSExtensionVSIXV15' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190903210130_000_VSExtensionVSIXV15_rollback.log'
    [3930:38E8][2019-09-03T21:01:36]w321: Skipping dependency registration on package with no dependency providers: VSExtensionVSIXV16
    [3930:38E8][2019-09-03T21:01:36]i000: Setting string variable 'WixBundleLog_VSExtensionVSIXV16' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190903210130_001_VSExtensionVSIXV16.log'
    [3930:38E8][2019-09-03T21:01:36]i000: Setting string variable 'WixBundleRollbackLog_VSExtensionVSIXV16' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190903210130_001_VSExtensionVSIXV16_rollback.log'
    [3930:38E8][2019-09-03T21:01:36]i000: Setting string variable 'WixBundleRollbackLog_TapDriverInstaller' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190903210130_002_TapDriverInstaller_rollback.log'
    [3930:38E8][2019-09-03T21:01:36]i000: Setting string variable 'WixBundleLog_TapDriverInstaller' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190903210130_002_TapDriverInstaller.log'
    [3930:38E8][2019-09-03T21:01:36]i000: Setting string variable 'WixBundleRollbackLog_AzureSphereCore' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190903210130_003_AzureSphereCore_rollback.log'
    [3930:38E8][2019-09-03T21:01:36]i000: Setting string variable 'WixBundleLog_AzureSphereCore' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190903210130_003_AzureSphereCore.log'
    [3930:38E8][2019-09-03T21:01:36]i000: Setting string variable 'WixBundleRollbackLog_SlipService' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190903210130_004_SlipService_rollback.log'
    [3930:38E8][2019-09-03T21:01:36]i000: Setting string variable 'WixBundleLog_SlipService' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190903210130_004_SlipService.log'
    [3930:38E8][2019-09-03T21:01:36]i000: Setting string variable 'WixBundleRollbackLog_Sysroot_index0' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190903210130_005_Sysroot_index0_rollback.log'
    [3930:38E8][2019-09-03T21:01:36]i000: Setting string variable 'WixBundleLog_Sysroot_index0' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190903210130_005_Sysroot_index0.log'
    [3930:38E8][2019-09-03T21:01:36]i000: Setting string variable 'WixBundleRollbackLog_Sysroot_index1' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190903210130_006_Sysroot_index1_rollback.log'
    [3930:38E8][2019-09-03T21:01:36]i000: Setting string variable 'WixBundleLog_Sysroot_index1' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190903210130_006_Sysroot_index1.log'
    [3930:38E8][2019-09-03T21:01:36]i000: Setting string variable 'WixBundleRollbackLog_Sysroot_index2' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190903210130_007_Sysroot_index2_rollback.log'
    [3930:38E8][2019-09-03T21:01:36]i000: Setting string variable 'WixBundleLog_Sysroot_index2' to value 'C:\Users\rados\AppData\Local\Temp\dd_VC_AzureSphere_20190903210130_007_Sysroot_index2.log'
    [3930:38E8][2019-09-03T21:01:36]i201: Planned package: NetFx472Redist, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
    [3930:38E8][2019-09-03T21:01:36]i201: Planned package: ConnectedServiceLegacyUninstallQuiet, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
    [3930:38E8][2019-09-03T21:01:36]i201: Planned package: ConnectedServiceUninstallQuietV16, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
    [3930:38E8][2019-09-03T21:01:36]i201: Planned package: VSExtensionVSIXV15, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: None
    [3930:38E8][2019-09-03T21:01:36]i201: Planned package: VSExtensionVSIXV16, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: None
    [3930:38E8][2019-09-03T21:01:36]i201: Planned package: TapDriverInstaller, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
    [3930:38E8][2019-09-03T21:01:36]i201: Planned package: AzureSphereCore, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
    [3930:38E8][2019-09-03T21:01:36]i201: Planned package: SlipService, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
    [3930:38E8][2019-09-03T21:01:36]i201: Planned package: Sysroot_index0, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
    [3930:38E8][2019-09-03T21:01:36]i201: Planned package: Sysroot_index1, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
    [3930:38E8][2019-09-03T21:01:36]i201: Planned package: Sysroot_index2, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
    [3930:38E8][2019-09-03T21:01:36]i299: Plan complete, result: 0x0
    [3930:38E8][2019-09-03T21:01:37]i300: Apply begin
    [3930:38E8][2019-09-03T21:01:37]i010: Launching elevated engine process.
    [3930:38E8][2019-09-03T21:01:42]i011: Launched elevated engine process.
    [3930:38E8][2019-09-03T21:01:42]i012: Connected to elevated engine.
    [3820:0578][2019-09-03T21:01:42]i358: Pausing automatic updates.
    [3820:0578][2019-09-03T21:01:42]i359: Paused automatic updates.
    [3820:0578][2019-09-03T21:01:42]i360: Creating a system restore point.
    [3820:0578][2019-09-03T21:02:11]i361: Created a system restore point.
    [3820:0578][2019-09-03T21:02:11]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{44d54802-bd62-47d6-879a-12ad81977429}, options: 0x7, disable resume: No
    [3820:0578][2019-09-03T21:02:13]i000: Caching bundle from: 'C:\Users\rados\AppData\Local\Temp\{E50946F1-CD97-4387-AD80-CE122B0A0658}\.be\Azure_Sphere_SDK_Preview_for_Visual_Studio.exe' to: 'C:\ProgramData\Package Cache\{44d54802-bd62-47d6-879a-12ad81977429}\Azure_Sphere_SDK_Preview_for_Visual_Studio.exe'
    [3820:0578][2019-09-03T21:02:13]i320: Registering bundle dependency provider: {44d54802-bd62-47d6-879a-12ad81977429}, version: 19.5.5.30306
    [3820:0578][2019-09-03T21:02:13]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{44d54802-bd62-47d6-879a-12ad81977429}, resume: Active, restart initiated: No, disable resume: No
    [3820:3828][2019-09-03T21:02:13]i305: Verified acquired payload: VSExtensionVSIXV15 at path: C:\ProgramData\Package Cache\.unverified\VSExtensionVSIXV15, moving to: C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\VSIXBootstrapper.exe.
    [3820:3828][2019-09-03T21:02:13]i305: Verified acquired payload: pay3912B067C0C3B3BD71D04EAFE02C013E at path: C:\ProgramData\Package Cache\.unverified\pay3912B067C0C3B3BD71D04EAFE02C013E, moving to: C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\Microsoft.VisualStudio.AzureSphere.ProjectSystem.V15.vsix.
    [3820:3828][2019-09-03T21:02:13]i304: Verified existing payload: pay4ABED1BE3EE0382DB831E4B0748EE4B4 at path: C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\VSIXBootstrapper.exe.
    [3820:3828][2019-09-03T21:02:13]i305: Verified acquired payload: pay85756EDBC156E51A6C9A9EE79A669353 at path: C:\ProgramData\Package Cache\.unverified\pay85756EDBC156E51A6C9A9EE79A669353, moving to: C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\Microsoft.VisualStudio.AzureSphere.ProjectSystem.V16.vsix.
    [3820:0578][2019-09-03T21:02:13]i052: Condition '(vsixQuiet = "yes") OR (WixBundleUILevel=2)' evaluates to true.
    [3820:0578][2019-09-03T21:02:13]i301: Applying execute package: VSExtensionVSIXV15, action: Install, path: C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\VSIXBootstrapper.exe, arguments: '"C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\VSIXBootstrapper.exe" /admin /shutdownprocesses "Microsoft.VisualStudio.AzureSphere.ProjectSystem.V15.vsix" /q'
    [3820:3828][2019-09-03T21:02:13]i304: Verified existing payload: VSExtensionVSIXV16 at path: C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\VSIXBootstrapper.exe.
    [3820:3828][2019-09-03T21:02:13]i304: Verified existing payload: pay3912B067C0C3B3BD71D04EAFE02C013E at path: C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\Microsoft.VisualStudio.AzureSphere.ProjectSystem.V15.vsix.
    [3820:3828][2019-09-03T21:02:13]i304: Verified existing payload: pay4ABED1BE3EE0382DB831E4B0748EE4B4 at path: C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\VSIXBootstrapper.exe.
    [3820:3828][2019-09-03T21:02:13]i304: Verified existing payload: pay85756EDBC156E51A6C9A9EE79A669353 at path: C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\Microsoft.VisualStudio.AzureSphere.ProjectSystem.V16.vsix.
    [3820:3828][2019-09-03T21:02:14]i304: Verified existing payload: TapDriverInstaller at path: C:\ProgramData\Package Cache\{BF7D823B-6E5F-433B-9C85-E9EECB1124BC}v2.2.0\packages\TapDriverInstaller\TapDriverInstaller.msi.
    [3820:3828][2019-09-03T21:02:14]i304: Verified existing payload: AzureSphereCore at path: C:\ProgramData\Package Cache\{DEC4629D-08A5-4D6A-90D9-1E89B8024CFA}v19.05.4.53731\packages\AzureSphereCore\AzureSphereCore.msi.
    [3820:3828][2019-09-03T21:02:15]i304: Verified existing payload: SlipService at path: C:\ProgramData\Package Cache\{15D970F1-2AB1-4553-94E0-12DEC338AF1F}v19.5.4.53731\packages\SlipService\Azure Sphere Device Communication Service.msi.
    [3820:3828][2019-09-03T21:02:16]i304: Verified existing payload: Sysroot_index0 at path: C:\ProgramData\Package Cache\{CB7B85C6-65E4-4313-B137-1CD5A66D52E3}v19.02.3.59866\Sysroot0.msi.
    [3820:3828][2019-09-03T21:02:18]i304: Verified existing payload: Sysroot_index1 at path: C:\ProgramData\Package Cache\{F5C48017-9F0C-4496-A7F3-F7575F918838}v19.05.4.44931\Sysroot1.msi.
    [3820:3828][2019-09-03T21:02:20]i304: Verified existing payload: Sysroot_index2 at path: C:\ProgramData\Package Cache\{992C25E5-6E67-4B8C-99A7-692329CE45D6}v19.05.4.44935\Sysroot2.msi.
    [3820:0578][2019-09-03T21:02:37]e000: Error 0x80131500: Process returned error: 0x80131500
    [3820:0578][2019-09-03T21:02:37]e000: Error 0x80131500: Failed to execute EXE package.
    [3930:38E8][2019-09-03T21:02:37]e000: Error 0x80131500: Failed to configure per-machine EXE package.
    [3930:38E8][2019-09-03T21:02:37]i319: Applied execute package: VSExtensionVSIXV15, result: 0x80131500, restart: None
    [3930:38E8][2019-09-03T21:02:37]e000: Error 0x80131500: Failed to execute EXE package.
    [3820:0578][2019-09-03T21:02:37]i351: Removing cached package: VSExtensionVSIXV15, from path: C:\ProgramData\Package Cache\VSIXBootstrapper.19.5.5.30306\
    [3820:0578][2019-09-03T21:02:37]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{44d54802-bd62-47d6-879a-12ad81977429}, resume: None, restart: None, disable resume: No
    [3820:0578][2019-09-03T21:02:37]i330: Removed bundle dependency provider: {44d54802-bd62-47d6-879a-12ad81977429}
    [3820:0578][2019-09-03T21:02:37]i352: Removing cached bundle: {44d54802-bd62-47d6-879a-12ad81977429}, from path: C:\ProgramData\Package Cache\{44d54802-bd62-47d6-879a-12ad81977429}\
    [3820:0578][2019-09-03T21:02:37]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{44d54802-bd62-47d6-879a-12ad81977429}, resume: None, restart initiated: No, disable resume: No
    [3930:38E8][2019-09-03T21:02:37]i399: Apply complete, result: 0x80131500, restart: None, ba requested restart:  No

    Tuesday, September 3, 2019 6:08 PM
  • Error 0x80131500 ... search at google :)
    Tuesday, September 3, 2019 6:32 PM
  • Google results suggest I have a problem with Windows Store. As far as I know, Windows Store shouldn't have anything to do with the Azure Sphere SDK installation.
    Thursday, September 5, 2019 8:06 AM
  • I suffer the same situation

    device manager : 3 USB serial com port ==> ok 

    when i install the sdk , finally show :azure sphere device communication service failed to start

    winver: 1903 build 18362.295
    Visual Studio community 2019 : 16.2.4
    SDK: 19.5.5.30306

    Friday, September 6, 2019 5:49 PM
  • HI, I may solve this problem 

    Device : AVNET Azure Sphere Start Kit
    winver: 1903 build 18362.295
    Visual Studio community 2019 : 16.2.4
    Azure Sphere SDK: 19.5.5.30306

    This is the first time to install SDK(never successed before)
    the error log of sdk installation.

    ==============================================================

    (deleted)

    [B948:B170][2019-09-07T00:34:56]i301: Applying execute package: SlipService, action: Install, path: C:\ProgramData\Package Cache\{15D970F1-2AB1-4553-94E0-12DEC338AF1F}v19.5.4.53731\packages\SlipService\Azure Sphere Device Communication Service.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7" VSEXTUI="1" VSFOLDER=""'
    [B948:B170][2019-09-07T00:55:12]e000: Error 0x80070643: Failed to install MSI package.
    [B948:B170][2019-09-07T00:55:12]e000: Error 0x80070643: Failed to execute MSI package.
    [A0B4:3E60][2019-09-07T00:55:12]e000: Error 0x80070643: Failed to configure per-machine MSI package.
    [A0B4:3E60][2019-09-07T00:55:12]i319: Applied execute package: SlipService, result: 0x80070643, restart: None
    [A0B4:3E60][2019-09-07T00:55:12]e000: Error 0x80070643: Failed to execute MSI package.

    (not finished.... just make a rollback)

    ==========================================================

    Solution:
    1)I uninstalled all the software including Visual Studio 2019 Community, then make a reboot.
    2)I reinstalled the Visual Studio 2019 Community including a build-in workload "Desktop development with C++" 
    3)I installed the SDK . it took really a long time . but the service(
    azure sphere device communication service) started succefssfully.

    hope this help

    reference :
    https://www.element14.com/community/groups/internet-of-things/blog/2019/04/24/avnets-azure-sphere-starter-kit-out-of-box-demo-part-1-of-3


     

    Saturday, September 7, 2019 5:26 PM
  • It didn't help me. I uninstalled and then reinstalled Visual Studio Enterprise 2019. Azure Sphere SDK still has troubles starting the Device Communication Service.
    Sunday, September 8, 2019 5:28 PM
  • Error 0x80070643 is problem with Net Framework 4 ...

    BTW : Azure Sphere communication service is a NET program/service

    this service ( UART to VPN ) cannot start if TAP driver not work

    Sunday, September 8, 2019 6:24 PM
  • Can you please look in the %TEMP% directory for files called dd_VC_AzureSphere_*_TapDriverInstaller_messages.log?  If you find them, what do the latest few files say? Thanks!
    Thursday, September 12, 2019 12:32 AM
  • Thanks for the help! I've already sent all logs to the Azure Sphere team and they will examine them.

    I think the problem was with the TAP driver installation as it was failing with the following message: "Failed to rename the interface 'Ethernet 3' to 'Azure Sphere'". But when I checked all network connections I couldn't find an existing one named "Azure Sphere".
    I had to reset Windows on my machine to get Azure Sphere SDK to install, as I have an upcoming demo with Azure Sphere in 2 days.


    Thursday, September 12, 2019 8:41 AM
  • I'm having the same issue on my computer. The original installation worked fine. However, I booted up this morning and couldn't get the Azure Sphere Device Communication service to run.

    I tried reinstalling everything but am getting failures during the SlipService install. 

    I'm wondering if the installation script is trying and failing to rename the Tap Driver network connection to "Azure Sphere". There is apparently an existing network under that name but it must not be running.

    Unexpected exception thrown whilst starting service. - AzureSphereDeviceCommunicationService

    The service is installed but can't start. I check the network properties and I see a "TAP-Windows Adapter V9 #2" with the name "Ethernet 2". The IPv4 address is 169.254.174.155/16.  Perhaps the service is failing because it cannot find the network to use? Does anyone have a clue on how I can manually reset the adapter to be with the correct network name and IP?

    Sunday, September 15, 2019 1:41 AM
  • So I did some searching, downloaded ProcessHacker and ran regedit as TrustedInstaller. Found the Azure Sphere network under "Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkSetup2\Interfaces\" and deleted it. I also deleted the existing Tap-Windows Adapters as well.

    Ran the AzureSphere Preview SDK and it installed perfectly this time. I guess the installer should be checking (and REMOVING) any existing Azure Sphere networks before trying to start the Azure Sphere Device Communications.

    Hope this helps someone else.

    • Proposed as answer by TheHuey Monday, September 16, 2019 7:43 AM
    Monday, September 16, 2019 7:43 AM