服务器出现网络问题 [英] Network problem with server

查看:83
本文介绍了服务器出现网络问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在已打开的程序中引发以下错误,该程序已连接到不同的数据库
将请求发送到服务器时,发生了传输级错误. (提供者:TCP提供程序,错误:0-远程主机强行关闭了现有连接.)
程序详细信息:使用vb.net和MSSQL 2008作为后端完成的代码
同一exe的两个实例在同一台PC上同时运行,但仅一个实例抛出错误
程序同时使用sqlconnection(ADO.NET)和ADODB连接(从VB6升级),并且两种连接类型均引发错误
如果错误是由于服务器的网络问题引起的,那么为什么很少有程序能正常工作?我无法找到程序出现此行为的原因
我可以知道为什么会发生此错误,以及为什么只有在相同实例的几个程序中才会出现此问题吗?

Below error is thrown in a already opened program which connects to different database
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.)
Program details: code done using vb.net with MSSQL 2008 as back-end
Two instance of same exe where running simultaneously in same PC but error was thrown only by one instance
Program uses both sqlconnection(ADO.NET) and ADODB connection(upgraded from VB6) and the error is thrown by both types of connection
If the error is due to network problem with the server then why few programs work fine? I am not able to trace the reason for this behavior of the program
Can I know why this error occurs and why only in few programs of same instance

推荐答案

如果同一程序出现问题,则仅在一个客户端上有效,而其他客户端可以正常工作罚款那个特定的客户有问题.可能是硬件问题,SQL Server库的版本问题等.

看看这些:
-解决错误远程主机强行关闭了现有连接" [^ ]

- [
If the problem occurs with the same program only on one client and the other clients work fine the there''s something wrong with that specific client. Could be a hardware problem, version problem for SQL Server libraries etc.

Have a look at these:
- http://blogs.msdn.com/b/spike/archive/2009/04/16/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.aspx[^]

- Resolving the error ‘An existing connection was forcibly closed by the remote host’[^]

- Understanding "Connection forcibly closed by remote host" Errors Caused by TOE/Chimney[^]


这篇关于服务器出现网络问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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