Program Tip

파이프의 다른 쪽 끝에 프로세스가 없습니다 (SQL Server 2012) .No process is on the other end of the pipe (SQL Server 2012)

programtip 2020. 10. 28. 20:33
반응형

파이프의 다른 쪽 끝에 프로세스가 없습니다 (SQL Server 2012) .No process is on the other end of the pipe (SQL Server 2012)


이 오류가 있습니다.

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)

이 사이트에는 비슷한 질문이 있으며 대답은 TCP / IP 및 파이프를 활성화하는 것입니다. 하지만 두 가지를 모두 활성화했지만 여전히 작동하지 않습니다.

MSSQL 오류

Microsoft SQL Server 2012를 사용하고 있으며 사용자에게 모든 권한이 있습니다.


서버는 기본적으로 Windows 인증으로 만 설정되었습니다. 알림이없고, 오류의 원인이 바로 그 것이므로 알아 내기가 어렵습니다. SQL Management Studio는 SQL 인증만으로 사용자를 생성하더라도 경고하지 않습니다.

따라서 대답은 Windows에서 SQL 인증으로 전환 하는 것입니다 .

  1. 서버 이름을 마우스 오른쪽 버튼으로 클릭하고 properties;
  2. security선택 ;
  3. 활성화 SQL Server and Windows Authentication mode;
  4. SQL Server 서비스를 다시 시작하십시오.

이제 로그인 / 비밀번호로 연결할 수 있습니다.


이 문제를 해결하려면 Windows 인증을 사용하여 SQL Management Studio에 연결 한 다음 서버 노드 속성-> 보안을 마우스 오른쪽 버튼으로 클릭하고 SQL Server 및 Windows 인증 모드를 활성화합니다. 'sa'를 사용하는 경우 계정이 활성화되어 있는지 확인하십시오. 이렇게하려면 로그인에서 'sa'를 열고 상태를 봅니다.

관리자 활성화

그래도 작동하지 않으면 SQL Server를 다시 설치해야 할 수 있습니다.


또한 서비스로 이동하여 SQL 서버 인스턴스를 다시 시작할 수 있습니다.여기에 이미지 설명 입력


이것도 여기에 이미지 설명 입력확인하십시오 구성 TCP / IP, Names PipeLine 및 공유 메모리 활성화 됨


So, I had this recently also, for integrated security, It turns out that my issue was actually fairly simple to fix but mainly because I had forgotten to add "Trusted_Connection=True" to my connection string.

I know that may seem fairly obvious but it had me going for 20 minutes or so until I realised that I had copied my connection string format from connectionstrings.com and that portion of the connection string was missing.

Simple and I feel a bit daft, but it was the answer for me.


Also forcing the TCP/IP connection (by providing 127.0.0.1 instead of localhost or .) can reveal the real reason for the error. In my case, the database name specified in connection string was incorrect.

So, here is the checklist:

  • Make sure Named Pipe is enabled in configuration manager (don't forget to restart the server).
  • Make sure the database you are connecting to exists.
  • Make sure SQL Server Authentication (or Mixed Mode) is enabled.

If you are trying to login with SQL credentials, you can also try changing the LoginMode for SQL Server in the registry to allow both SQL Server and Windows Authentication.

  1. Open regedit
  2. Go to the SQL instance key (may vary depending on your instance name): Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQLServer\
  3. Set LoginMode to 2

여기에 이미지 설명 입력

  1. Restart SQL service and SQL Server Management Studio and try again.

I face this issue for the second time and all previous answers failed, fortunately the following request do the job:

Alter login [user] with CHECK_POLICY = OFF
go

Alter login [user] with CHECK_POLICY = ON
go

For me the password expired for my login user, and i got the same exception. Then i login with Windows Authentication mode and change the password for the associated user, and it solved my problem.


I have the same proplem "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.)"

My connection is:

server=POS06\SQLEXPRESS; AttachDbFilename=C:...\Datas.mdf;Initial Catalog= Datas; User ID= sa; Pwd=12345; Connect Timeout=10;

But My SQL is POS06\MSQL2014

Change the connection string to

server=POS06\MSQL2014 ; AttachDbFilename=C:...\Datas.mdf;Initial Catalog= Datas; User ID= sa; Pwd=12345; Connect Timeout=10;

it worked.


이 오류도 원인은 간단하지만 명확하지는 않습니다. 잘못된 암호입니다. 새로 설치된 SQL 2016 서버에서 "로그인 실패"가 표시되지 않은 이유를 잘 모르겠습니다.


보안-> 로그인에서 사용자를 지정했는지 확인하십시오. 그렇지 않은 경우 추가하고 다시 시도하십시오.


다른 답변을 따르고 여전히 작동하지 않으면 컴퓨터를 다시 시작하여 Windows에서 SQL Server 서비스를 효과적으로 다시 시작하십시오.

참고 URL : https://stackoverflow.com/questions/27267658/no-process-is-on-the-other-end-of-the-pipe-sql-server-2012

반응형