I was getting the below error when trying to connect to my SQLEXPRESS database using the Generate Database wizard of EF.
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)
I enabled the TCp/IP for SQLEXPRESS as per the below question.
Enable remote connections for SQL Server Express 2012
I just enabled the tcp/Ip settings(did'nt change the IP2 and all) and restarted the sql server process.
After restarting the service my server is not being detected in connection properties dialog window.
Why is this happening? What should I do now?