Moti Mashiah
asked on
asp.net authentication.
Hi Guys,
I have asp.net application which published on a Saas environment. My customers are connecting to this application login page without any issue.
Recently I have one customer that complain that he can't login to the application and he is getting this error (see attachment.)
In my understanding its related to the viewstate and key machine, but still I can't find the real cause of this issue. Again it happens just for one customer.
Thank you.
I have asp.net application which published on a Saas environment. My customers are connecting to this application login page without any issue.
Recently I have one customer that complain that he can't login to the application and he is getting this error (see attachment.)
In my understanding its related to the viewstate and key machine, but still I can't find the real cause of this issue. Again it happens just for one customer.
Thank you.
ASKER
Thank you for your answer.
I read all these articles regarding this issue, but still I missed understood how the connection works between the client to the server.
In my understanding the client send request (MAC) and the server generate for him a machine key which stored in his registry.
now what happens?
Please, can you explain the next part?
I read all these articles regarding this issue, but still I missed understood how the connection works between the client to the server.
In my understanding the client send request (MAC) and the server generate for him a machine key which stored in his registry.
now what happens?
Please, can you explain the next part?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi MIsha,
In my case I don't have a farm.
I have just one individual server, and still it happens to me.
In my case I don't have a farm.
I have just one individual server, and still it happens to me.
ASKER
Thank you MIsha that was very helpful.
https://support.microsoft.com/en-us/help/2915218/resolving-view-state-message-authentication-code-mac-errors
The second you can add this code in your web.config file.
Open in new window
It may be can help you.The third, you can use machineKey Generators from this link and add it to your web.config file. Also you can read about this in the first article.
https://www.codeproject.com/Articles/16645/ASP-NET-machineKey-Generator
P.S.
File, which you attached, is file with very small permission. It is very difficault to read text from it.