element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Azure Sphere Starter Kit
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Azure Sphere Starter Kit
  • More
  • Cancel
Azure Sphere Starter Kit
Forum Error: Could not connect to the Azure Sphere Device Communication Service
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Azure Sphere Starter Kit to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 15 replies
  • Subscribers 51 subscribers
  • Views 1575 views
  • Users 0 members are here
  • azure sphere kit
  • azurespherech
  • azure sphere
  • azuresphkt
Related

Error: Could not connect to the Azure Sphere Device Communication Service

dixonselvan
dixonselvan over 6 years ago

error: Could not connect to the Azure Sphere Device Communication Service. If this issue persists, try uninstalling and reinstalling the Azure Sphere SDK.

 

 

Is there a solution for the above error without uninstalling and reinstalling the Azure Sphere SDK? I was successful this morning but evening this error shows up when I try to connect the same device in the same computer.

 

 

Steps I did,
  • Opened Azure Sphere Developer Command Prompt,
  • then gave the command "azsphere device show-ota-status"
  • and then this error showed up.

     

 

image

 

  • Sign in to reply
  • Cancel

Top Replies

  • Fred27
    Fred27 over 6 years ago in reply to dixonselvan +2
    I had this problem and a reinstallation (not a repair) did the trick. I seemed quicker and easier to do this than track down the reason, but it's good to know if it happens again.
  • dixonselvan
    dixonselvan over 6 years ago in reply to Fred27 +2
    I had the reinstallation in mind but was a bit reluctant to do it. Since the installation took around 3 hours to complete. But thanks your suggestion boosted me to try it and the reinstallation did the…
  • narendermann
    narendermann over 5 years ago +2
    Actually service is continuiosly restarting. i resolved this by configuring the Azure Sphere Service to be run by a local admin account
  • danzima
    danzima over 6 years ago

    peterfenn any ideas about the above issue?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • dixonselvan
    dixonselvan over 6 years ago

    Found a relevant thread in Microsoft Azure Forums - https://social.msdn.microsoft.com/Forums/en-US/8b19e10b-4d88-4de0-a805-e0eeff6d88bc/azure-sphere-device-communication-se…

     

    Solutions provided there were

    • #1 - Hi, it works if you copy ftd2xx.dll as you propose.

              There's already one in my C:\Windows\System32. But still didn't work. If I need to place this file somewhere else, let me know.

    image

    • #2 - Another solution is to run the  Azure Sphere Device Communication Service (under services.msc) with your user instead of the local system account.

              I ran it using my user but still didn't work.

    image

    image

     

    Even there is a TAP Adapter but it isn't running,

    image

    Azure SDK version,

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Fred27
    Fred27 over 6 years ago in reply to dixonselvan

    I had this problem and a reinstallation (not a repair) did the trick. I seemed quicker and easier to do this than track down the reason, but it's good to know if it happens again.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • dixonselvan
    dixonselvan over 6 years ago in reply to Fred27

    I had the reinstallation in mind but was a bit reluctant to do it. Since the installation took around 3 hours to complete. But thanks your suggestion boosted me to try it and the reinstallation did the trick. Although I had to perform one more step after reinstallation and right away it didn't work.

     

    The 'Azure Sphere Device Communication Service' was running as a 'Local Service' and I had to change it to my user to make it work.

    image

    Right Click the Service and then Properties and then the 'Log On' tab. Select This account and then browse to select the user. Enter the credentials and give OK.

     

    image

    You should see that user under the 'Log on' column against the service.

    image

    Now restart the service and try again ... it should work fine.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • Fred27
    Fred27 over 6 years ago in reply to dixonselvan

    By reinstallation I only meant the SDK. That's pretty quick.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • dixonselvan
    dixonselvan over 6 years ago in reply to Fred27

    Yes, that's pretty quick and I didn't know that before. Thought it would take a long time like the installation. To reiterate, Reinstallation + Service Log on as to my user worked for me. For you, just Reinstallation did the trick?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wizio
    wizio over 6 years ago in reply to dixonselvan

    TAP-Windows Adapter V9 missing or remane to Azure Sphere (Dyxon screenshot)

    Adapter TCP/IPv4 IP = 192.168.35.1 MASK 255.255.255.0

    https://github.com/Wiz-IO/platform-azure/wiki/Install-Notes#azure-shpere-device-communication-service-manually

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • narendermann
    narendermann over 5 years ago in reply to dixonselvan

    Actually service is continuiosly restarting. i resolved this by configuring the Azure Sphere Service to be run by a local admin account

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • narendermann
    narendermann over 5 years ago

    Actually service is continuiosly restarting. i resolved this by configuring the Azure Sphere Service to be run by a local admin account

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • ankur608
    ankur608 over 5 years ago

    I repeated the steps prescribed from the Dixon Selvan,

    where you have to only change the services (Azure Sphere Device Communication Service)--- Startup type (Automatic; Trigger) --- Properties (logon---USER NAME and Password) apply, and it would definitely show the status as 'RUNNING'; that's it. "You should not reinstall the SDK before applying this method."

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube