• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Plesk 9.53

M

mmichael

Guest
After upgrading to plesk 9.53 we are getting the following error with .Net sites - nothing else has been changed on the server:

Server Error in '/[appname]' Application.
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

OR

Server Error in '/[appname]' Application.
Object reference not set to an instance of an object.


Please advise of how we can fix this - what does Plesk 9.53 change in relation to .Net?

thank you
 
I can say that it is not related to Plesk itself. It seems to me that application saves view state data to running process w3wp.exe and can not retrieve it when the process shuts down. The thing is by default application pool in IIS is created with parameter to shut down after 5 minutes of idle. The problem can be easily reproduced if you restart application pool in IIS. There are two way to get it working:
1. Disable "Idle timeout" for application pool in IIS
2. Change view state storage. This part is up to application developers.
 
Dear Igor,

It is not issue with IIS appilication pool. All domains were working fine before plesk 9.5.3 update and after the 9.5.3 upgarde all the .NET application which are using login process started giving an error like "Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster."

So if that is issue with IIS application then why it was not an issue with plesk 9.5.2??

and the issue get fixed if you apply a dedicated pool to the application but it is not working for plesk(default)(2.0)(pool)

But before upgrade it was working for plesk(default)(2.0)(pool) too
 
Back
Top