日期:2014-05-19  浏览次数:20469 次

******不能连接上远程数据库**********
网站一直运行正常,但是突然一天早上打开页面出现这个错误,

A   connection   was   successfully   established   with   the   server,   but   then   an   error   occurred   during   the   login   process.   (provider:   TCP   Provider,   error:   0   -  
An   existing   connection   was   forcibly   closed   by   the   remote   host.)  


水能帮我分析分析甚么原因,
我用的是asp.net   2.0   +   Sql2005


------解决方案--------------------
SQL Server 外围应用配置器—服务和连接外围配置—database englie—远程连接—启用(远程连接的TCP/IP和named pipes)
SQL Server Configuration Manager—SQL2005网络配置—启用TCP/IP和named pipes