I ported my SQL Server DB from local to production environment and suddenly faced the following error during connect
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.)
There is nothing special in Entity Framework connection string though:
... 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" />
What can be wrong here ?
Thank you in advance!
Look here: http://social.msdn.microsoft.com/Forums/eu/sqlsecurity/thread/3d027059-7457-4671-94f9-008b10013fde