ASP.NET text to speech error

2

I am using asp text to speech. it is working on my computer bu when I upload its to server it gives me following error.. I searched on internet. People suggest

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

I did it but still not working... help please.. my local pc and my server has 64 bit cpu...

The error is :

Server Error in '/domepage' Application.

Exception from HRESULT: 0x8004503A

Description:

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

Source Error:

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.

Stack Trace:

[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

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18010

asp.net
text
speech
asked on Stack Overflow Aug 19, 2013 by mbultraslan • edited Aug 19, 2013 by Dave

2 Answers

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

 And >>**Restart IIS**

Did you restart your iis ?

Edit:

This is something related with the user account running the application. If you running the application on the IIS, the account is Network Service in IIS6.0 and ASPNET in IIS5.0. The two account doesn't hava access right to the SpeechLib. You should modify the account which is running the Web application.

If you are using IIS6.0, there is a application pool which your web application exists in. Change the identity of the Application Pool to Loal System and then your application will run.

answered on Stack Overflow Aug 19, 2013 by Ramesh Rajendran • edited Oct 5, 2014 by Shimmy Weitzhandler
0

I had no sound drivers installed or configured. no playback devices installed in a server and had this issue. after installing sound driver and set volume it worked i was able to hear the sound.

answered on Stack Overflow Jun 18, 2014 by Sakthivel

User contributions licensed under CC BY-SA 3.0