Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQL Server 2008 Error 233

Tags:

I'm creating new login in SQL Server 2008 with following sql script:

CREATE LOGIN [xyz] WITH PASSWORD='xyz',             DEFAULT_DATABASE=[master], DEFAULT_LANGUAGE=[us_english],              CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF 

It creates new login successfully. But when I try to login with it using SQL Server Management Studio it fails saying:

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)

What's wrong? How do I solve this issue?

like image 667
clumpter Avatar asked May 20 '11 13:05

clumpter


People also ask

How do I enable TCP IP connection in SQL Configuration Manager?

On the Start menu, click All Programs > Microsoft SQL Server 2012 > Configuration Tools > SQL Server Configuration Manager. Click SQL Server 2012 Services. Expand the SQL Server 2012 Network Configuration node, and then select Protocols for MSSQLServer (SQL Instance Name) . Right-click TCP/IP, and then click Enable.

How do I restart SQL Server Configuration Manager?

In SQL Server Configuration Manager, in the left pane, select SQL Server Services. In the results pane, right-click SQL Server (MSSQLServer) or a named instance, and then select Start, Stop, Pause, Resume, or Restart.


2 Answers

Here is how I done it, maybe it works for you too.

  1. login Microsoft SQL Server 2012 with windows authentication.

  2. right-click onto the server name in Object Explorer and click Properties

  3. In the new tab click Security

  4. select SQL Server and Windows Authentication

  5. Ok

  6. Close the SQL server management studio.

  7. start+run

  8. write services.msc

  9. search for SQL there and restart all services.

that works for me.

like image 111
GorgE_MirO Avatar answered Oct 31 '22 10:10

GorgE_MirO


It's also possible that you're trying to use SQL Server Authentication without having enabled it. To fix this, right-click Properties on your server instance in SQL Server Management Studio, and update the security settings to include "SQL Server and Windows Authentication mode".

like image 36
Beevik Avatar answered Oct 31 '22 11:10

Beevik