Exception from HRESULT: 0x800455BC Error when using SpeechRecognizer in WP8

Published on October 1, 2013 by abundantcode

Filed under Windows Phone

Last modified October 1, 2013

Print this page

rate 1 star rate 2 star rate 3 star rate 4 star rate 5 star
Your rating: none, Average: 0 (0 votes)

This article have been viewed 3598 times

When using the SpeechRecognizerUI in your windows phone 8 app, there are times when you receive the “Exception from HRESULT: 0x800455BC Error”.

Exception from HRESULT: 0x800455BC Error when using SpeechRecognizer in WP8

The outcome of this error is “When you call the SpeechRecognizerUI’s RecognizeWithUIAsync() method , it displays a dialog for few seconds and then disappears immediately.

When you debug the app, you will find the error “Exception from HRESULT: 0x800455BC ” with the stack trace something similar to one shown below.

at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at AbundantCodeWP8.MainPage.d__0.MoveNext() — End of stack trace from previous location where exception was thrown — at System.Runtime.CompilerServices.AsyncMethodBuilderCore.b__0(Object state)

 

The above error indicates that the language that is used by the Speech Recognizer is not supported. Check the Device’s Speech Language used in the device to see if the right supported language is set.

One other possibility of the error is when you are setting the Language for the Recognizer object manually, verify if you are retrieving the right language as shown below. If an unsupported Language is used in the below LINQ query, you might receive the same error.

var Language = (from m in InstalledSpeechRecognizers.All

where m.Language == "en-GB"

select m).FirstOrDefault();

speech.Recognizer.SetRecognizer(Language);
0saves
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

Leave a Comment


x

You might be Interested in these Posts

Could not load file or assembly … An attempt was made to load a program with an incorrect format (System.BadImageFormatException)

There are times when you might get the following error when running the application from Visual Stud...

How to delete user account from command line in Windows 10 ?

You can delete a user account from command line in Windows 10 using the net user command and specify...

How to add new user account from command line in Windows 10 ?

You can add a new user account in Windows 10 using command prompt using the net user command and pas...