Mssql ошибка 233

5 Ways to Fix Microsoft SQL Server Error 233

Workable Solutions Step-by-step Troubleshooting
Fix 1. Enable TCP/IP

Open MS SQL Server. Go to configuration tools, and then open «SQL Server Network Configuration»…Full steps

Fix 2. Enable Shared Memory 

Shared Memory Protocol is used for connecting SQL Server, if it is disabled, it may lead to SQL Server login failed error 233…Full steps

Fix 3. Enable Named Pipes Protocol

Run MS SQL Server. Go to configuration tools, and then open «SQL Server Network Configuration»…Full steps

Fix 4. Check for Remote Connection

Connect to SQL Server Instance in SSMS on a database server. Right-click on the Server instance…Full steps

Fix 5. Repair the MS SQL Database

Launch EaseUS MS SQL Recovery. Select the corrupted database file. Then, click the «Repair» button…Full steps

Overview of SQL Server Error 233

SQL Server error 233 was saying «No process is on the other end of the pipe». The error details are given as:

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)

ms sql error code 233

SQL Server Error Code 233 Causes

No process is on the other end of the pipe error 233 is often caused by two reasons:

  • The client attempts to connect with only named pipes and the named pipes protocol is not enabled on the server.
  • The client attempts to connect with any available protocol, but named pipes are listed before TCP in the client protocol order.

According to the two reasons above, you can fix error 233 easily. 

Fix 1. Enable TCP/IP to Solve SQL Server Error 233

If the client is attempting to connect using named pipes, and the server is not configured to allow remote connections using named pipes, follow this:

Step 1. Open MS SQL Server. 

Step 2. Go to configuration tools, and then open «SQL Server Network Configuration» in SQL Server Configuration Manager.

Step 3. Choose «TCP/IP» option and enable remote connections using named pipes.

If the client protocol order is attempting to connect with the named pipes protocol before trying the TCP protocol, and named pipes are not enabled on the server, solve this problem by following this:

Using SQL Server Configuration Manager on the client computer, move TCP before named pipes in the protocol order list.

Fix 2. Enable Shared Memory 

Shared Memory Protocol is used for connecting SQL Server, if it is disabled, it may lead to SQL Server login failed error 233.

Step 1. Open MS SQL Server in your system.

Step 2. Choose «Configuration Tools» and «SQL Server Network Configuration».

Step 3. Then, find and right-click «Shared Memory». Choose «Enable».

Fix 3. Enable Named Pipes Protocol to Solve SQL Error 233

SQL Server error 233 occurs because the SQL Server client cannot connect to the server and is not configured to accept remote connections. To fix this issue, except for enabling Shared Memory and TCP/IP, we still need to activate Named Pipe protocols with SQL Server Configuration Manager tool.

Step 1. Run MS SQL Server. 

Step 2. Go to configuration tools, and then open «SQL Server Network Configuration» in SQL Server Configuration Manager.

Step 3. Launch the Properties windows of Named Pipes Protocol then click «Enable». 

Step 4. Click «Apply» and «OK»  to apply this change on SQL Server.

You have required to restart SQL Server services from the SQL Server Configuration Manager. Once the server is online, try to reconnect to your SQL Server instance. Then, the error 233 may not appear and you will be able to make a successful database connection.

Fix 4. Check for Remote Connection

After these workarounds, if you are still facing Microsoft SQL Server error 233 no process is on the other end of the pipe, then you will need to allow remote connection for SQL Server. 

Step 1. Connect to SQL Server Instance in SSMS locally on a database server.

Step 2. Right-click on the Server instance name and choose «Properties».

Step 3. At the left tab, select «connection» then check the option «Allow remote connections to this server».

Fix 5. Repair Corrupted MS SQL Database to Resolve SQL Error 233

If you are still facing the same issue, the cause might be the database itself. MS SQL Server is vulnerable to different threats and errors (823/824/825). Repairing the database can do you a favor. EaseUS MS SQL Recovery is a very professional and reliable SQL repair tool. It can recover database components (tables, triggers, indexes, keys, rules, and stored procedures) as well as recover deleted records from the SQL database. It supports MS SQL Server 2016, 2014, 2012, 2008, and older versions. Follow the details below and fix your database error.

