SpeechLib托管错误 [英] SpeechLib hosting error

查看:148
本文介绍了SpeechLib托管错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在用c#开发一个Web项目,并使用VS2010.我正在使用SpeechLib,它将文本转换为语音.在我的本地计算机上,一切正常,但是在托管项目时,该页面无法正常工作,并输出错误500.

我怎么解决这个问题?谢谢!

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!

推荐答案



我们需要有关您的项目的更多信息.
您是否已检查权限/基本设置/事件日志?

错误500(IIS 7 + 7.5)中有几个子类别:

http://support.microsoft.com/kb/943891/en [
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


看:当您的应用程序在服务器上运行时,音频将在哪里播放?在您的客户端计算机上?不,当然在服务器上.您是否认为Web服务器连接了某些音频设备?当然不会.当您的应用程序开始播放音频时,它会失败.
您可以做什么:将音频数据存储在文件中.然后将文件发送给客户端.然后在客户端计算机上播放该文件.那行得通.
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.


这篇关于SpeechLib托管错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