?
Solved

Disabling Shared Memory - SQL Native Client Configuration

Posted on 2009-04-14
2
Medium Priority
?
1,578 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 25

Accepted Solution

by:
reb73 earned 2000 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Recently, when I was asked to create a new SQL 2005 cluster, Microsoft released a new service pack for MS SQL 2005 what is Service Pack 3. When I finished the installation of MS SQL 2005 I found myself troubled why the installation of SP3 failed …
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

770 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