{"action":"created","issue":{"url":"https://api.github.com/repos/npgsql/npgsql/issues/603","labels_url":"https://api.github.com/repos/npgsql/npgsql/issues/603/labels{/name}","comments_url":"https://api.github.com/repos/npgsql/npgsql/issues/603/comments","events_url":"https://api.github.com/repos/npgsql/npgsql/issues/603/events","html_url":"https://github.com/npgsql/npgsql/issues/603","id":75586043,"number":603,"title":"The Entity Framework provider type 'Npgsql.NpgsqlServices, Npgsql.EntityFramework' registered in the application config file for the ADO.NET provider with invariant name 'Npgsql' could not be loaded","user":{"login":"Salwaa","id":6245314,"avatar_url":"https://avatars.githubusercontent.com/u/6245314?v=3","gravatar_id":"","url":"https://api.github.com/users/Salwaa","html_url":"https://github.com/Salwaa","followers_url":"https://api.github.com/users/Salwaa/followers","following_url":"https://api.github.com/users/Salwaa/following{/other_user}","gists_url":"https://api.github.com/users/Salwaa/gists{/gist_id}","starred_url":"https://api.github.com/users/Salwaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Salwaa/subscriptions","organizations_url":"https://api.github.com/users/Salwaa/orgs","repos_url":"https://api.github.com/users/Salwaa/repos","events_url":"https://api.github.com/users/Salwaa/events{/privacy}","received_events_url":"https://api.github.com/users/Salwaa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-12T12:29:56Z","updated_at":"2015-05-12T15:04:49Z","closed_at":null,"body":"I installed EF 6.1.3, Npgsql 2.2.5, and Npgsql.EntityFramework using Nuget in my ASP.NET MVC 3 Project (VS 2010). I also registered Npgsql to GAC + added Npgsql provider to machine.config, etc. All this, by following Kenjiuno's tutorial (Many thanks to him btw!).\r\nNow when trying to add a controller and after choosing  : \"Controller with read/write actions and views, using Entity Framework\" template, I get the following error :\r\n\r\nUnable to retrieve metadata for 'MvcApplication.Models.centredevote'.\r\nThe Entity Framework provider type 'Npgsql.NpgsqlServices, Npgsql.EntityFramework' registered in the application config file for the ADO.NET provider with invariant name 'Npgsql' could not be loaded.\r\nMake sure that the assembly-quallified name is used and that the assembly is available to the running application.\r\nSee http://go.microsoft.com/fwlink/?LinkId=260882 for more information.\r\n\r\nI searched the error and came across a post stating the same issue.. The solution mentioned was to add Npgsql.EntityFramework using Nuget, but I have already Npgsql.EntityFramework installed.. The dll files are present in the references section in visual studio too.. So I really don't know what's wrong..\r\nIn my web.config file I have this line in the provider's tag, under the \"entityFramework\" tag :\r\n\r\nprovider invariantName=\"Npgsql\" type=\"Npgsql.NpgsqlServices, Npgsql.EntityFramework\"\r\n"},"comment":{"url":"https://api.github.com/repos/npgsql/npgsql/issues/comments/101311159","html_url":"https://github.com/npgsql/npgsql/issues/603#issuecomment-101311159","issue_url":"https://api.github.com/repos/npgsql/npgsql/issues/603","id":101311159,"user":{"login":"Salwaa","id":6245314,"avatar_url":"https://avatars.githubusercontent.com/u/6245314?v=3","gravatar_id":"","url":"https://api.github.com/users/Salwaa","html_url":"https://github.com/Salwaa","followers_url":"https://api.github.com/users/Salwaa/followers","following_url":"https://api.github.com/users/Salwaa/following{/other_user}","gists_url":"https://api.github.com/users/Salwaa/gists{/gist_id}","starred_url":"https://api.github.com/users/Salwaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Salwaa/subscriptions","organizations_url":"https://api.github.com/users/Salwaa/orgs","repos_url":"https://api.github.com/users/Salwaa/repos","events_url":"https://api.github.com/users/Salwaa/events{/privacy}","received_events_url":"https://api.github.com/users/Salwaa/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T15:04:49Z","updated_at":"2015-05-12T15:04:49Z","body":"I have added Mono.Security.dll as well to GAC.. Still getting the same error!\r\nHere's a screenshot of the command line : \r\n![screenshot](https://cloud.githubusercontent.com/assets/6245314/7590469/98c405e4-f8c0-11e4-9606-cf3e3f5c2ba6.PNG)\r\n"}}