#Exception "System.Runtime.InteropServices.COMException (0x80070422): The service cannot be started"

1 messages · Page 1 of 1 (latest)

hardy moth
#

Whenever opening mobiflight i get the following exception: "System.Runtime.InteropServices.COMException (0x80070422): The service cannot be started, either because it is disabled or because it has no enabled devices associated with it."

And it doesn't detect the board.

However using vscode or the arduino IDE I can flash the board just fine.

I'm using windows 11 if that is important and even tried builing and flashign the firmware myself (which did work but still didn't resolve the issue)

Any help is much appreciated

nova barn
#

Next time you get the exception copy and paste the entire text from the details section here

hardy moth
nova barn
hardy moth
#

Thanks I'll try it 🙂

#

that fixed it. Somehow the service got disabled...

#

god knows how I managed to break that 🙂

Thanks a lot

nova barn
#

We used to handle this properly but in a big code change it got lost. I'm opening a fix now to put the exception handling back in.

hardy moth
#

much appreciated

nova barn
#

Glad you're up and running!