Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A potentially dangerous Request.Path
Message
From
01/09/2011 12:53:24
 
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01522446
Message ID:
01522505
Views:
27
>I agree that it sounds as if you are referencing the correct class/assembly in web.config.
>But I don't know why the redirect didn't work (or, come to that, why the default validator was called)
>The implication is that although properly referenced your class is not in fact being used.
>Are you sure the page in question is within the relevant web.config scope?
>Is your IsValidRequestString method calling the base class implementation ?
>First step is to establish for sure whether your method is being called (either via debug or event logging?)
>FWIW I just tested using the sample class I posted earlier and that worked as expected so the principle is correct.....

When I change the Web.Config, I can see that it takes a little bit longer for that link, the one I use for testing, to come up. So, this is an indication that it uses the right Web.Config file.

As for calling the base class implementation, isn't the inherit the line for that? This is pretty much what you had in your example.

The only think I could think of is that is being run locally. So, my URL is something like http://localhost/LevelExtreme20/&.

Another think I could think of is that the main dll to run the Web site is LevelExtreme.dll and Framework.dll is referenced in it.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform