运输水平错误 [英] A transport level error

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

问题描述

我创建了setup.exe并安装了许多系统,除一个系统外,其他所有系统都运行正常.然后,我在Program.cs中编写了一个UnhandledExceptionEventHandler.然后,我重建exe并安装在特定系统中.当进程从中间开始时,出现以下错误.

i created setup.exe and installed many systems, it was working fine all the systems except one system. Then i wrote one UnhandledExceptionEventHandler in Program.cs. then i rebuild the exe and installed in the particular system. when the process starts in the middle i got the below error.

a transport-level error has occurred when receiving results from the server. (provider tcp provider, error:0 an existing connection was forcibly closed by the remote host.) at LAH.FlatFileImportClass.LoadDataToDatabase(System.String, System.String) at LAH.Form1+<>c_DisplayClass2.b_0() at System.Threading.ThreadHelper.ThreadStart_Context(System.Object) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Threading.ThreadHelper.ThreadStart()



请帮我解决这个问题,给予高度重视
问候
KishoreD



Kindly help me out this issue,give the high importance
Regards
KishoreD

推荐答案

LAH.FlatFileImportClass.LoadDataToDatabase尝试通过tcp与服务器进行通信.服务器不接受.
既然您没有提供更多数据,我们只能提供有关以下方面的基本思路:防火墙是否配置为允许访问?所联系的服务器上的程序(例如SQL Server-但我们不知道您在做什么)是否配置为允许来自远程计算机的连接?
LAH.FlatFileImportClass.LoadDataToDatabase tries to communicate with a server via tcp. The server did not accept that.
Isnce you did not provide any further data, we can only provide basic thoughts about that: is the firewall configured to allow the access? Is the program on the server (e.g SQL Server - but we do not know what you are doing) which is contacted configured to allow connections from remote computers?


请尝试此操作

hi try this

in start> excute type regedit then
add the following registry key and reboot the server.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\SycAttackProtect{DWORD} = 0
 then reboot the server



问候
sarva



regards
sarva


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

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