2010-06-02 54 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" ..."). 

回答