The underlying provider failed to open – Entity Framework Error

sharepointcafe Avatar

I found this error – “The underlying provider failed to open” while I was working on Entity framework project.


I searched this and found the solution.
Inner Exception says: Cannot open database “xxxx” requested by the login. The login failed.
Login failed for user ‘xxxxx’.

How to solve underlying Provider failed error?

Go to web.config and make changes in entity framework connection string
replace integrated security=True with User ID=xx;Password=xxxxx

Entity framework

Other Blogs on Entity framework-

Keep following – SharePointCafe.Net – A technical blog on SharePoint, ASP.Net, Cloud Computing

Tagged in :

sharepointcafe Avatar

Leave a Reply

Your email address will not be published. Required fields are marked *

RSS
YouTube
YouTube
Instagram