<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>sp_configure - Techyaz.com</title>
	<atom:link href="https://techyaz.com/tag/sp_configure/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Tips, Tutorials and How-to Topics</description>
	<lastBuildDate>Tue, 15 Jun 2021 08:03:37 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>

<image>
	<url>https://techyaz.com/wp-content/uploads/2017/11/cropped-Site-icon-150x150.png</url>
	<title>sp_configure - Techyaz.com</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Fix Error 15123: The configuration option does not exist.</title>
		<link>https://techyaz.com/sql-server/troubleshooting/fix-error-15123/</link>
					<comments>https://techyaz.com/sql-server/troubleshooting/fix-error-15123/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Tue, 10 Apr 2018 13:00:57 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Administration]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[HowTO]]></category>
		<category><![CDATA[sp_configure]]></category>
		<category><![CDATA[SQL_Error_Code]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=2075</guid>

					<description><![CDATA[<p>Yesterday, one of my teammate was facing an issue while enabling a server level parameter using T-SQL command sp_configure. He was trying to enable extended procedure xp_cmdshell using sp_configure command but he received error 15123. Full description of error is given below.&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/sql-server/troubleshooting/fix-error-15123/">Fix Error 15123: The configuration option does not exist.</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Yesterday, one of my teammate was facing an issue while enabling a server level parameter using T-SQL command <em>sp_configure</em>. He was trying to enable extended procedure <em>xp_cmdshell</em> using <em>sp_configure</em> command but he received error 15123. Full description of error is given below.</p>
<p><em><span style="color: #ff0000;">Msg 15123, Level 16, State 1, Procedure sp_configure, Line 51</span></em><br />
<em><span style="color: #ff0000;"> The configuration option &#8216;xp_cmdshell&#8217; does not exist, or it may be an advanced option.</span></em></p>
<p>The screenshot of the error is given in below image.</p>
<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-2078" src="http://techyaz.com/wp-content/uploads/2018/04/1-error15123.png" alt="Error 15123" width="704" height="194" srcset="https://techyaz.com/wp-content/uploads/2018/04/1-error15123.png 704w, https://techyaz.com/wp-content/uploads/2018/04/1-error15123-300x83.png 300w" sizes="(max-width: 704px) 100vw, 704px" /></p>
<p>You might get this error while changing or viewing values of any advanced server configuration option. Here I will show you how to fix this error and make such changes successfully.</p>
<h3><span style="color: #333399;">Error 15123 – Root Cause</span></h3>
<p>As we know, there are lot of server level configurations that we can see or change using command <em>sp_configure</em>. Some of the server level configuration options categorized as advanced options and that cannot be viewed or changed if the value of “<strong><em>show advanced options</em></strong>” is set to 0 or disabled.</p>
<p>We can view “<em>show advanced options</em>” value by running <em>sp_configure</em> command. If the run value of this command is set to 0 it means this option is disabled and you cannot see any advanced server configurations.</p>
<p>To see or change the advance server level configurations we need to enable “<em>show advanced options</em>” by setting its value to 1 using <em>sp_configure</em>. Run below command to check the current run value for “<em>show advanced options</em>”. You can also simply type sp_configure command and execute it to get its details along with all other server configuration options.</p>
<pre><strong><span style="color: #0000ff;">exec sp_configure ‘show advanced options’</span></strong></pre>
<p>We can see run value of parameter “<em>show advanced option</em>” is set as zero it means we cannot view or change any advanced server configurations using command <em>sp_configure</em>.</p>
<p><img decoding="async" class="alignnone size-full wp-image-2079" src="http://techyaz.com/wp-content/uploads/2018/04/2-error15123.png" alt="Enable Show Advanced Options" width="571" height="214" srcset="https://techyaz.com/wp-content/uploads/2018/04/2-error15123.png 571w, https://techyaz.com/wp-content/uploads/2018/04/2-error15123-300x112.png 300w" sizes="(max-width: 571px) 100vw, 571px" /></p>
<p>This is the main reason behind getting error 15123 and we can get this error while changing any advance server level parameters. Read below section to enable “<em>show advanced options</em>” and change the values of advanced server configurations.</p>
<h3><span style="color: #333399;">Solution</span></h3>
<p>Generally, we get error 15123 because “<em>show advanced options</em>” is disabled and set to zero and it’s not allow to do anything with advanced server options. As we have seen “<em>show advanced options</em>” is set to zero in above screenshot. Here, we will enable it and then run again same command that we have ran in first screenshot to enable <em>xp_cmdshell</em> extended procedure.</p>
<p>Let’s enable “<em>show advanced options</em>” option to view or change the advance server level configurations by running below command.</p>
<pre><strong><span style="color: #0000ff;">exec sp_configure ‘show advanced options’, 1</span></strong>
<strong><span style="color: #0000ff;"> RECONFIGURE WITH OVERRIDE</span></strong></pre>
<p>Above command has been executed successfully. You can see this in below screenshot.</p>
<p><img decoding="async" class="alignnone size-full wp-image-2080" src="http://techyaz.com/wp-content/uploads/2018/04/3-error15123.png" alt="Enable show advanced options" width="829" height="191" srcset="https://techyaz.com/wp-content/uploads/2018/04/3-error15123.png 829w, https://techyaz.com/wp-content/uploads/2018/04/3-error15123-300x69.png 300w, https://techyaz.com/wp-content/uploads/2018/04/3-error15123-768x177.png 768w" sizes="(max-width: 829px) 100vw, 829px" /></p>
<p>Now we can go ahead and view any advanced options by running simply <em>sp_configure</em> command. If you need to make any changes on existing values of advanced server options then also you can do it using <em>sp_configure</em> command now. Let’s go ahead and run same command that we had ran in first image to enable <em>xp_cmdshell</em>.</p>
<pre><strong><span style="color: #0000ff;">exec sp_configure 'xp_cmdshell', 1</span></strong>
<strong><span style="color: #0000ff;"> reconfigure with override</span></strong></pre>
<p>We can see this command has been executed successfully this time without any error.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2081" src="http://techyaz.com/wp-content/uploads/2018/04/4-error15123.jpg" alt="enable xp_cmdshell" width="832" height="176" srcset="https://techyaz.com/wp-content/uploads/2018/04/4-error15123.jpg 832w, https://techyaz.com/wp-content/uploads/2018/04/4-error15123-300x63.jpg 300w, https://techyaz.com/wp-content/uploads/2018/04/4-error15123-768x162.jpg 768w" sizes="auto, (max-width: 832px) 100vw, 832px" /></p>
<p>Whenever you get error 15123 while viewing or changing values of any advanced option you should first enable or set the value for option “<em><strong>show advanced options</strong></em>” then you can make your desired changes accordingly.</p>
<p>I hope you like this article. Please follow our <a href="https://www.facebook.com/Techyaz/">Facebook</a> page and <a href="https://twitter.com/Tech_yaz">Twitter</a> handle to get latest updates.</p>
<p><em><strong><span style="color: #800000;">Read More:</span></strong></em></p>
<ul>
<li><strong><a href="http://techyaz.com/sql-server/sql-server-administration/change-network-packet-size-sql-server/" target="_blank" rel="noopener">How to change Network Packet size in SQL Server</a></strong></li>
<li><strong><a href="http://techyaz.com/sql-server/troubleshooting/fixing-error-233-how-to-set-the-user-connections-server-configuration-option-in-sql-server/" target="_blank" rel="noopener">Fix Error 233: How to Set the User Connections Server Configuration option in SQL Server</a></strong></li>
<li><strong><a href="http://techyaz.com/sql-server/sql-server-memory-allocation-min-max-server-memory-configuration/" target="_blank" rel="noopener">Understanding SQL Server Memory Allocation</a></strong></li>
<li><strong><a href="http://techyaz.com/interview-questions/sql-server-dba-interview-questions-answers/" target="_blank" rel="noopener">SQL Server DBA Interview Questions &amp; Answer</a></strong></li>
</ul>
<p>&nbsp;</p>
<p>The post <a href="https://techyaz.com/sql-server/troubleshooting/fix-error-15123/">Fix Error 15123: The configuration option does not exist.</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/sql-server/troubleshooting/fix-error-15123/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Change Network Packet Size in SQL Server?</title>
		<link>https://techyaz.com/sql-server/sql-server-administration/change-network-packet-size-sql-server/</link>
					<comments>https://techyaz.com/sql-server/sql-server-administration/change-network-packet-size-sql-server/#comments</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Mon, 31 Jul 2017 12:03:03 +0000</pubDate>
				<category><![CDATA[SQL Server Administration]]></category>
		<category><![CDATA[HowTO]]></category>
		<category><![CDATA[sp_configure]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=334</guid>

					<description><![CDATA[<p>Have you ever thought how SQL Server controls the size of packets which are send over the network. There is a server configuration option network packet size in SQL Server. The value of this configuration are used to control the&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-administration/change-network-packet-size-sql-server/">How to Change Network Packet Size in SQL Server?</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Have you ever thought how SQL Server controls the size of packets which are send over the network. There is a server configuration option network packet size in SQL Server. The value of this configuration are used to control the size of network packet in which data are send over the network. Here, i will describe about <em>network packet size</em> server configuration option and also how can we change its value.</p>
<h3><span style="color: #000080;"><strong>Network Packet Size Server Configuration</strong></span></h3>
<p>Network Packets are the fixed-size chunks of data that transfer requests and results between clients and servers. The default value of <em>network packet size</em> is 4096 bytes which is 4KB. Microsoft suggests to not change this value until it is required or it will improve any performance because SQL Server performs best with default network packet size. There is a limitation for encrypted connection that the network packet size can not be more than 16,383 bytes.</p>
<h3><span style="color: #000080;"><strong>Change Existing Network Packet Size using T-SQL</strong></span></h3>
<p>Let&#8217;s check the current value of this option on SQL Server Instance. Run below command to see the details. If you are getting <a href="https://techyaz.com/sql-server/troubleshooting/fix-error-15123/" target="_blank" rel="noopener"><strong><em>Error 15123: This Configuration Option does not exist</em></strong></a> then you should first read attached article to fix this issue and then proceed with the solution given in this article.</p>
<div class="codediv">
<pre><strong><span style="color: #0000ff;">EXEC sp_configure 'show advanced options', 1;
GO
RECONFIGURE ;
GO
EXEC sp_configure 'network packet size'
</span></strong></pre>
</div>
<p>You can see the current config value is set to 4096 that means SQL Server will use network packet size of 4KB to send out data over the network. We can set minimum value to 512 byte and maximum value to 32767 byte.<br />
<img loading="lazy" decoding="async" class="aligncenter size-full wp-image-335" src="http://techyaz.com/wp-content/uploads/2017/07/check-network-packet-size.jpg" alt="check network packet size" width="562" height="300" srcset="https://techyaz.com/wp-content/uploads/2017/07/check-network-packet-size.jpg 562w, https://techyaz.com/wp-content/uploads/2017/07/check-network-packet-size-300x160.jpg 300w" sizes="auto, (max-width: 562px) 100vw, 562px" /><br />
If you want to change this value from 4KB to 8KB or any other user value, you can do that by running below T-SQL statement. Microsoft suggest to not change the default value although if you are facing any network related performance issue you can change this value as per your requirement. Make sure to do proper testing in lower life cycle before applying this change in to productions.</p>
<div class="codediv">
<pre><strong><span style="color: #0000ff;">EXEC sp_configure 'show advanced options', 1;
GO
RECONFIGURE ;
GO
EXEC sp_configure 'network packet size', 8192 ;
GO
RECONFIGURE;
GO
</span></strong></pre>
</div>
<p>See the below screenshot in which we have changed the value from 4KB to 8KB.<br />
<img loading="lazy" decoding="async" class="aligncenter size-full wp-image-336" src="http://techyaz.com/wp-content/uploads/2017/07/set-network-packet-size-TSQL.jpg" alt="set network packet size in sp_configure" width="913" height="287" srcset="https://techyaz.com/wp-content/uploads/2017/07/set-network-packet-size-TSQL.jpg 913w, https://techyaz.com/wp-content/uploads/2017/07/set-network-packet-size-TSQL-300x94.jpg 300w, https://techyaz.com/wp-content/uploads/2017/07/set-network-packet-size-TSQL-768x241.jpg 768w" sizes="auto, (max-width: 913px) 100vw, 913px" /></p>
<h3><span style="color: #000080;"><strong>Changing Network Packet Size using GUI</strong></span></h3>
<p>We can check or change network packet size value using GUI as well. Let&#8217;s make this change using GUI so that you will be aware of both methods. I have already discussed T-SQL method in above section.</p>
<p>Connect to SQL Server Instance in SQL Server Management Studio (SSMS). Right click on SQL Server Instance in SSMS and choose properties. Server Properties window will appear to make server level changes. Click on &#8220;Advanced&#8221; tab from left side pane. You can see the value for network packet size is 8192 which we set in above steps.<br />
<img loading="lazy" decoding="async" class="aligncenter size-full wp-image-337" src="http://techyaz.com/wp-content/uploads/2017/07/check-network-packet-size-GUI.jpg" alt="check network packet size using GUI" width="711" height="639" srcset="https://techyaz.com/wp-content/uploads/2017/07/check-network-packet-size-GUI.jpg 711w, https://techyaz.com/wp-content/uploads/2017/07/check-network-packet-size-GUI-300x270.jpg 300w" sizes="auto, (max-width: 711px) 100vw, 711px" /><br />
Now revert this value to 4096 to its default value. Enter the value and hit the ok button to apply this change. This change will be in immediate effect and does not required any reboot or restart.<br />
<img loading="lazy" decoding="async" class="aligncenter size-full wp-image-338" src="http://techyaz.com/wp-content/uploads/2017/07/set-network-packet-size-GUI.jpg" alt="set network packet size using GUI" width="709" height="637" srcset="https://techyaz.com/wp-content/uploads/2017/07/set-network-packet-size-GUI.jpg 709w, https://techyaz.com/wp-content/uploads/2017/07/set-network-packet-size-GUI-300x270.jpg 300w" sizes="auto, (max-width: 709px) 100vw, 709px" /><br />
You can validate the changes by running sp_configure command or by using GUI method.</p>
<p>I hope you like this article. Please follow us on our <a href="https://www.facebook.com/Techyaz/">facebook page</a> and on <a href="https://twitter.com/Tech_yaz">Twitter </a>handle to get latest updates.</p>
<p><span style="color: #800000;"><em><strong>Read More:</strong></em></span></p>
<ul>
<li><strong><a href="https://techyaz.com/sql-server/troubleshooting/fix-error-15123/" target="_blank" rel="noopener">Fix Error 15123: This Configuration option does not exist</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/troubleshooting/fixing-error-233-how-to-set-the-user-connections-server-configuration-option-in-sql-server/" target="_blank" rel="noopener">How to Set or Limit number of User Connections in SQL Server?</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-memory-allocation-min-max-server-memory-configuration/" target="_blank" rel="noopener">Assign SQL Server MIN and MAX Memory at Server Level</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/troubleshooting/error-14258-cannot-perform-this-operation-while-sql-serveragent-is-starting-try-again-later/" target="_blank" rel="noopener">Fix SQL Server Error 14258: Cannot Perform this Operation while SQL Server Agent is Starting.</a></strong></li>
</ul>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-administration/change-network-packet-size-sql-server/">How to Change Network Packet Size in SQL Server?</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/sql-server/sql-server-administration/change-network-packet-size-sql-server/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>SQL Server Error 233: User Connections Server Configuration option in SQL Server</title>
		<link>https://techyaz.com/sql-server/sql-server-administration/fixing-error-233-how-to-set-the-user-connections-server-configuration-option-in-sql-server/</link>
					<comments>https://techyaz.com/sql-server/sql-server-administration/fixing-error-233-how-to-set-the-user-connections-server-configuration-option-in-sql-server/#comments</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Mon, 31 Jul 2017 10:00:30 +0000</pubDate>
				<category><![CDATA[SQL Server Administration]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[HowTO]]></category>
		<category><![CDATA[sp_configure]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=320</guid>

					<description><![CDATA[<p>Today, I got a requirement to limit the number of concurrent user connections on a SQL Server Instance. SQL Server provides an option user connections in server level configurations to set or limit the maximum number of simultaneous user connections&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-administration/fixing-error-233-how-to-set-the-user-connections-server-configuration-option-in-sql-server/">SQL Server Error 233: User Connections Server Configuration option in SQL Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Today, I got a requirement to limit the number of concurrent user connections on a SQL Server Instance. SQL Server provides an option <em>user connections</em> in server level configurations to set or limit the maximum number of simultaneous user connections to the SQL Server Instance. Today, I am going to discuss about user connections server configuration and also a fix for <em>SQL Server Error 233, No process is on the other end of the pipe</em> that arise because of this server configuration.</p>
<h3><span style="color: #000080;"><strong>User Connections Server Configuration</strong></span></h3>
<p>This option <em>user connections</em> is a dynamic (self-configuring) option, SQL Server adjusts the maximum number of user connections automatically as needed, up to the maximum value allowable. SQL Server allows a maximum of 32767 user connections. The default value of this option is 0 that means SQL Server can use maximum number of allowed connections which is 32767.</p>
<p>Best way to use this option to avoid the overloading the server with too many concurrent connections. Ideally we should not set this value too high because each connection will put some load to the server whether it will be using or not. If all defined number of connections are in use or connected, you receive SQL Server error 233 and will not be able to connect until another connection becomes available. Here is the description of above error.</p>
<div class="codediv">
<pre><strong><span style="color: #0000ff;">A connection was successfully established with the server, but then an error occurred during the login process.(provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) (Microsoft SQL Server, Error: 233).
</span></strong></pre>
</div>
<p>If you will look into SQL Server error log, you will find below error message for the same issue.</p>
<div class="codediv">
<pre><strong><span style="color: #0000ff;">Could not connect because the maximum number of 'XX' user connections has already been reached.
The system administrator can use sp_configure to increase the maximum value. The connection has been closed. [CLIENT: XX.XX.XX.XX]</span></strong></pre>
</div>
<p>I will explain about how to fix SQL Server error 233 in below section of this article.</p>
<h3><span style="color: #000080;"><strong>Set User Connections Server Configuration using T-SQL</strong></span></h3>
<p>Let&#8217;s check the current value of this option on SQL Server Instance. Run below command to see the details.</p>
<div class="codediv">
<pre><strong><span style="color: #0000ff;">EXEC sp_configure 'show advanced options', 1;
GO
RECONFIGURE ;
GO
EXEC sp_configure 'user connections'
</span></strong></pre>
</div>
<p>You can see the current config value is set to 0 that means this instance is set for maximum allowed connections. Also we can see the maximum allowed connections are shown 32767.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-321" src="http://techyaz.com/wp-content/uploads/2017/07/check-user-connections.jpg" alt="check user connections in sp_configure" width="626" height="282" srcset="https://techyaz.com/wp-content/uploads/2017/07/check-user-connections.jpg 626w, https://techyaz.com/wp-content/uploads/2017/07/check-user-connections-300x135.jpg 300w" sizes="auto, (max-width: 626px) 100vw, 626px" /><br />
Now you can set the value as per your need. I have set the value of user connection to 1000 to limit its number of concurrent connections. Run below command to get this done.</p>
<div class="codediv">
<pre><strong><span style="color: #0000ff;">EXEC sp_configure 'show advanced options', 1;
GO
RECONFIGURE ;
GO
EXEC sp_configure 'user connections', 1000 ;
GO
RECONFIGURE;
GO
</span></strong></pre>
</div>
<p>See the below screenshot which has changed the value from 0 to 1000.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-322" src="http://techyaz.com/wp-content/uploads/2017/07/set-user-connections.jpg" alt="set user connections in sp_configure" width="832" height="305" srcset="https://techyaz.com/wp-content/uploads/2017/07/set-user-connections.jpg 832w, https://techyaz.com/wp-content/uploads/2017/07/set-user-connections-300x110.jpg 300w, https://techyaz.com/wp-content/uploads/2017/07/set-user-connections-768x282.jpg 768w" sizes="auto, (max-width: 832px) 100vw, 832px" /><br />
Check the value again by running same command which we have executed in first screenshot to validate this change. You can see config value is now showing as 1000.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-323" src="http://techyaz.com/wp-content/uploads/2017/07/check-user-connections-post-change.jpg" alt="check users connections post making changes using tsql" width="685" height="323" srcset="https://techyaz.com/wp-content/uploads/2017/07/check-user-connections-post-change.jpg 685w, https://techyaz.com/wp-content/uploads/2017/07/check-user-connections-post-change-300x141.jpg 300w, https://techyaz.com/wp-content/uploads/2017/07/check-user-connections-post-change-520x245.jpg 520w, https://techyaz.com/wp-content/uploads/2017/07/check-user-connections-post-change-720x340.jpg 720w" sizes="auto, (max-width: 685px) 100vw, 685px" /></p>
<p><strong>Note:</strong> You must restart the SQL Server machine to apply this change to take effect.</p>
<h3><span style="color: #000080;"><strong>Fix SQL Server Error 233 No process is on the other end of the pipe</strong></span></h3>
<p>If all configured number of connections are in use or connected, you will receive below error message and will not be able to connect until another connection becomes available.</p>
<div class="codediv">
<pre><strong><span style="color: #0000ff;">A connection was successfully established with the server, but then an error occurred during the login process.(provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) (Microsoft SQL Server, Error: 233).
</span></strong></pre>
</div>
<p>If you will look into SQL Server error log, you will find below error message for the same issue.</p>
<div class="codediv">
<pre><strong><span style="color: #0000ff;">Could not connect because the maximum number of 'XX' user connections has already been reached.
The system administrator can use sp_configure to increase the maximum value. The connection has been closed. [CLIENT: XX.XX.XX.XX]
</span></strong></pre>
</div>
<p>We can fix SQL Server Error 233 using below three options.</p>
<ul>
<li>Set the user connections option to 0 to enable maximum number of allowed connection.</li>
<li>Increase the value of user connections so that SQL Server can accept the new connections.</li>
<li>You can also close your existing connections so that new connections can be accepted by SQL Server. But this is not a permanent solution.</li>
</ul>
<p>This time let&#8217;s make this change using GUI so that you will be aware of both methods. I have already discussed T-SQL method in above section.</p>
<p>Connect to SQL Server Instance in SQL Server Management Studio (SSMS). Right click on SQL Server Instance in SSMS and choose properties. Server Properties window will appear to make server level changes. Click on &#8220;Connections&#8221; tab from left side pane. You can see below screen. You can see the value is 1000 in right side pane which we set in above steps.<br />
<img loading="lazy" decoding="async" class="aligncenter size-full wp-image-326" src="http://techyaz.com/wp-content/uploads/2017/07/check-user-connectionsGUI.jpg" alt="check user connections using GUI" width="705" height="637" srcset="https://techyaz.com/wp-content/uploads/2017/07/check-user-connectionsGUI.jpg 705w, https://techyaz.com/wp-content/uploads/2017/07/check-user-connectionsGUI-300x271.jpg 300w" sizes="auto, (max-width: 705px) 100vw, 705px" /><br />
Now revert this value to 0 to accept maximum number of allowed connection. We can also fix error 233 which you might get if maximum number of connections will be exceeded.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-327" src="http://techyaz.com/wp-content/uploads/2017/07/set-user-connections-GUI.jpg" alt="Set user connections using GUI" width="711" height="633" srcset="https://techyaz.com/wp-content/uploads/2017/07/set-user-connections-GUI.jpg 711w, https://techyaz.com/wp-content/uploads/2017/07/set-user-connections-GUI-300x267.jpg 300w" sizes="auto, (max-width: 711px) 100vw, 711px" /></p>
<p>Now again you can validate the changes by running same command. You will see value of user connections will be showing as 0 now, that means you will not face any issue related to error 233 anymore. Restart the server to apply this change into effect.</p>
<p>If you are still facing SQL Server error 233 then I would recommend you to read below article. I have described another aspect for Error 233 in below article.</p>
<ul>
<li><strong><a href="http://techyaz.com/sql-server/troubleshooting/fix-error-233-no-process-end-pipe/" target="_blank" rel="noopener">Fix Error 233: No process in on the other end of the pipe</a></strong></li>
</ul>
<p>I hope you like this article. Please follow us on our <a href="https://www.facebook.com/Techyaz/">Facebook page</a> and on <a href="https://twitter.com/Tech_yaz">Twitter </a>handle to get latest updates.</p>
<p><span style="color: #800000;"><em><strong>Read More:</strong></em></span></p>
<ul>
<li><strong><a href="https://techyaz.com/sql-server/troubleshooting/fix-error-15123/" target="_blank" rel="noopener">SQL Server Error 15123: The Configuration Option does not exist</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-administration/change-network-packet-size-sql-server/" target="_blank" rel="noopener">How to change Network Packet size in SQL Server?</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/change-database-default-locations-sql-server/" target="_blank" rel="noopener">Change Database Default Locations in SQL Server</a></strong></li>
<li><strong><a href="https://techyaz.com/interview-questions/sql-server-dba-interview-questions-answers/" target="_blank" rel="noopener">SQL Server DBA Interview Questions &amp; Answers</a></strong></li>
</ul>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-administration/fixing-error-233-how-to-set-the-user-connections-server-configuration-option-in-sql-server/">SQL Server Error 233: User Connections Server Configuration option in SQL Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/sql-server/sql-server-administration/fixing-error-233-how-to-set-the-user-connections-server-configuration-option-in-sql-server/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
