2013-08-19 30 views
2

我正在使用asp文本语音。它正在我的电脑上工作,当我上传它到服务器,它给了我下面的错误..我在互联网上搜索。人建议ASP.NET文本到语音错误

Defaultapppoll>>Properties>>Identity>>Predefine>>Local System And Restart IIS 

我做到了,但仍然没有工作...帮助请.. 本地PC和我的服务器具有64位CPU ...

的错误是:

Server Error in '/domepage' Application. 

Exception from HRESULT: 0x8004503A 

说明:

An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: 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

+0

是的我正在使用asp.net,很抱歉有错... – mbultraslan

+0

然后你重新启动你的iis吗? –

+0

我重新调整了IIS的时间... – mbultraslan

回答

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

And >>**Restart IIS** 

您是否重新启动iis?

编辑

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

如果您使用的是IIS6.0,则存在您的Web应用程序所在的应用程序池。将应用程序池的标识更改为Loal System,然后您的应用程序将运行。

+0

Is there任何人都可以帮助我.... – mbultraslan

+0

对不起。我不知道 。我想任何人都不会在这里帮忙。请问这个问题在这里:http://forums.asp.net/26.aspx –

0

我没有安装或配置声音驱动程序。没有安装在服务器上的播放设备,并有此问题。在安装声卡驱动程序并设置音量后,我能够听到声音。