System.Data.SqlClient.SqlException: 'A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)'
Loading
System.Data.SqlClient.SqlException: 'A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)'
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jaimin ShethiyaPosted Apr 16, 2024, 7:20 AM
Hello Naveen,
Try below conection string
Thanks
Mudzakkir TohaPosted Mar 23, 2024, 9:33 PM
That is already defined here with full of solutions.
https://stackoverflow.com/questions/34430550/a-connection-was-successfully-established-with-the-server-but-then-an-error-occ
Sometime, connection string must use:
Trusted_Connection=true;TrustServerCertificate=True
Or some specific configurations. You can try one of it until you success using get your current environment.
Tuhin PaulPosted Mar 14, 2024, 8:04 PM
Tuhin PaulPosted Mar 14, 2024, 8:02 PM
Tuhin PaulPosted Mar 14, 2024, 8:02 PM
The error message
System.Data.SqlClient.SqlException: A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)
indicates an issue during the login process after your application successfully connected to the SQL Server instance.
Jignesh KumarPosted Mar 14, 2024, 7:50 AM
please check your connectionstring,
Vishal YelvePosted Mar 14, 2024, 6:36 AM
Check if your connection string has Trusted_Connection=True added.
also, check below Video
https://www.youtube.com/watch?v=J3ERo-M0BA4