Thứ Bảy, 21 tháng 7, 2012

[SQL Server 2008 R2] lỗi user 'sa'

Lỗi:
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
Khắc phục:
     - Bạn không kết nối vào cơ sở dữ liệu hoặc kết nối bằng tài khoản của windows rồi tạo query mới. Sau đó, copy đoạn code sau dán vào và thực thi.
sp_configure show advanced options’, 1;
go
reconfigure
go

sp_configure user connections’, 0
go
reconfigure
go
    - Thực thi thành công thì bạn có thể ngắt kết nối và kết nối lại bằng user 'sa'



Chúc các bạn thành công!