470,594 Members | 1,559 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,594 developers. It's quick & easy.


Im new in my job never configure iis the problem is that I reinstalled visual studio 2003 becouse of debugger problem and the local web site was working fine
and now it doesent work it giving me this error :
Server Error in '/appname' Application.
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: The 'EnableEventValidation' attribute is not supported by the 'page' directive.

Source Error:
Line 4: <%@Register TagPrefix="Boo" TagName="b_Right" src="ascx/b_Right.ascx"%>Line 5: <%@Register TagPrefix="Scroller" TagName="scroller" src="../ascx/Scroller.ascx"%>Line 6: <%@ Page language="c#" EnableEventValidation="false" Codebehind="my_Main.aspx.cs" AutoEventWireup="false" Inherits="me.my_Main" LCID="1037" codePage="65001" %>Line 7: Line 8: <!-- #include file = "../Top.inc"-->

Source File: c:\inetpub\wwwroot\me\Boo\my_Main.aspx Line: 6
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300

So it deleted the 'EnableEventValidation=false' and it did worked but I donít want to change the code I would like to change the iis configuration

So my Q is how to change the iis without changing the code ?

Dec 10 '07 #1
1 7891
4,871 Expert 4TB
I was going to say try using it in the web.config where it would normally go, but I believe this is .net 2.0 so it may not work wherever you put it.
Dec 11 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

By using this site, you agree to our Privacy Policy and Terms of Use.