PrepAway - Latest Free Exam Questions & Answers

You need to fix the problem

You are troubleshooting an ASP.NET Web application.
System administrators have recently expanded your web farm from one to two servers.
Users are periodically reporting an error message about invalid view state.
You need to fix the problem.
What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Set viewStateEncryptionMode to Auto in web.configon both servers.

B.
Set the machineKey in machine.config to the same value on both servers.

C.
Change the session state mode to SQL Server on both servers and ensure both servers use the same
connection string.

D.
Override the SavePageStateToPersistenceMedium andLoadPageStateFromPersistenceMedium methods
in the page base class to serialize the view state to a local web server file.


Leave a Reply