While Login With The Local User, "An error has occurred" Is Encountered

While login with the local user, "An error has occurred" is encountered. How to handle?

Issue Description: Method is only supported if the username parameter matches the username in the current Windows Identity. Check the event viewer logs ensure if error “Method is only supported if the username parameter matches the username in the current Windows Identity” is observed.

  1. Step 1
  • Verify the below Authorization Rules.


  • Select Authorization rules

  • If Any extra rules remove the same.

  1. Step 2
  • Open the web.config file
  • Compare the same version of the web.config file with the issue web.config file
  • Verify the below and commented if below configuration is available.

<configuration>

<system.web>

<!-- <authorization>

<Allow users="domain name"/>

</authorization> à

</system.web>

</configuration>