I am getting following error when I tried to connect my SQL server.

A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The specified network name is no longer available.)

Connection String:

  <add name="remoteServer" connectionString="Data Source=,1433;Initial Catalog=MyDb;Persist Security Info=True;Connection Timeout=130;User ID=crmuser;Password=abcd123456" providerName="System.Data.SqlClient" />
Varshini SAsked:
Who is Participating?
Shaun KlineConnect With a Mentor Lead Software EngineerCommented:
If you remove the ",1433" from the data source property, do you get the same error? (The 1433 is a port number, and generally is not needed unless SQL server has been set up to run against a non-standard port.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.