So I came across this error message recently in asp.net

Web.config – The entry ‘ ‘ has already been added error

The most likely reason for this error is that a duplicate web.config
file exists in the parent level of the web app that gives you this error.

If however that does not seem to be the problem, one thing that worked for me was to ensure that the current application and its "root" application have different app pools.