简体   繁体   中英

VoiceXML UCMA Error when deploying to server

I have deployed a sample project to a Windows 2008 virtual server that does not have any audio set up.

I have installed the UCMA 3.0 runtime. This application runs on a Windows 7 64 bit development laptop.

I am receiving the following exception.

    Error: Recognizer setting not supported by recognizer.
    Stacktrace:    at Microsoft.Speech.Internal.SapiInterop.SapiRecognizer.SetProperty(ISpRecognizer sapiRecognizer, String name, Object value)
                   at Microsoft.Speech.Internal.SapiInterop.SapiRecognizer.<>c__DisplayClass1.<SetPropertyNum>b__0()
                   at Microsoft.Speech.Recognition.SpeechRecognitionEngine.UpdateRecognizerSetting(String settingName, Int32 updatedValue)
                   at Microsoft.SpeechServer.Core.SpeechRecognizer..ctor(ICallProxy callProxy)
                   at Microsoft.SpeechServer.Core.TelephonySession..ctor(ICallProxy callProxy)
                   at Microsoft.SpeechServer.Core.ApplicationHost..ctor(ICallProxy callProxy, Uri vxmlUrl)
                   at Microsoft.Speech.VoiceXml.Browser.RunWorker()
                   at Microsoft.Speech.VoiceXml.Browser.Run(Uri vxmlPage, CookieContainer container)

This happens when from this block of code:

InitializeVoiceXmlBrowswer();

var helloWorldUri = new Uri(new Uri(Environment.CurrentDirectory + "\\"), "HelloWorld.vxml");

VoiceXmlBrowser.SetAudioVideoCall(call);

VoiceXmlResult voiceResult = VoiceXmlBrowser.Run(helloWorldUri, null);

如果将服务器与声卡一起使用,则会出现此问题。

可能是您需要指定已安装的语言包-请在此处查看已接受的答案

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM