✅ am unable to connect to local DBConnection failed: A connection was successfully established with

am unable to connect to local DB

Connection failed: A connection was successfully established with the server, but then an error occurred during the login process. (provider: Named Pipes Provider, error: 0 - No process is on the other end of the pipe.)



string connectionString = "Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=SportsStore;";

Co pilot asked to check
1.Authentication Mode: both windows and sql server is enabled 2.tcp /ip protocol and named pipes : both tcp/ip and named pipes are enabled
3.Check Services : sql server is running


am unable to clear this issue


can someone please help?
image.png
image.png
image.png
Was this page helpful?