In ASP.Net when I see the error message "The entry 'x' has already been entered" I think that means a name (in this case 'x') is defined twice in Web.Config.
Is that a reasonable summary of what causes that error or are there other ways it could be generated ?
The 'x' in question doesn't appear twice in the web.config - any ideas of what else could be causing this error ?
If you have nested web.config files, the same connection string entry in both web.config files can cause this error. You can fix this by adding a <clear/>
tag in the nested web.config file like so:
<connectionStrings>
<clear/>
<add name="MyEntities" connectionString="blah,blah,etc." />
</connectionStrings>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With