Windows authentication with impersonation false is not working in windows 2008 server

Anjaly 1 Reputation point
2021-04-09T09:47:56.457+00:00

Hi,

My application is hosted in two different Windows 2008 servers (which are Quality and Production).

In the Quality server, "Windows authentication and impersonation false" is working fine.
But in Production server "Windows authentication and impersonation false" is throwing error.

Why do the same application hosted in two different Windows 2008 servers behave differently with "Windows authentication and impersonation false" configurations?

Kindly help me.

Thanks
Anjaly V B

Windows development | Internet Information Services
Windows for business | Windows Server | User experience | Other
{count} votes

1 answer

Sort by: Most helpful
  1. JiayaoZhu 3,926 Reputation points
    2021-04-12T09:35:35.933+00:00

    Hi,

    Thank you for your posting!

    Based on your descriptions, you can try to do it in the web.config file:

    <identity impersonate="false"/>

    In addition, since I have little information on how you configurated and how you failed in this configuration, you can refer your own practice to this article:

    https://learn.microsoft.com/en-us/aspnet/core/security/authentication/windowsauth?view=aspnetcore-5.0&tabs=visual-studio#impersonation

    Thank you for your support!

    Best regards
    Joan

    --------------------------------------------------------------------------------------------------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.