locked
Machine Key - Windows Server 2016, IIS10 RRS feed

  • Question

  • User556193381 posted

    I have 2 windows servers 2016 and also a balancer . 

    In the web.config of the MVC web application i have the following:

      <system.web>
        <machineKey     validationKey="40DC5A902FB71734AF1F624C0774......."
                    decryptionKey="A209E39A5ACC2FE......."
                    validation="SHA1"
                    decryption="AES" />
      </system.web>

    Once i publish my web application to both IIS, I can see the related info under the web application,"ASP.NET" section, "Machine Key".

    However, everytime a user is transferring to a different IIS, is getting the error about the cryptographic key. After a user cleans the cookies, it works fine.

    Any suggestion to resolve this issue?

    Thanks

    Thursday, November 21, 2019 10:58 AM

All replies

  • User-848649084 posted

    Hi,

    Could you share that detailed error message? what are your iis session state setting and application pool recycling setting? 

    Regards,

    Jalpa

    Monday, November 25, 2019 2:18 AM