Step 1: Select the corrupted database for recovery

  • Launch EaseUS MS SQL Recovery.
  • Select the corrupted database file by clicking «Browse» (the two dots) or «Search».
  • After selecting the file, click the «Repair» button to start the Analyzing process. 

select the SQL database file

Note: To use this software, you need to stop the SQL Server service.

Step 2: Repair the corrupted database

  • The software displays all the recoverable items in a tree-like structure. The items are shown in a left pane.
  • Select the desired component to be recovered. From the window, click the «Export» button. 

Select the database objects

Step 3: Export to the database or as scripts

  • Choose to export the database objects to database or export the items as scripts
  • If you choose «Export to database», enter the information required and choose the target database.

export the SQL database objects

  • A window appears up asking you to provide credentials to connect to the server and the destination to save the recovered items. In order to begin the repairing process, click «OK». 

Note: Before clicking «OK», you need to restart the SQL Server service.

Though the EaseUS SQL repair tool should succeed in resolving the error, in the rare event that it can’t, you should then contact Microsoft customer support for professional assistance.

Conclusion

In this article, we have discussed SQL Server error 233 no process is on the other end of the pipe in detail, including error explanation, causes, and all the feasible solutions. If you run into this error, don’t panic, utilize any methods above, i.e. enable Shared Memory, TCP/IP, and Named Pipe protocols to let SQL Server client connect to the server or use a reliable SQL recovery software to restore (.mdf and.ndf) files, fix database log files, or recover corrupted objects.

We hope this tutorial can help you to resolve the SQL login failed error 233.

Microsoft SQL server error 233 triggers while users login to an existing database. It happens due to a number of reasons ranging from exceeding the connection limit to firewall restrictions.

As a part of our Server Management Services, we help our Customers to fix database-related errors regularly.

Let us today discuss the possible causes and fixes for this error.

What causes the SQL server error 233?

Users often experience that they are unable to connect to an existing database even after providing the correct login credentials. The error message that they notice may resemble the one given below:

SQL server error 233

The common reasons for the Microsoft SQL server error 233 include;

  1. SQL server not set for Mixed mode
  2. TCP/IP protocol disabled
  3. Shared Memory Protocol disabled
  4. Named Pipes Protocol disabled
  5. Virtual Interface Adapter disabled
  6. View Port in Windows Firewall
  7. Check for Remote Connection
  8. Exceeding the number of Connections

Let us now look into each of these reasons in detail and their fixes.

SQL Server is not set to Mixed Mode

Mixed Mode (SQL Authentication Mode) provides a System Administrator account using a separate user name and password that can also be used to connect to the SQL server in addition to the Windows account. The 233 error can trigger if it is disabled. You can verify the cause of this error by trying to log in to SQL Server Management Studio (SSMS) using the System Administrator account.

1. Log in to SSMS using Windows Authentication.
2. Right-click on the main entry for the server itself and select Properties.
3. In the Properties screen, select Security on the left.
4. Change the Server Authentication setting from Windows Authentication to 'SQL Server and Windows Authentication mode'. Click OK.
5. To apply these settings, restart the SQL Server services by right-clicking on the server's main entry and selecting Restart.
TCP/IP protocol disabled

For SQL Server to be connected properly, TCP/IP should be enabled. It can be enabled using the steps given below:

1. Open MS SQL Server in your system
2. Go to configuration tools, and then open SQL Server Configuration Manager in your system >> SQL Server Network Configuration.
3. Choose TCP/IP option and enable it with a right-click

Finally, restart the SQL Server for the changes to take effect.

Shared Memory Protocol disabled

SQL Server Shared Memory protocol is used by clients to connect to the SQL Server instance that is running on the same machine. Sometimes, the user faces an authentication error, when the Shared Memory protocol is disabled. It can be easily enabled with the steps discussed below:

1. Go to Start → All Programs → MS SQL Server → Configuration Tools → SQL Server Configuration Manager.
2. Choose SQL Server Network Configuration.
3. Then, right-click on the option Shared Memory → Choose Enable.
Named Pipes Protocol disabled

Named Pipes protocols are established for local area networks. In it, a part of memory is used by one procedure to pass the info to another process. It can be on the same system or on a networked system. The user faces this error when the Named Pipes are disabled.The steps to enable it includes:

  1. Open the SQL Server Configuration Manager and Navigate to SQL Server Network Configuration
  2. From the SQL Server Network Configuration go to  Named Pipes Protocol and Enable it.
Virtual Interface Adapter disabled

VIA or Virtual Interface Adapter works with VIA hardware. Users face an SQL error when VIA is not enabled in the system. Thus. to remove an error issue, enable the VIA option from the SQL Server Network Configuration.

View Port in Windows Firewall

SQL Server ports running on the system, are added to exception, and firewall filters all traffic from those ports. SQL Server runs on 1433 port by default but if the default port is changed, then the new port is added to the exception. It can be done with the steps below:

1. First, open Control Panel in your system.
2. Now select Windows Firewall → Change Settings.
3. Click on Exceptions, and then select Add Port.
4. A window will appear, now fill the port number, and click on Ok button.
5. Then, enable the SQL.
Check for Remote Connection

Remote connection is important to connect to the SQL server remotely. Thus, it may trigger the error 233 error on a remote connection. To enable it, follow the steps below:

1. Click on Server node → choose Properties.
2. At left Tab select connection → check the option “allow remote connections to this server”
Exceeding the number of Connections

If the number of connections exceeds the limit, we won’t be able to connect until another connection becomes available. In such cases, it triggers the 233 error. This can be fixed with the following measures:

1. Set the user connections option to 0 to enable the maximum number of allowed connection (which is 32767)
2. Increase the value of user connections so that SQL Server can accept the new connections.
3. You can also close your existing connections so that new connections can be accepted by SQL Server. But this is not a permanent solution.

The changes to the maximum number of allowed connection can be performed from SQL Server Management Studio (SSMS) by following the below steps:

  1. First, connect to SQL Server Instance in SSMS.
  2. Next, right-click on SQL Server Instance in SSMS and choose properties. The Server Properties window will appear to make server-level changes.
  3. Click on the “Connections” tab from the left side pane. Set this value to 0 to accept the maximum number of allowed connections or increase the value to fix the error.
  4. Finally, restart the server to apply this change into effect.

[Need any further assistance in fixing database errors? – We’re available 24*7]

Conclusion

In short, Microsoft SQL server error 233 triggers while login to an existing database. It happens due to a number of reasons ranging from exceeding the connection limit to firewall restriction. Today, we saw how our Support Engineers fix this error.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = «owonCMyG5nEQ0aD71QM»;

RRS feed

  • Remove From My Forums
  • Question

  • I am getting this error when connecting to sql. I cant get into my databases now- its pretty ugly.

    «A connection was succesfulyl established with the server, but then an error occured during the login process.

    (provider: Shared Memeory Provoder, error: 0 — No Process is on the other end of the pipe.)Microsoft SQL server error:233

    Anyone who knows what is going on soem help would be much appreciated.

    Mat

