Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Amazon cloud connection to SQL Server


Amazon cloud connection to SQL Server

Author
Message
James Hollands
James Hollands
Valued Member
Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)

Group: General Forum Members
Points: 52 Visits: 387
Hi,

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: 192.168.55.245]

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?
Lowell
Lowell
SSCoach
SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)

Group: General Forum Members
Points: 18390 Visits: 39433
a post here on SSC says one person thinks that error is related to this:
http://www.sqlservercentral.com/Forums/FindPost1168084.aspx



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

link to speedguide.net to check/modify:
http://www.speedguide.net/articles/windows-7-vista-2008-tweaks-2574


maybe that helps?

Lowell

--
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!

Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search