SQL Server Express cannot log in as 'sa' - error 233

Paul Kraemer 276 Reputation points
2020-12-25T21:21:26.773+00:00

Hi,

I recently installed Microsoft SQL Server Express version 14.0.1000, and then I installed SQL Server Management Studio version 18.8. When I open Management Studio, I am able to log on to SQL Server using Windows authentication. After doing this, I enabled the built-in 'sa' account (it was disabled by default) and assigned it a password. I then closed and restarted Management Studio, hoping I could log in as 'sa'. When I try to do this, I get an error message with the following information:


TITLE: Connect to Server


Cannot connect to KK-AMNEAL-1215.


ADDITIONAL INFORMATION:

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)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=233&LinkId=20476


No process is on the other end of the pipe


BUTTONS:

OK


If anyone can give me a clue as to what might be preventing me from logging in as 'sa', I would greatly appreciate it. (The reason I would like to enable the 'sa' account is because I am hoping to use SQL Server Express as to store alarms generated by 3rd party industrial automation software, and this 3rd party software doesn't seem to support Windows Authentication.

Thanks and best regards,
Paul

SQL Server Other
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
    2020-12-25T22:03:44.213+00:00

    First of all, since that is the RTM version of SQL 2017, you should apply the most recent Cumulative Update, which I believe is CU22. This gives you many bug fixes and enhancements.

    However, whether it will address this specific issue, I don't know. Did you check the SQL Server errorlog? There can be some more information there. (You find the errorlog in C:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\LOG\ERRORLOG, assuming a default installation of SQL Express.

    Then again, the error message talks about KK-AMNEAL-1215 without giving any instance name. Could that be the problem? Or how did you install SQL Express?

    You did restart SQL Server after you enabled SQL authentication, didn't you?

    0 comments No comments

  2. Jeffrey Williams 1,896 Reputation points
    2020-12-26T16:11:17.48+00:00

    Did you enable SQL authentication - or just try to enable the 'sa' account? If the latter - that won't work because you need SQL authentication enabled, and by default when you install SQL Server it installs as windows authentication only.

    51344-image.png

    0 comments No comments

  3. AmeliaGu-MSFT 14,006 Reputation points Microsoft External Staff
    2020-12-28T02:20:14.66+00:00

    Hi @Paul Kraemer ,

    Are there any updates to this issue?
    Please make sure the TCP/IP and Named pipes is enabled in SQL Server Configuration Manager->SQL Server Network Configuration ->Protocols for your instance.
    Please using Windows authentication in SSMS to login and go to server name and right-click to select properties ->select security tab, ensure you have enabled the SQL Server and Windows Authentication mode. If not, you need to enable it and restart the SQL Server service.
    In addition, if you connect to SQL Server from remote computer, please make sure to allow SQL Server to accept remote connections.

    Best Regards,
    Amelia


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.