All replies

  • Which application do you use connecting to SQL Server ? Did you try another one ? Did you try to see if there are any event log entires for the time trying to connect ?

    Jens K. Suessmeyer


    http://www.sqlserver2005.de

  • You may also want to try connecting with a different login if you haven’t already.

    Joe

  • Thanks for the answers guys. I tried every possible login to no avail. I ended up having to remove visual studio, sql server 2005 then .NET framwork. Then reinstalling in that order. Just removing/reinstalling SQL did not work. Took around 5 hours all up.

    Pretty soul destroying stuff but thems the breaks I guess.

  • You could try first checking if the following protocols are enabled from the SQL Server Configuration Manager:

    1. Named Pipes

    2. TCP/IP

    Also, check from the Surface Area Configuration Manager to find out if your SQL Express Instance is configured to accept remote connections.

    Please refer the following link for more help:

    http://msdn2.microsoft.com/en-us/library/bb326280.aspx

    HTH

  • OUCH! Thanks for posting your resolution. I would have hoped you could have found a less drastic measure.

    Joe

  • I meet , restart your database. To restart your databse at «SQL Server Configuration Manager.

  • hie.. all the solutions are right..
    after trying all.. see your sql server agent[ sql Server configuration manager] also start your server from run—>services.msc]
    it might be stopped.. if it is so.. make it connected from both way i mentioned..

    me too getting same error…

    • Proposed as answer by

      Tuesday, August 11, 2009 2:11 PM

  • After several frustrating attempts to get this resolved, I completed the following steps to resolve the «Microsoft SQL Server, Errorf:233.  

    1. Log into an administrative account that has access to both the machine and sql server 2005 database
    2. Open up SQL Server Management studio with «Windows Authentication» 
    3. Click on the security folder
    4. Click on «logins»
    5. Then click on the account that is not working 
    6. Answer — Make sure there is a database within the «Database Default»  specified «I placed the admin account to master»

    In my case there was no database specified within the default which put the login into limbo causing the Error:233

    • Proposed as answer by
      Dlang
      Tuesday, August 11, 2009 2:23 PM

  • After restarting the SQL server, i’m able to connect to the Database from my application.

  • I had similar issue.

    Scenario

    I had an user on SQl as abc(name changed), I deleted the user and without rebooting I created a user with same name as «abc», and tried login to SQL with abc credentials.
    ——
    Error:
    A connection was succesfulyl established with the server, but then an error occured during the login process.

    (provider: Shared Memeory Provoder, error: 0 — No Process is on the other end of the pipe.)Microsoft SQL server error:233


    I created another user xyz and tried login with same xyz and I was able to login.
    Then I rebooted the machine and tested with abc account and I was able to login.

    Now I deleted xyz and created xyz again, now I was not able to login with xyz with same error.

    It seems when we deleted a user SQL Server requires a reboot, if we want to create user with same name again.

  • Make sure the user is not disabled

    1. Login as an Administrator into the SqL Server
    2. Expand Security/ Logins folder
    3. Right Click on the particular user and go to properties
    4. Click Status Permission: Granted
     Login : Enabled

    It worked for me after it is enabled

  • 1. Login as Administartor
    2. Right click on the Instance name — Server Properties
    3. Security page
    4. Set the Server Authentication — ‘SQL Server and Windows Authentication mode’
    5. Restart the SQL Service

    • Proposed as answer by
      Dynamic
      Monday, November 29, 2010 6:41 PM

  • I have suddenly this same problem with an express 2005 running on XP for years. I’ve tried evrything you suggested to no avail! the sa login is now useless. Any new suggestion?

    Thanks

  • Hiiii

    Thanks Guys its worked for me.Especially Thanks 2 Moshez

  • Thanks for the answers ,i tried everything from the start of the post ,my sql server had everything mentioned here like allow remote connections,tcp/ip,in security in login the user allowed,default db set.finally the one that worked for me was a simple step go
    to the services and click sql server and stop it and then start it again there,it worked :-) cant believe this simple thing kept me wondering for hours how to fix it

  • Goto Services.msc and start «SQL Server Browser» Service. It will work.

    Kulbhushan

  • Hi guys… Here are a few things to check out…

    Make sure that the server is setup to accept both windows and SQL authentication. Right click on the server name in your manement studio and go to properties then security.

    Once you change this setting you will have to restart SQL services.

    Make sure that SA account is enabled and a default database assigned. Also , reset the password just to make sure you know the correct password.

    test logging in to SQL Management Studio using the SA account with the new password after you have restarted the services. Other wise it will not work.

    • Proposed as answer by
      eamadhavan
      Wednesday, October 19, 2011 1:59 AM

  • Make sure your firewall (Windows Firewall/Internet Connection Sharing (ICS)) on the computer is turned off.
    It worked for me, hope same is for you !!
  • Thanks….I had a similar problem today and resolved by applying above solution.

    Rgds,

    Naresh Pathak

  • Thanks Amit Benerjee, i had similar problem connecting to SQL Server 2008 R2 and now it is resolved by applying your solution.

    Regards,

    Shravankumar Durbha

  • this worked. although i had the database default selected but not master. once i set it to master, no error.

  • 1. Log into an administrative account that has access to both the machine and sql server 2005 database
    2. Open up SQL Server Management studio with «Windows Authentication»
    3. Click on the security folder
    4. Click on «logins»
    5. Then click on the account that is not working
    6. Answer — Make sure there is a database within the «Database Default» specified «I placed the admin account to master»

    7. Uncheck «Enforce password policy»

  • Thank you Moshez, it worked for me by adding SQL authentication.

  • Thanks Jesus N, this worked for me.

  •              Plz first login Windows Authentication and when connect database. Right click the SQL Server and select properties and select security tab. and choose second opation SQL Server and
    Windows Authentication mode. And restart sql service.

    please connect and enjoy.

    Muhammad Imran

    • Proposed as answer by
      HansWald
      Wednesday, July 16, 2014 6:35 PM

  • Make sure the login is mapped to existing SQL user:

    1. Login as an Administrator into the SqL Server
    2. Expand Security/ Logins folder
    3. Right Click on the particular user and go to properties
    4. Tick the box next to the SQL profile that you want to map this user to.

    It worked for me after it was mapped correctly. Must to have become unmapped when truncating DB logs had to unmapp the DB etc.

  • Just to add another solution…

    Another possible cause of this error is that the maximum number of connections has been exceeded. When I checked the event log, this is the error I found.

    Here’s the KB for how to deal with that issue:
    http://support.microsoft.com/kb/320728

    Shut down the SQL services and run SQL in single user mode from the command line, login as an admin and then change the connection setting.


    — cawood

     blog |
     twitter

  • After several frustrating attempts to get this resolved, I completed the following steps to resolve the «Microsoft SQL Server, Errorf:233.  

    1. Log into an administrative account that has access to both the machine and sql server 2005 database
    2. Open up SQL Server Management studio with «Windows Authentication» 
    3. Click on the security folder
    4. Click on «logins»
    5. Then click on the account that is not working 
    6. Answer — Make sure there is a database within the «Database Default»  specified «I placed the admin account to master»

    In my case there was no database specified within the default which put the login into limbo causing the Error:233

    That worked for me too! Thanks a lot.

    • Edited by
      nonamenet.com
      Saturday, December 22, 2012 6:03 PM

  • This is due to password policy . login with window authentication and goto security — > Logins -> select Login user id — >Properties(on mouse right click) ->and check the password and change the policy check box (here password expired after
    a certain period)  

  • In SQL 2008, I needed to log on under Windows Authentication using my Windows Credentials then right click on the Security list item, select Mixed Authentication, then Ok, then I closed SQL Server.  After that I needed to go to Services (Under
    Control Panel / Administrative Tools) and Stop both the SQL Server Agent and the SQL Server services.  Once both were stopped I Started them both again and then opened SQL Server and was able to login using the SA account.  For me the problem was
    solved.

    • Proposed as answer by
      JayDLL
      Wednesday, September 18, 2013 11:33 AM

  • You should not propose your own posts as answers — especially when the same information has already been posted and marked.  In addition, your terminology will only confuse the inexperienced.  You «close SQL Server» and «opened SQL Server» —
    what does that mean?  Perhaps you meant that you closed / opened SSMS — an application that is used to access / manage sql server instances. 

  • In my situation I had limited the active connections to 2, and some processes were hogging the connection. Setting to 0 worked. Also would only connect to Database first time after opening Sql Server Management Studio, had to close and reopen each time
    to connect, and because of concurrent connections wouldn’t have much time to interact with database.

  • Hello i have the same issue, is resolved going to Control panel, Administrative Tools, Services, then look for the Sql Server Service (Display Name: «SQL Server (MSSQLSERVER)»), in the service make right click and select stop and after the services
    be stopped, start it.

  • You are a Steely Eye’d Rocket man and a SQL God!

