L
Luc Bisson
We recently installed framework 1.1 on our development
machines. We use framework 1.0 to compile our .NET
application because we still use VS 2002.
On MSDN, it is stated that the ISAPI filter used upon
installing framework 1.1 is the ASP.NET_1.1.4322.573,
which is true. Since we installed the new framework we
recently had a problem with this using CMS. When dragging
a file in a placeholder and then saving the posting we
receive an error message such as this one:
System.Web.HttpRequestValidationException: A potentially
dangerous Request.Form value was detected from the client
(NavigationDroite1:HtmlPlaceholderControl3:AuthoringModeCon
trolsContainer:ActiveXAuthoringControl="<P><A
href="/NR/rdon...").
at System.Web.HttpRequest.ValidateString(String s,
String valueName, String collectionName)
at System.Web.HttpRequest.ValidateNameValueCollection
(NameValueCollection nvc, String collectionName)
at System.Web.HttpRequest.get_Form()
at System.Web.UI.Page.GetCollectionBasedOnMethod()
at System.Web.UI.Page.DeterminePostBackMode()
at System.Web.UI.Page.ProcessRequestMain
(),Exception=System.Web.HttpRequestValidationException: A
potentially dangerous Request.Form value was detected from
the client
(NavigationDroite1:HtmlPlaceholderControl3:AuthoringModeCon
trolsContainer:ActiveXAuthoringControl="<P><A
href="/NR/rdon...").
at System.Web.HttpRequest.ValidateString(String s,
String valueName, String collectionName)
at System.Web.HttpRequest.ValidateNameValueCollection
(NameValueCollection nvc, String collectionName)
at System.Web.HttpRequest.get_Form()
at System.Web.UI.Page.GetCollectionBasedOnMethod()
at System.Web.UI.Page.DeterminePostBackMode()
at System.Web.UI.Page.ProcessRequestMain()
08:50:13.311»238»Page Erreur.aspx, site informationnel La
Personnelle, EXCEPTION INTROUVABLE (GetLastError = NULL)
We didn't have this problem with framework 1.0 so I
decided to deactivate the ISAPI filter for .NET framework
1.1 on this site and on the server as well and install the
old ASAPI filter (ASP.NET_1.0.3705.288). To my surprise,
it is still the 1.1 framework who is executing the site
even after rebooting.
What are we doing wrong in rollbacking to the old ISAPI
filter and what could have happened in the error message
showned.
Thank's for help.
machines. We use framework 1.0 to compile our .NET
application because we still use VS 2002.
On MSDN, it is stated that the ISAPI filter used upon
installing framework 1.1 is the ASP.NET_1.1.4322.573,
which is true. Since we installed the new framework we
recently had a problem with this using CMS. When dragging
a file in a placeholder and then saving the posting we
receive an error message such as this one:
System.Web.HttpRequestValidationException: A potentially
dangerous Request.Form value was detected from the client
(NavigationDroite1:HtmlPlaceholderControl3:AuthoringModeCon
trolsContainer:ActiveXAuthoringControl="<P><A
href="/NR/rdon...").
at System.Web.HttpRequest.ValidateString(String s,
String valueName, String collectionName)
at System.Web.HttpRequest.ValidateNameValueCollection
(NameValueCollection nvc, String collectionName)
at System.Web.HttpRequest.get_Form()
at System.Web.UI.Page.GetCollectionBasedOnMethod()
at System.Web.UI.Page.DeterminePostBackMode()
at System.Web.UI.Page.ProcessRequestMain
(),Exception=System.Web.HttpRequestValidationException: A
potentially dangerous Request.Form value was detected from
the client
(NavigationDroite1:HtmlPlaceholderControl3:AuthoringModeCon
trolsContainer:ActiveXAuthoringControl="<P><A
href="/NR/rdon...").
at System.Web.HttpRequest.ValidateString(String s,
String valueName, String collectionName)
at System.Web.HttpRequest.ValidateNameValueCollection
(NameValueCollection nvc, String collectionName)
at System.Web.HttpRequest.get_Form()
at System.Web.UI.Page.GetCollectionBasedOnMethod()
at System.Web.UI.Page.DeterminePostBackMode()
at System.Web.UI.Page.ProcessRequestMain()
08:50:13.311»238»Page Erreur.aspx, site informationnel La
Personnelle, EXCEPTION INTROUVABLE (GetLastError = NULL)
We didn't have this problem with framework 1.0 so I
decided to deactivate the ISAPI filter for .NET framework
1.1 on this site and on the server as well and install the
old ASAPI filter (ASP.NET_1.0.3705.288). To my surprise,
it is still the 1.1 framework who is executing the site
even after rebooting.
What are we doing wrong in rollbacking to the old ISAPI
filter and what could have happened in the error message
showned.
Thank's for help.