Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:

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.


HTML
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()


Kindly help me out this issue,give the high importance
Regards
KishoreD
Posted
Updated 26-Aug-12 20:49pm
v7

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?
 
Share this answer
 
Comments
D-Kishore 27-Aug-12 3:30am    
Yes, firewall configured to allow the access
all the systems are under same config and same OS
hi try this

SQL
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


regards
sarva
 
Share this answer
 

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