Error while connecting Local DB 2012 in Windows 7 PC using SSMS

  • I am trying to access LocalDB 2012 on my Windows 7 SP1 PC.

    I have successfully installed LocalDB and started the instance using the command line, and it is currently running.

    However, when I attempt to connect to this LocalDB instance using SQL Server Management Studio (SSMS), I receive the following error.

    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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (.Net SqlClient Data Provider)

    I have verified the following configurations, and they seem to be working correctly as mentioned in the link below:

    https://learn.microsoft.com/en-us/answers/questions/163193/provider-sql-network-interfaces-error-26-error-loc

    TCP port is enabled.

    SQL Server Configuration Manager is installed.

    SQL Browser service is running.

    Port 1433 is open.

    Also note that I have tried connecting using the following instance names, but without success:

    I have attempted to log in using Windows Authentication.

    (localdb)\v11.0
    (localdb)\mssqllocaldb

    Given all of this, what could be the cause of the issue. How can I solve this issue?

     

Viewing 0 posts

You must be logged in to reply to this topic. Login to reply