4
Answers

Timeout Exception in ASP.net

I have developed an web application and published the same on web server.
 
When i open the application, and keep it idle for some time say 5-10 minutes then try to click on some option. It throws an exception as given below. Can anybody please help me get out of this. 
 

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.

 
Thanks in advance.
-Satinder 
Answers (4)
0
Administrator

Administrator

Admin 2.3k 1.3m 22y
I have a specific problem as follows. See i have one button and i have written a function onclick of this button in my code behind form. ok. Which will be executed when that button is clicked. But that code is server side. Now I want to check if any of the checkbox in my datagrid is checked or not on click of this button? how to do this? Please help? Regards. kash
0
Administrator

Administrator

Admin 2.3k 1.3m 22y
Is there a specific question here? You can still have javascript error checking with asp.net validation controls by the way.