ASP.NET文本到语音错误

ASP.NET文本到语音错误,asp.net,text,speech,Asp.net,Text,Speech,我正在使用asp文本到语音。它正在我的计算机上工作,但当我将其上传到服务器时,它会给我以下错误。。我在网上搜索。人们建议 Defaultapppoll>>Properties>>Identity>>Predefine>>Local System And Restart IIS 我做了,但仍然没有工作。。。请帮帮我。。 我的本地电脑和服务器有64位cpu 错误是: Server Error in '/domepage' Application.

我正在使用asp文本到语音。它正在我的计算机上工作,但当我将其上传到服务器时,它会给我以下错误。。我在网上搜索。人们建议

Defaultapppoll>>Properties>>Identity>>Predefine>>Local System And Restart IIS
我做了,但仍然没有工作。。。请帮帮我。。 我的本地电脑和服务器有64位cpu

错误是:

Server Error in '/domepage' Application.

Exception from HRESULT: 0x8004503A
说明:

在执行当前操作期间发生未处理的异常 网络请求。有关详细信息,请查看堆栈跟踪 错误及其在代码中的起源

源错误:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
堆栈跟踪:

[COMException (0x8004503a): Exception from HRESULT: 0x8004503A]
   SpeechLib.ISpeechVoice.Speak(String Text, SpeechVoiceSpeakFlags Flags) +0
   demo.pop_up_dictionary.img_dictionary_text_to_speech_Click(Object sender, ImageClickEventArgs e) in c:\Users\mehmet\Desktop\06-08\demo\pop_up_dictionary.aspx.cs:39
   System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +134
   System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +204
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3804
版本信息:Microsoft.NET Framework版本:4.0.30319;ASP.NET版本:4.0.30319.18010

Defaultapppoll>>Properties>>Identity>>Predefine>>Local System

 And >>**Restart IIS**
你重启iis了吗

编辑

这与运行应用程序的用户帐户有关。如果您在IIS上运行应用程序,则该帐户是IIS6.0中的网络服务和IIS5.0中的ASPNET。这两个帐户没有访问SpeechLib的权限。您应该修改运行Web应用程序的帐户


如果您使用的是IIS6.0,那么您的web应用程序存在于一个应用程序池中。将应用程序池的标识更改为Loal System,然后应用程序将运行。

我没有安装或配置声音驱动程序。服务器中未安装播放设备,因此出现此问题。安装声音驱动程序并设置音量后,我能够听到声音。

是的,我正在使用asp.net,抱歉出错……那么您是否重新启动iis?我重申了iis的时间…@mbultraslan您是否修复了此问题?怎样?我在winform应用程序中遇到此问题。如果我没有连接任何音频设备(如扬声器),是否会引发此错误?抱歉,可能重复。我不知道。我想这里没有人帮忙。请问以下问题:
Defaultapppoll>>Properties>>Identity>>Predefine>>Local System

 And >>**Restart IIS**