|
||||||||
|
||||||||
|
![]() ![]() |
![]() |
|
Công Cụ | Xếp Bài | ![]() |
![]() |
#1 |
Guest
Trả Lời: n/a
![]() |
Kích hoạt Remote Connection cho SQL Server 2008
Kích hoạt Remote Connection cho SQL Server 2008 Khi bạn kết nối đến SQL Server 2008 mà gặp phải các thông báo lỗi . bài viết này sẻ hướng dẫn các bạn cấu hình để có thể remote Khi bạn kết nối đến SQL Server 2008 mà gặp phải các lỗi sau: ![]() Cannot connect to SQL-Server-Instance-Name An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 28 – Server doesn’t support requested protocol) (Microsoft SQL Server) ![]() Cannot connect to SQL-Server-Instance-Name An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 – Error Locating Server/Instance Specified) (Microsoft SQL Server) ![]() Cannot connect to SQL-Server-Instance-Name Login failed for user ‘username‘. (Microsoft SQL Server, Error: 18456) Đó chính là bạn chưa kích hoạt Remote Connection cho SQL Server. Để kích hoạt, bạn làm theo các bước sau: 1. Hãy bật SQL Server Browser Service lên nếu bạn chưa bật. SQL Server Browser sẽ "lắng nghe" các incoming request từ Client. 2. Hãy Enable TCP/IP Protocol cho SQL Server 2008 để chấp nhận Remote Connection. 3. Thay đổi Server Authentication thành SQL Server and Windows Authentication, bởi mặc định SQL Server 2008 chỉ cho phép bạn để ở chế độ Windows Authentication trong khi đó nếu bạn muốn dùng Remote Connection thì bạn phải để là SQL Server Authentication. B1: Mở SQL Server Config Manager: Start --> Program --> Microsoft SQL Server 2008 --> Configuration Tools --> SQL Server Configuration Manager ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() |
![]() |
|
|