Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Amazon cloud connection to SQL Server Expand / Collapse
Posted Wednesday, October 24, 2012 6:21 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Monday, July 6, 2015 9:39 AM
Points: 52, Visits: 387

We are trying to connect a java application hosted on a Windows Server 2008 R2 machine hosted in Amazon Cloud, to a SQL 2005 server in our own internal network. The server in amazon cloud is connected to our network via VPN.

When attempting to connect the application to SQL Server, we are receiving the following ‘Severity 020’ error below in the SQL Server Error Log –

Length specified in network packet payload did not match number of bytes read; the connection has been closed. Please contact the vendor of the client library. [CLIENT:]

We have googled this extensively, and it generally comes back with people trying to track down who might be attempting to connect to the SQL Server. In our case, we know who is trying to connect (our application hosted in Amazon), but we can’t get the connection to work…

Does anyone have any ideas?
Post #1376431
Posted Wednesday, October 24, 2012 6:29 AM



Group: General Forum Members
Last Login: Yesterday @ 6:41 PM
Points: 14,541, Visits: 38,384
a post here on SSC says one person thinks that error is related to this:

The first error message actually looks a lot like the dynamic packet sizing (autotuning) in Windows 7 and what it did to places like (i.e. disconnect every few seconds).

link to to check/modify:

maybe that helps?


help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!
Post #1376435
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse