If you are getting these errors "There is a duplicate xxx.xxx.xxx section defined", the reason this fails is that these section definitions are already included in the root web.config on the IIS server.
To fix this error, you remove all of the duplicate sections from your web.config according to the error to fox this issue