2010-06-02 53 views
-2

在我的应用程序中,我试图将嵌入式(视频)插入数据库,但它给出了这样的错误。我正在使用存储过程进行插入。在数据库中插入嵌入代码?

Server Error in '/embeded' Application. 
A potentially dangerous Request.Form value was detected from the client (txtEmbed=" <object width="150" ..."). 
Description: Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack. You can disable request validation by setting validateRequest=false in the Page directive or in the configuration section. However, it is strongly recommended that your application explicitly check all inputs in this case. 

Exception Details: System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client (txtEmbed=" <object width="150" ..."). 

回答