question

PhamCuong-6537 avatar image
0 Votes"
PhamCuong-6537 asked RoyLi-MSFT commented

Speech to Text inactive

I tried with this code and it gives error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))' . I don't know why this error 144007-er3.png


windows-uwp
er3.png (101.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

RoyLi-MSFT avatar image
0 Votes"
RoyLi-MSFT answered RoyLi-MSFT commented

Hello,

Welcome to Microsoft Q&A!

Generally, Speech recognition needs to use the Microphone of the device. You have to set the Microphone device capability in the App package manifest. Please open the manifest file, go to Capabilities, enable the Microphone capability For more detail, see App capability declarations.

Thank you.


If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.


I tried and after running it doesn't pick up my words . The returned result is:
I have Rejected confidence that you said [] and it took 0 seconds to say it starting at 1/1/1601 7:00 AM There were alternates - listed below (if any)

0 Votes 0 ·

@PhamCuong-6537 Does my reply solve your issue about the access exception? If you have other questions, please open a new thread with that question and keep focus on one question in one thread.

0 Votes 0 ·