Click here to Skip to main content
15,891,473 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,
How to use SpeechLib reference in web application? I already added the reference and it is also displaying in bin folder.
But when i execute the code it shows an exception like "Creating an instance of the COM component with CLSID {73AD6842-ACE0-45E8-A4DD-8795881A2C2A} from the IClassFactory failed due to the following error: 80070008."". So I think the way i used the reference may be wrong. Please help me rectify the problem.
Thanks in advance.
Posted
Updated 24-Feb-12 14:46pm
v3

Hi, I think your Speech Engine isn't installed correctly. What os you are using?XP/Win7? Does it work within windows? Here's the link to the SDK, maybe you give a try to reinstall it: http://www.microsoft.com/download/en/details.aspx?DisplayLang=en&id=10121

Sorry for double post.
 
Share this answer
 
v2
Comments
psgviscom 24-Feb-12 8:00am    
The same code is executing in windows application. so no problem in installation of speech engine.
El_Codero 24-Feb-12 8:22am    
Do you wrapped try/catch around and you receive above exception?
psgviscom 24-Feb-12 9:37am    
No. I didn't used try catch. asp.net compiler shows the exception.
El_Codero 24-Feb-12 10:10am    
If you only add a reference to SpeechLib (without using it in code) and some exception is thrown, it seems to be a corrupt,missing assembly.
Have you tried to delete reference and reloading the project again?
Service installed on production server?
Speech API SDK Version?
Right Permissions?
Hm,strange problem, need some more information and code please.
psgviscom 24-Feb-12 10:27am    
I attached my code with the question.
but when use same code in my windows service application it give error
System.Runtime.InteropServices.COMException (0x8004503A): Exception from HRESULT: 0x8004503A at SpeechLib.ISpeechVoice.Speak

how to use speech library in wndows service?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



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