创建用户向导 [英] Create user wizard

查看:71
本文介绍了创建用户向导的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用asp.net-中的创建用户向导创建用户时出现以下错误-
从客户端检测到潜在危险的Request.Form值(CreateUserWizard1 $ CreateUserStepContainer $ Password =<代理usesystemdefa =").< br mode ="hold ="/>< br mode =>

Following error occur when i create user using create user wizard in asp.net-
A potentially dangerous Request.Form value was detected from the client (CreateUserWizard1$CreateUserStepContainer$Password="<proxy usesystemdefa=").<br mode=" hold=" /><br mode=">

推荐答案

CreateUserStepContainer
CreateUserStepContainer


Password =< proxy usesystemdefa =").< br mode ="hold ="/> < br mode =>
Password="<proxy usesystemdefa=").<br mode=" hold=" /><br mode=">


.NET框架引发错误,因为它在输入的文本中检测到一些类似于HTML语句的内容.文本不需要包含有效的HTML,只需包含带有尖括号和右尖括号(< ...>")的任何内容.

解决方案:
validateRequest="false"放在Page指令或Web.Config文件中. (详细信息 ["/文件夹"应用程序中的服务器错误.... [
The .NET framework is throwing up an error because it detected something in the entered text which looks like an HTML statement. The text doesn''t need to contain valid HTML, just anything with opening and closing angled brackets ("<...>").

Resolution:
Put validateRequest="false" in your Page directive or Web.Config file. (Ex Details[^])

Read all about it here:
Server Error in ''/folder'' Application....[^]


这篇关于创建用户向导的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