Entity Framework: Cannot register assembly provider in Web.Config
I get this error whenever I try to update or save my entity data model:
ERROR: Unable to register the build provider in Web.Config because of the following exception: 'Object reference not set to an instance of an object.'.
Then when I try to run the application I get:
The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid.
How do I fix this so that it can write to the Web.config. I went through it with a fine comb, but I came up with nothing that is broken in XML.
+2
source to share
4 answers