473,473 Members | 2,320 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Unrecognized attribute 'validateRequest'

I have a PC that has windows 2000 Server ,Microsoft .Net Framework 1.0
installed
First time I tried to create a web application and debug it i had the error
"unable to debub ..." so i changed the username and Password attributes in
"processModel" section into mine , now I am able to debug but the page (even
if the page is empty ! ) alawys has this error
Unrecognized attribute 'validateRequest'
Source Error:
Line 10: <authentication mode="Windows"/>
Line 11: <identity impersonate="true"/>
Line 12: <pages buffer="true" enableSessionState="false"
enableViewState="false" validateRequest="false"/>
Line 13: <sessionState mode="Off"/>
Line 14: </system.web>

Source File: c:\inetpub\wwwroot\web.config Line: 12

would you please help ?
Thanks
Nov 18 '05 #1
3 2103
this attribute was introduced with ver 1.1 of .NET Frmwk, so with 1.0 it
causes error

just remove this attribute when you run you application on 1.0 runtime, or
switch to 1.1

HTH

Konrad
"Peter Seif" <Peter Se**@discussions.microsoft.com> wrote in message
news:E5**********************************@microsof t.com...
I have a PC that has windows 2000 Server ,Microsoft .Net Framework 1.0
installed
First time I tried to create a web application and debug it i had the error "unable to debub ..." so i changed the username and Password attributes in
"processModel" section into mine , now I am able to debug but the page (even if the page is empty ! ) alawys has this error
Unrecognized attribute 'validateRequest'
Source Error:
Line 10: <authentication mode="Windows"/>
Line 11: <identity impersonate="true"/>
Line 12: <pages buffer="true" enableSessionState="false"
enableViewState="false" validateRequest="false"/>
Line 13: <sessionState mode="Off"/>
Line 14: </system.web>

Source File: c:\inetpub\wwwroot\web.config Line: 12

would you please help ?
Thanks

Nov 18 '05 #2
Hi Konrad,Thanks for replying but what do you mean by "just remove this
attribute when you run you application on 1.0 runtime" ?
I am not adding this attribute in the web.config file , and it is not there
so how can I remove it ?
Thanks again for your help

"Konrad Rotuski" wrote:
this attribute was introduced with ver 1.1 of .NET Frmwk, so with 1.0 it
causes error

just remove this attribute when you run you application on 1.0 runtime, or
switch to 1.1

HTH

Konrad
"Peter Seif" <Peter Se**@discussions.microsoft.com> wrote in message
news:E5**********************************@microsof t.com...
I have a PC that has windows 2000 Server ,Microsoft .Net Framework 1.0
installed
First time I tried to create a web application and debug it i had the

error
"unable to debub ..." so i changed the username and Password attributes in
"processModel" section into mine , now I am able to debug but the page

(even
if the page is empty ! ) alawys has this error
Unrecognized attribute 'validateRequest'
Source Error:
Line 10: <authentication mode="Windows"/>
Line 11: <identity impersonate="true"/>
Line 12: <pages buffer="true" enableSessionState="false"
enableViewState="false" validateRequest="false"/>
Line 13: <sessionState mode="Off"/>
Line 14: </system.web>

Source File: c:\inetpub\wwwroot\web.config Line: 12

would you please help ?
Thanks


Nov 18 '05 #3
remove validateRequest attribute from c:\inetpub\wwwroot\web.config (line
12)

how can it be that its not there when IIS says its there and shows its
contents .. ?

maybe some other IIS configuration issue ..

Konrad

"Peter Seif" <Pe*******@discussions.microsoft.com> wrote in message
news:81**********************************@microsof t.com...
Hi Konrad,Thanks for replying but what do you mean by "just remove this
attribute when you run you application on 1.0 runtime" ?
I am not adding this attribute in the web.config file , and it is not there so how can I remove it ?
Thanks again for your help

"Konrad Rotuski" wrote:
this attribute was introduced with ver 1.1 of .NET Frmwk, so with 1.0 it
causes error

just remove this attribute when you run you application on 1.0 runtime, or switch to 1.1

HTH

Konrad
"Peter Seif" <Peter Se**@discussions.microsoft.com> wrote in message
news:E5**********************************@microsof t.com...
I have a PC that has windows 2000 Server ,Microsoft .Net Framework 1.0
installed
First time I tried to create a web application and debug it i had the

error
"unable to debub ..." so i changed the username and Password attributes in "processModel" section into mine , now I am able to debug but the page

(even
if the page is empty ! ) alawys has this error
Unrecognized attribute 'validateRequest'
Source Error:
Line 10: <authentication mode="Windows"/>
Line 11: <identity impersonate="true"/>
Line 12: <pages buffer="true" enableSessionState="false"
enableViewState="false" validateRequest="false"/>
Line 13: <sessionState mode="Off"/>
Line 14: </system.web>

Source File: c:\inetpub\wwwroot\web.config Line: 12

would you please help ?
Thanks


Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Shaun Dore | last post by:
Hi, Is there a way to programmatically set the validateRequest attribute of a Page? What I would like to do is check the version of the framework and add validateRequest = False if I'm running...
3
by: elizabeth | last post by:
Can any one tell me why I am getting the error " Unrecognized attribute 'username'." in this web.config...... <identity impersonate="true" username="test" password="test" /> I can get this to...
8
by: Max Metral | last post by:
Ok, I have a global page class derived from System.Web.UI.Page, let's call it BasePage. I have another class derived from that called MemberPage. It checks the Form collection if it's a post for...
7
by: kai | last post by:
Hi, I have XP Pro and VS2005 final version. I have been running some examples from a MS Press books (ASP.NET 2.0 Core Reference and), I run into this problems: Parser Error Message:...
2
by: NormD | last post by:
Hi, I use DataDynamics Active Reports instead of Crystal. When I add an Active Report object to my web site, it inserts the following in the web.config file. <buildProviders> <add...
0
by: toddc612 | last post by:
Hi guys. I'm new to Visual Studio development, so please forgive me ahead of time for my lack of knowledge. I've been given some Visual Studio code that I need to get working on my local...
2
by: Johnny | last post by:
I created a AddIn for a 3th party COM Application (AutoCAD). In my AddIn I am using the January 2005 release of Enterprise Library. When the .NET Framework 2.0 is installed on a machine I receive...
2
by: \A_Michigan_User\ | last post by:
*WITHOUT* using: ValidateRequest="False" for the whole page (or my whole site).... How would I trap/detect that a textBox contains some illegal characters? (I'm using asp.net v1.1 and vb.net)...
2
by: =?Utf-8?B?SE1NeWhyZQ==?= | last post by:
ERROR: ServiceHosting is not a valid attribute of element 'ServiceHost' AND Parser Error Message: The unrecognized attribute 'ServiceHosting' is specified. CODE: <%@ ServiceHost Language="C#"...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.