A potentially dangerous request.form value was detected from the client error in Asp.net Web forms and MVC

I have faced A potentially dangerous request.form value was detected from the client error many times while working with CkEditor or by entering special character in Asp.net web forms and Asp.net MVC. Here I am explaining complete solutions step by step and also reason for this error.