我将本地的SQL Server数据库迁移到生产环境,但在连接时突然出现以下错误
System.Data.SqlClient.SqlException:
A connection was successfully established with the server,
but then an error occurred during the pre-login handshake.
(provider: SSL Provider, error: 0 - A system shutdown is in progress.)
虽然在 Entity Framework 中连接字符串没有什么特别之处:
... connectionString="metadata=res://*/EF.DataBaseModel.csdl|res://*/EF.DataBaseModel.ssdl|res://*/EF.DataBaseModel.msl;
provider=System.Data.SqlClient;
provider connection string='data source=server-ip\SQLEXPRESS2008R2;initial catalog=db;user id=user;password=password;multipleactiveresultsets=True;App=EntityFramework'"
providerName="System.Data.EntityClient" />
这里可能出了什么问题? 提前感谢您!