从服务器接收结果时发生传输级错误 [英] A transport-level error has occurred when receiving results from the server

查看:239
本文介绍了从服务器接收结果时发生传输级错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Web应用程序服务器日志文件中存在以下错误,并且该错误永久发生.

i have the following error in my web application server log files, and its happens permanently.

A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The semaphore timeout period has expired.)" 


还有下一个:


and the next one too :

A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)


请提供任何帮助.


any help please.

推荐答案

尝试增加连接超时属性(默认值为30秒):^ ]

或您的命令超时属性(默认为30秒): http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlcommand.commandtimeout.aspx [
Try increasing your connection timeout property (default is 30 sec) : http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.connectiontimeout.aspx[^]

Or your command timeout property (default is 30 sec): http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlcommand.commandtimeout.aspx[^]



检查您的连接字符串
最好的问候,
Pandu.
Hi,
check your Connection string
Best Regards,
Pandu.


嗨..


请设置较高的超时时间...
Hi ..


Please set time out high ...


这篇关于从服务器接收结果时发生传输级错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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