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

单位的业务系统非正常出错,检查后发现是:A potentially dangerous Request.Form value was detected from the client
在网上找到解决办法,如下。

 

错误提示:
A potentially dangerous Request.Form value was detected from the client

(txtTest="<b>").

由于在.net中,Request时出现有HTML或Javascript等字符串时,系统会认为是危

险性值。立马报错。

解决方案一:
在.aspx文件头中加入这句:
<%@ Page validateRequest="false" %>

解决方案二:
修改web.config文件:
<configuration>
<system.web>
    <pages validateRequest="false" />
</system.web>
</configuration>

因为validateRequest默认值为true。只要设为false即可。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
This paper introduces a new generator algorithm and computer program for 3-D numerical simulation of packing con"guration in a granular assemblies composed of ellipsoidal particles of di!erent a/b aspect ratios. Each ellipsoidal particle is approximated by the revolution of an ellipse, formed by four connected arcs, about the major axis passing through its centroid. The centroid co-ordinates, major axis direction and lengthsof the major and minoraxes are the essentialdata for the packinggenerationand associatedcontact detection. The domain to be "lled with particles can be a polyhedron of any shape. The packing program was coded based on a newly proposed scheme which obeys the no interpenetration kinematics of solid bodies. New contact detection algorithms for any two ellipsoids in the packing space were developed. Though simple, these algorithms e!ectively determine the contact condition and contact point without solving the simultaneous equations of the two ellipsoidal surfaces. Each particle's packing location, contact-point co-ordinates, and three-dimensional graphs can be created using the packing domain given boundaries, along with numbers, and geometrical information of particles to be generated. Simulation results show that this new algorithm provides an e!ective packing model as a required initial input for analysing the mechanics of granular material. This generation scheme potentially can explore the complex 3-D behaviours of material composed of discrete particles. Copyright ( 1999 John Wiley & Sons, Ltd.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值