The request. form value is detected in the client (tbname = "'; -- <script language =" ja.
Note:The request verification process detects potentially dangerous client input values, and the processing of the request has been aborted. This value may indicate attempts to compromise application security, such as cross-site scripting attacks. You can disable request verification by setting validaterequest = false in the page instruction or configuration section. However, in this case, it is strongly recommended that the application explicitly check all input.
Exception details: system. web. httprequestvalidationexception: from the client (content = ".; -- <script language = "Ja... ") detected a potentially dangerous request. form value.
The solution to the above error is in the following code:
<% @ Page validaterequest = "false" Language = "C #" codebehind = "01input. aspx. cs" autoeventwireup = "false" inherits = "commandexample. login" %>
Add validaterequest = "false", or add the following to the Web. config configuration file:
<Pages validaterequest = "false" enablesessionstate = "true" enableviewstate = "true"> </pages>