When I run my Asp.net MVC application over IIS Express It works fine but when i switch it to Local IIS it gives me this error
System.Data.Entity.Core.EntityException: 'The underlying provider failed on Open.'
When I run my Asp.net MVC application over IIS Express It works fine but when i switch it to Local IIS it gives me this error
System.Data.Entity.Core.EntityException: 'The underlying provider failed on Open.'
Copyright © 2021 Jogjafile Inc.
So there may be you should check connectionstring and also please check below link
An exception of type 'System.Data.Entity.Core.EntityException' occurred in EntityFramework.SqlServer.dll but was not handled in user code