Solved

Disabling Shared Memory - SQL Native Client Configuration

Posted on 2009-04-14
2
1,566 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 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

I am showing a way to read/import the excel data in table using SQL server 2005... Suppose there is an Excel file "Book1" at location "C:\temp" with column "First Name" and "Last Name". Now to import this Excel data into the table, we will use…
Introduction This article will provide a solution for an error that might occur installing a new SQL 2005 64-bit cluster. This article will assume that you are fully prepared to complete the installation and describes the error as it occurred durin…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

726 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