I\'m working with EF5 in a MVC 4 aspnet website. Locally, everything works just fine, but when I publish it to the IIS and try to enter, I get the error
I think the problem is from this line:
I don't know why you are using this approach and how it works...
Maybe it's better to try to get it out from web.config and go another way