Click here to Skip to main content
15,887,363 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi I'm developing a web project with c# and using VS2010. I'm using the SpeechLib, that converts text to speech. Locally in my computer all works well, but when hosting the project the page doesn't works and the error 500 is outputted.

How can I solve this problem? Thanks!

[EDIT: Added ASP.NET tag]
Posted
Updated 20-Mar-12 7:53am
v2
Comments
Sergey Alexandrovich Kryukov 20-Mar-12 14:07pm    
Is there any special reason to use SpeechLib directly not System.Speech.dll which comes with .NET (redistributed) framework and is in GAC?
--SA
salbat 20-Mar-12 14:14pm    
No any reason, how does this dll works exatly?
salbat 20-Mar-12 14:39pm    
I tried now also the System.Speech and it outputs the same error...
Sergey Alexandrovich Kryukov 20-Mar-12 19:01pm    
It just works, well enough. Please see:
http://msdn.microsoft.com/en-us/library/gg145021.aspx
http://msdn.microsoft.com/en-us/library/system.speech.synthesis.aspx

There is also the recognition:
http://msdn.microsoft.com/en-us/library/system.speech.recognition.aspx

--SA
El_Codero 20-Mar-12 15:20pm    
I've also thought about that a few month ago (again after years) ;). First reason why used SpeechLib in a project first time a few years ago was because of missing methods in System.Speech and many vendors still used it to integrate their voices (because of COM), it also provided adapting pronouncation/accent/converter for recognition. However, I've checked both and they still not completly merged. Second reason was that I've used it in context with automotive speech recognition. System.Speech is the desktop version and it's really improving your speech because of learning from the user (good for automotive). But a different requirement would be i.e a call center where's no time for training.I've used the combination of two to give the possibility to recognize something from "guest drivers".Greeting

Hi,

we need much more info about your project.
Do you already checked permissions/basic settings/Event Log?

There are several sub categories at Error 500 (IIS 7 + 7.5):

http://support.microsoft.com/kb/943891/en[^]

You already started IIS Service and it's installed and running corretly?



Regards
 
Share this answer
 
v2
Comments
salbat 20-Mar-12 14:07pm    
No, I don't checked those parameters. Where I have to check them?
El_Codero 20-Mar-12 14:20pm    
Just added the link, a good starting point to resolve your problem.
Look: when your application is running on the server, where will the audio be played? On your client computer? No, of course on the server. And do you think a web server has some audio devices attached? Surely not. It fails the moment when your application starts to play the audio.
What you can do: Store the audio data in a file. Then send the file to the client. Then play that file on the client computer. That can work.
 
Share this answer
 
Comments
salbat 21-Mar-12 6:30am    
Thanks Bernhard. Iìm trying to figure out how to implement this. Any sugestion?

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