Tuesday, October 19, 2010

A potentially dangerous Request.Form value was detected from the client

In testing RDWeb access to the Windows Remote Desktop Services system, I had a user who could not load the page with the desktop pools icon.

I found the following message on the web server:
A potentially dangerous Request.Form value was detected from the client


Solution:
SOLUTION
1. Explore to the directory that WebAdmin is installed.
2. Open web.config in NotePad.
3. Add the line: ' inside the ' section as shown below.

[system.web]
'[pages validateRequest="false" /]'


4. Save the file and exit.
5. Try to access WebAdmin again.