framework 1.1 and ASP.NET.

  • Thread starter Thread starter Luc Bisson
  • Start date Start date
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.
 
See answer to the newer version of this post..

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
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.
 
Hi Luc,

If you want to try out side-by-side execution, read the
following article on MSDN.

http://msdn.microsoft.com/library/default.asp?
url=/library/en-
us/cpguide/html/cpcontargetingnetframeworkversion.asp

This should help!
Thomas

DISCLAIMER: This posting is provided "AS IS" with no
warranties, and confers no rights.


-----Original Message-----
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:AuthoringModeCo
n
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
 
Oops, this only works if your app is an executable.

For Web apps, you need to run aspnet_regiis.exe in
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 folder.
Here are some references:

http://msdn.microsoft.com/library/default.asp?
url=/library/en-
us/cptools/html/cpgrfASPNETIISRegistrationToolAspnet_regii
sexe.asp

http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/cpguide/html/cpconSide-by-
SideSupportInASPNET.asp

Hope this helps,
Thomas

DISCLAIMER: This posting is provided "AS IS" with no
warranties, and confers no rights.
 
Back
Top