“SQL Server Login Failed Error 233” is Easy to Fix Using These Solutions

SQL Server Login Failed Error 233

While accessing the DB sometimes user faces the situation when they logging into SQL Server Authentication mode, and it displaying the error message as shown below. Moreover, users also face several errors other than SQL server error 233 like Error 26. Error 40, Error 3271, etc. This is called SQL Server Login Failed Error 233 :

Table of Content

  • SQL Server Error 233 Quick Steps
  • Error 233 Walkaround
  • TCP / IP
  • Shared Memory Protocol
  • Named Pipes Protocol
  • Virtual Interface Adapter
  • View Ports in Windows Firewall
  • Remote Connection Check
  • Conclusion
  • FAQs

SQL Server Error 233

Fix SQL Server Error 233 in 6 Quick Steps

  • Enable TCP/IP in SQL configuration manager.
  • Now, Enable the Shared Memory Protocol.
  • At this step, Enable Named Pipes Protocol.
  • Enable the (VIA) Virtual Interface Adapter.
  • Add Correct Port in Windows Firewall.
  • Simply Allow the Remote Connections.

We can overcome the issue faced by users while authenticating the SQL Server through common fixes. There are some of the possible ways, which helps user to resolve the SQL server error 233 by checking and enabling the following settings in SQL Configuration Manager as discussed below:

