I am trying to run my asp.net app.When I run this I am getting this error. I am using Local iis Web server. Could somebody please advice me.

1

There are 1 best solutions below

0
samwu On

Since the error message mentions a duplicate record, check the web.config for identical definitions.

If there are no duplicates, check the rules in tracing module at all application, site, and server levels in IIS express, make sure there are no conflicting rules.

If the issue still persists, add the line below into web.config. It will remove all existing rules to prevent duplication.

<remove path="*" />