Ajad Patel

Ajad Patel

  • 1.8k
  • 59
  • 1.6k

System.Speech.dll object not getting set to an instance of

Feb 27 2020 2:19 AM
ASP.NET Web Application - on deploy, System.Speech.dll object not getting set to an instance of an object
We are getting error:
 
Object reference not set to an instance of an object.
System.Speech
at System.Speech.Internal.ObjectTokens.RegistryDataKey..ctor(String fullPath, RegistryDataKey copyKey)
at System.Speech.Internal.ObjectTokens.SAPICategories.DefaultDeviceOut()
at System.Speech.Internal.Synthesis.VoiceSynthesis..ctor(WeakReference speechSynthesizer)
at System.Speech.Synthesis.SpeechSynthesizer.get_VoiceSynthesizer()
at QuinnSDS.handlerTransform.<>c__DisplayClass6. b__1()
 

Answers (4)