SQL SERVER:A network-related or instance-specific error occurred
<p>I was using Microsoft SQL with asp.net MVC , it was working fine but today morning it gave me error :</p>

<blockquote>
  <p>A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)</p>
</blockquote>

<p>I tried to Enable TCP/IP. I also started SQL in configuration manager but still cannot login to SQL Server 2014 using cloud server. It was working fine. I don't know what has happened to it.</p>

<p>Thanks</p>