1. TCP/IP

There are two or more SQL Servers, which are associated across network. Then, all the communication is done by using TCP/IP protocol. There is a default port for SQL Server Installation, i.e. 1433. This port can be changed if required through SQL Server Configuration Manager. For SQL Server to be connected properly, TCP/IP should be enabled. Follow the steps given below to solve Microsoft SQL server error 233 safely.

  1. Open MS SQL Server in your system
  2. Go to configuration tools, and then open SQL Server Configuration Manager in your system >> SQL Server Network Configuration.
  3. Choose TCP/IP option and enable it with a right-click

After completing the procedure, restart the SQL Server for the changes to take place.

2. Shared Memory Protocol

The Shared Memory Protocol is used for connecting SQL Server, which is running on the same system. It is not useful for most of the database activity. Sometimes, the user faces an authentication error, when Shared Memory protocol is disabled. It can be easily enabled with the few possible steps as discussed:

  1. Go to StartAll ProgramsMS SQL ServerConfiguration ToolsSQL Server Configuration Manager.
  2. Choose SQL Server Network Configuration.
  3. Then, right-click on the option Shared Memory → Choose Enable.

3. Named Pipes Protocol

Named Pipes protocols are established for local area networks. In it, a part of memory is used by one procedure to pass the info to other process. Another way can be on the same system or on a networked system. User faces this SQL server error 233 because the Named Pipes are disabled, so to enable it user can follow the same procedure as mentioned above by opening the SQL Server Configuration ManagerSQL Server Network Configuration Named Pipes ProtocolEnable.

4. Virtual Interface Adapter

VIA is Virtual Interface Adapter, which works with VIA hardware. Even, the user faces an error when VIA is not enable in your system. So, to remove the Microsoft SQL server error 233 issue, enable the VIA option from the SQL Server Network configuration.

5. View Port in Windows Firewall

Windows Firewall acts like a wall in between the server and your system, to protect from all malicious attacks. However, various ports and services are refrained by default from firewall. Even SQL Server ports are not viewed in firewall.

SQL Server ports are running on the system, are added to exception, and then firewall filters all traffic from those ports. SQL Server runs on 1433 port by default but if the default port is changed, then the new port is added to the exception. It can be done following the step:

  1. First, open Control Panel in your system.
  2. Now select Windows Firewall → Change Settings.
  3. Click on Exceptions, and then select Add Port.
  4. A window will appear, now fill the port number, and click on Ok button.
  5. Then, enable the SQL.

6. Check for Remote Connection

To enable the remote connection is also important. If this feature is turned off, then SQL Server will work properly on your system but if your feature is on then, follow the steps given below & get rid of SQL server error 233 smartly:

  1. Click on Server node → choose Properties.
  2. At left Tab select connection → check the option “allow remote connections to this server”

Conclusion

