Mon. May 25th, 2020

Samir Daoudi's Technical Blog

SharePoint, Office 365, C#, .Net, SQL Server News, Tips, Ebooks, Events, Webinars ….etc

A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 – The handle is invalid.

During the development of solutions or the deployment using Visual studio, you might face the following error when using Entity Framework to connect to a SQL Server instance A connection was successfully established with the server, but then an error occurred during the login process (provider: Shared Memory Provider, error: 0 - The handle is invalid.

During the development of solutions or the deployment using Visual studio, you might face the following error when using Entity Framework to connect to a SQL Server instance

A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - The handle is invalid.

In order to resolve this issue, follow these steps

1) Clean your VS.Net Solution

2) Rebuild Project.

3) Reset IIS

4) Run the project again.

Leave a comment

Copyright © All rights reserved. | Newsphere by AF themes.
Show Buttons
Hide Buttons

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.