您的位置:首页 > 数据库

An exception of type System.Data.SqlClient.SqlException was thrown. Additional exception information: A network-related or instance-specific error occ

2012-10-22 10:16 686 查看

An exception of type System.Data.SqlClient.SqlException was thrown. Additional exception information: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible

If you face a problem while connecting to remote sql server please make sure below configurations are done

1. Enable the "Named Pipes"--> Go to SQL Server Configuration Manager-->SQL Server Network Configuration-->Protocals for "sqlserver"



2. Specify TCP Port

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