In the above discussion, there are some relevant solutions discussed to remove the SQL Server Authentication Error 233. If the user still faces an error, then they can utilize an alternate method, i.e. use sqlbrowser.exe. It is another way to prevent the occurrence of this error by simply searching sqlbrowser.exe on the drive where SQL Server is installed. Then, copy the path of sqlbrowser.exe and create an exception of that file on Firewall. It helps to resolve the SQL login failed error 233.

Also Read: SQL Server Does Not Exist or Access Denied – Best Solution

FAQs

Q-1. What is error 233 in SQL Server?

Ans. SQL Server error 233 occurs when the client is unable to connect to their SQL Server. It occurs due to several reasons but mainly when remote connections aren’t allowed.

Q-2. How to enable TCP/IP in SQL Server?

Ans. Follow the simple steps to enable TCP/IP:

  • Open the SQL Configuration Manager.
  • Select SQL Server Network Configuration
  • Select Protocol option
  • Enable TCP IP protocol.

Q-3. How to configure SQL Server to accept remote connections?

Ans. Open SQL Server Management Studio & follow these steps:

  • Open Object Explorer.
  • Right Click Server & Select Properties.
  • Choose the Connections Mode.
  • Go to Remote server connections.
  • Select Allow Remote Connections.

Q-4. How do I open port 1433 in SQL Server?

Ans. Evidenty, Connect SQL Server & Open Windows Firewall. Click Inbound Rules & Select the New Rules option. Select Port Type & Rules & then Specify 1433 and 1434 ports.


Table of Contents

  • Introduction
  • The Solution
  • References

Introduction

After the global RansomeWare attack, we updated our Windows Server 2012 R2 only to find out that our SQL Server Management Studio (SSMS) stopped working. Whenever we try to connect to SSMS locally or remotely it provides us with the following
Error:

A connection was successfully established with the server, but then an error occurred during the login process. (Provider: SSL Provider, error: 0 — No process is on the other end of the pipe.) (Microsoft SQL Server, Error: 233)

Even after trying to log in with «Windows Authentication» and the error was same. Also tried solutions for similar SQL Error 233 issues but with no result.

The Solution

After much tinkering, the finding was that the Windows Update has modified the TLS and SSL settings in a wrong way. Specific changes had to be made to the Cipher Suits and Protocols in the registry in order to make it (SSMS) work again and now we can log
in to SSMS successfully (both locally and remote login). So the specific changes which had to be made to the registry are as follows:

Changes in Schannel:: (Inlcuding Client Side Protocols)
Protocols Enabled: Multi-Protocol Unified Hello, PCT 1.0, TLS 1.0
Protocols Disabled: SSL 2.0, SSL 3.0, TLS 1.1, TLS 1.2
Ciphers Enabled: NULL, DES 56/56, RC2 40/128, RC2 56/128, RC2 128/128, RC4 40/128, RC4 56/128, RC4 64/128, RC4 128/128, Triple DES 168, AES 128/128, AES 256/256
Hashes Enabled: MD5, SHA, SHA 256, SHA 384, SHA 512
Key Exchanges Enabled: Diffie-Hellman, PKCS, ECDH
Cipher Suite Changes:: 
Disabled: SSL_CK_RC4_128_WITH_MD5, SSL_CK_DES_192_EDE3_CBC_WITH_MD5
Enabled: Everything else realted to TLS

To achieve this easily (changes to security and modification of registry) Also used this tool (IISCrypto): https://www.nartac.com/Products/IISCrypto

Do make sure that each cipher or protocols mentioned here are specifically enabled or disabled, or else the issue won’t be resolved.

References

  1. Initial Solution is provided in Stack Overflow [Link:
    https://stackoverflow.com/questions/44067698/how-to-solve-microsoft-sql-server-error-233-provider-ssl-provider]
  2. Similar but different solutions for the same issue can be found at www.sqlservercentral.com [Link:

    https://www.sqlservercentral.com/Forums/Topic1810025-3411-1.aspx]


Понравилась статья? Поделить с друзьями:
  • Mssql журнал ошибок
  • Mssql try catch текст ошибки
  • Mssecflt sys windows 10 ошибка при загрузке
  • Mspst32 dll ошибка outlook 2016
  • Mspeech ошибка runtime error 217 at 00692077