An existing connection was forcibly closed by the remote host hatası
Server Error in '/' Application.
--------------------------------------------------------------------------------
A connection was successfully established with the server, but then an error occurred during the pre-login handshake. 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: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. 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: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)
Şeklinde bir hata alıyorsanız eğer SQL server ile ilgili sorununuz vardır. Host dostasında küçük bir değişiklikle bu sorunu düzeltebilirsiniz. C:WindowsSystem32driversetc dizininde host dosyası bulunmaktadır. Bu dosya gizli ve sistem dosyası olduğundan görebilmek için sistem dosyalarının gösterilmesi ve gizli dosyaların gösterilmesini ayarlamalısınız. host içini açtığınızda
xxx.xxx.xxx.xxx KSSQLSRVR
şeklinde bir ibare vardır. Bunu
xxx.xxx.xxx.xxx KSSQLSRVRSPDEV01
yapmanız yeterlidir. host dosyasında bir değişiklik yaptığınızda aktif olması için browser'in tekrardan başlatılması gerekmektedir.
Şuana kadar 1657 defa okundu.