troubleshooting Question

Parser Error Message: Unrecognized attribute 'enableEventValidation'.

Avatar of vasudharangapathy
vasudharangapathy asked on
Microsoft SQL Server.NET Programming
2 Comments1 Solution1671 ViewsLast Modified:
<system.web>
            <pages enableEventValidation="false" validateRequest="false"/>

I have the above node in the web.config file. It works fine on my local. However when this was deployed on another server I get the following error message. This is a ASP.NEt 2.0 C# application. Please help ASAP.
Parser Error Message: Unrecognized attribute 'enableEventValidation'.

Source Error:


Line 14:       </appSettings>
Line 15:       <system.web>
Line 16:             <pages enableEventValidation="false" validateRequest="false"/>
Line 17:             <!--  DYNAMIC DEBUG COMPILATION
Line 18:           Set compilation debug="true" to enable ASPX debugging.  Otherwise, setting
 
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros