Solved

Disabling Shared Memory - SQL Native Client Configuration

Posted on 2009-04-14
2
1,563 Views
Last Modified: 2012-08-14
We have 5 front end Windows Server 2003 servers connecting to a Dell R900 server with 24 cores. All machines are 64 bit operating systems.   We have started seeing this error:

---> System.Data.SqlClient.SqlException: 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.)

I have read many articles saying that we should disable Shared Memory in the SQL Native Client Configuration, and set the order of the TCP/IP client protocol to 1.

By disabling Shared Memory - what effect will this setting have on our current web applications?  If we are connecting to SQL Server using the SQL machine name, will we be affected?  I want to make sure our applications do not break.  

Isn't Shared Memory only used if a connection to SQL is made locally?
0
Comment
Question by:JWeb Admin
2 Comments
 
LVL 25

Accepted Solution

by:
reb73 earned 500 total points
ID: 24140921
AFAIK, shared memory protocol (if enabled) is used when connecting locally using (local) or . as the servername prefix
(e.g. (local) or (local)\namedinstance ) and should provide the fastest connection to the backend. This is done bypassing the network stack and using an in-memory pipe for direct communication.

If you are connecting from a webserver, there is no way shared memory protocol can be used, so disabling shared memory is unlikely to change anything in terms of remote connections.

Have a look at the link below to see if that helps in terms of resolving the error -

http://social.msdn.microsoft.com/forums/en-US/sqlnetfx/thread/4895d56b-716f-4f82-860f-0aa161d327cc/
0
 

Author Closing Comment

by:JWeb Admin
ID: 31570027
Thanks!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Mark Wills PIVOT is a great facility and solves many an EAV (Entity - Attribute - Value) type transformation where we need the information held as data within a column to become columns in their own right. Now, in some cases that is relatively…
When writing XML code a very difficult part is when we like to remove all the elements or attributes from the XML that have no data. I would like to share a set of recursive MSSQL stored procedures that I have made to remove those elements from …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question