Since the error message mentions a duplicate record, check the web.config for identical definitions:
- Enable Failed Request Tracing
- Add a rule
- If the issue occurs, check web.config file. Are there identical Failed Request Tracing rules?
If there are no duplicates, check the rules in tracing module at all application, site, and server levels in IIS Manager. 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="*" />
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.