changing host server framework 2.0 from framework
Hello friends,
I have developed a website in .net framework 1.1. I have recently changed the server which is having a framework 2.0. The problem with my site is that i am getting a error of
Server Error in '/' Application.
Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
on one of post event for the click event of button. The project was working fine when using 1.1 framework but after changing to server framework to 2.0 i am getting this error. I have read the solution for this is to make EnableEventValidation = "false" but since it is a new feature in 2.0 it can't be changed for framework 1.1. My project has been built in 1.1 but server framework is 2.0. So is there any solution for this?
Kindly give some solution if you have,
thanks
vijesh
|