I'm sure I've missed something, as I've had this working before, but when I try and run the device-upload task, no matter what settings I apply I'm always getting an access denied error on COM4 followed by "config_connect_string: Config IoT Hub device connection string failed: Opening COM4: Access denied" Any/all assistance gladly received!
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Hello @Flashjunky I hit the same error as you when the Serial Monitor is already opened. Please make sure that the Serial Monitor is disconnected when running task device-upload
. Make sure the symbol is as shown below, if you see a cross it means that the serial port is already opened (click it to disconnect).
Let me know how it went? :)
OMG! Worked first time - thank you!!!
You are very welcome @Flashjunky :)! I am now closing this issue. Thank you for posting your questions.
Most helpful comment
Hello @Flashjunky I hit the same error as you when the Serial Monitor is already opened. Please make sure that the Serial Monitor is disconnected when running
task device-upload
. Make sure the symbol is as shown below, if you see a cross it means that the serial port is already opened (click it to disconnect).Let me know how it went? :)