The complete warning is Validation (): Element ‘html’ occurs too few times
This is for a JSON view, which you might guess returns a JSON result and hence no html.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
ASP.NET MVC has the ability to return JSON data as a proper json response. It seems you’re using HTTP response which expects HTML to exist in it.
Here is an example of using JSON.NET to build a JSON ActionResult.