Click here to Skip to main content
15,885,944 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi all,
I am developing an online dictionary using asp.net 3.5, C# and SQL SERVER; I want to add speech capability to this application. now I found "Interop.HTTSLib.dll" suitable for this, but there is a problem: this application works fine locally but does not work in a remote host and I get this error: " Retrieving the COM class factory for component with CLSID {2398E32F-5C6E-11D1-8C65-0060081841DE} failed due to the following error: 80040154."
Does the kind of server(x86 or x64, 32bit or 64bit) make this problem or asp.net authorization is the main reason? I am using www.aspspider .com (free asp.net hosting) as my host.
Here is my C# code:
protected void Button1_Click(object sender, EventArgs e)
{
string temp = TextBox1.Text.Trim();
HTTSLib.TextToSpeechClass speech = new HTTSLib.TextToSpeechClass();
speech.Speak(temp);
}
Finally how I can fix this problem, I am really thankful for any help.
Posted

1 solution

That error == REGDB_E_CLASSNOTREG - see what it says about it in CoCreateInstance[^].

Is your test-to-speech library installed into the remote host?

 
Share this answer
 


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900