I have tried to make a connection to a local install of SQL Server 2014 and get this
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)
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim conStr As String = "Server=localhost;Database=Marco;Trusted_Connection=True;"
Dim conn As New SqlConnection(conStr)
I am having a problem with entity framework but though to go back to basics just to fault find.