There is a duplicate section defined in web.config error

Programming, error messages and sample code > ASP.NET
If you are getting errors saying "There is a duplicate section defined", the reason this fails is because these section definitions are already included in the root web.config on IIS server. To fix this error ,you can :

1)   Change .net version and mode to match the ones that you currently have in your local development environment.  To change .Net version , please go to your Hosting Control Panel -> IIS Manager -> ASP.NET manager.


2)  Remove all of the duplicate sections from your web.config according to the error.