the data protection folder used to store keys probably does not allow access to the new account:
[https://learn.microsoft.com/en-us/aspnet/core/security/data-protection/configuration/overview?view=aspnetcore-7.0
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I am currently in the process of changing the user running the application pool for my IIS .NET 6 website. I am switching it from a domain user to another domain user with identical rights and group memberships.
Although my website appears to be functioning correctly, I have noticed that it occasionally throws errors such as: "An exception occurred while processing the key element" and "Error unprotecting the session cookie." These errors specifically seem to occur when returning visitors access the website, but not when new visitors access it. Additionally, the user does not seem to experience any issues even though the errors are being thrown.
I suspect that this issue may be related to changing the identity of the application pool, but I am unsure of the specific cause. Does anyone have any ideas or suggestions as to what might be causing these errors?
the data protection folder used to store keys probably does not allow access to the new account:
[https://learn.microsoft.com/en-us/aspnet/core/security/data-protection/configuration/overview?view=aspnetcore-7.0