久久国产精品亚洲艾草网_黄色视频在线免费观看_国产强伦姧在线观看_无码国产69精品久久久久网站

tts Speech 系統(tǒng)上未安裝語(yǔ)音,或沒(méi)有當(dāng)前安全設(shè)置可用的語(yǔ)音

廣告:

未處理 System.InvalidOperationException

Message=系統(tǒng)上未安裝語(yǔ)音,或沒(méi)有當(dāng)前安全設(shè)置可用的語(yǔ)音。

Source=Mvccom

StackTrace:

在 Mvccom.SpeakThread.SpeakChina() 位置 E:\asp.net2.0\mvc_elec-gs\Mvccom\SpeakThread.cs:行號(hào) 49

在 System.Threading.ThreadHelper.ThreadStart_Context(Object state)

在 System.Threading.ExecutionContext.runTryCode(Object userData)

在 System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode

backoutCode, Object userData)

在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object

state)

在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

在 System.Threading.ThreadHelper.ThreadStart()

InnerException:

 

System.ArgumentException: 不能設(shè)置語(yǔ)音。未安裝匹配的語(yǔ)音,或語(yǔ)音被禁用。 在

System.Speech.Synthesis.SpeechSynthesizer.SelectVoice(String name) 在 Mvccom.Speak.SpeakChina(String bodystr) 位置 E:

\asp.net2.0\mvc_elec-gs\Mvccom\Speak.cs:行號(hào) 59

語(yǔ)音:Microsoft Anna,Microsoft Lili,

 

System.ArgumentException: 不能設(shè)置語(yǔ)音。未安裝匹配的語(yǔ)音,或語(yǔ)音被禁用。

在 System.Speech.Synthesis.SpeechSynthesizer.SelectVoice(String name)

在 Mvccom.Speak.SpeakChina(String bodystr) 位置 E:\asp.net2.0\mvc_elec-gs\Mvccom\Speak.cs:行號(hào) 66<br>

系統(tǒng)語(yǔ)音:Microsoft Anna,Microsoft Lili,Microsoft Mary,Microsoft Mike,Microsoft Simplified Chinese,SampleTTSVoice,

 

Select "TexttoSpeechTTS", then in the Properties tab, "Configuration" -> "Set initial configuration", set "Voice which will

say text" to "Microsoft Anna", and "Voice volume" to "50". Then it's OK.

 

This may come from using "Microsoft Anna - English (United States)" but not "Microsoft Anna" when init auto in Windows other

than English edition.

 

No voice installed on the system or none available with the current security setting

speech iis

通過(guò)dcomcnfg.exe配置ASPNET用戶(hù)的權(quán)限應(yīng)該也可以解決這個(gè)問(wèn)題。

 

1. 權(quán)限問(wèn)題;你可以嘗試把應(yīng)用程序池的進(jìn)程標(biāo)識(shí)改成LocalSystem

 

2. webconfig配置: system.web 下面 <identity impersonate="true" userName="YourAdminUsr" password="YourAdminPwd"/>

 

 

廣告:

相關(guān)內(nèi)容

編輯:Admin 時(shí)間:2012/6/6 14:34:03 閱覽:13792   返回    
安裝語(yǔ)音
Speech
掃描關(guān)注53BK報(bào)刊官網(wǎng)
掃描關(guān)注閱速公司微信