Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Unable to validate data

Unable to validate data

Scheduled Pinned Locked Moved ASP.NET
combeta-testinghelpcode-review
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Muhammad Gouda
    wrote on last edited by
    #1

    I created a form with some Controls and Validators It works well on localhost but after publishing, it works somtimes and sometimes it gives the error "Unable to validate data." this is my page http://www.mersaal.com/FeedBack.aspx[^] Can anybody gess the source of this error I say again that the error appears sometimes

    Mohamed Gouda Egypt

    S A V 3 Replies Last reply
    0
    • M Muhammad Gouda

      I created a form with some Controls and Validators It works well on localhost but after publishing, it works somtimes and sometimes it gives the error "Unable to validate data." this is my page http://www.mersaal.com/FeedBack.aspx[^] Can anybody gess the source of this error I say again that the error appears sometimes

      Mohamed Gouda Egypt

      S Offline
      S Offline
      Sandeep Akhare
      wrote on last edited by
      #2

      Are you using AJAX and javascript at same time ?

      Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

      M 1 Reply Last reply
      0
      • M Muhammad Gouda

        I created a form with some Controls and Validators It works well on localhost but after publishing, it works somtimes and sometimes it gives the error "Unable to validate data." this is my page http://www.mersaal.com/FeedBack.aspx[^] Can anybody gess the source of this error I say again that the error appears sometimes

        Mohamed Gouda Egypt

        A Offline
        A Offline
        amargujrathi2006
        wrote on last edited by
        #3

        Hi, I think that problem might be occured at the time when user enter any special tag like chararcter in textboxes like '<' or '>'. So first you check with this possibility and write RequestValidate = "false" in Page directive. But this attribute affects security of your site. Regards, Amar

        M 1 Reply Last reply
        0
        • S Sandeep Akhare

          Are you using AJAX and javascript at same time ?

          Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

          M Offline
          M Offline
          Muhammad Gouda
          wrote on last edited by
          #4

          playing with bugs ) wrote:

          Are you using AJAX and javascript at same time ?

          I used none of them

          Mohamed Gouda Egypt

          1 Reply Last reply
          0
          • A amargujrathi2006

            Hi, I think that problem might be occured at the time when user enter any special tag like chararcter in textboxes like '<' or '>'. So first you check with this possibility and write RequestValidate = "false" in Page directive. But this attribute affects security of your site. Regards, Amar

            M Offline
            M Offline
            Muhammad Gouda
            wrote on last edited by
            #5

            amargujrathi2006 wrote:

            So first you check with this possibility

            First, thanks for the good hint ;) , the tag like characters generates an exception that I need to handle But the old problem still not solved :((

            Mohamed Gouda Egypt

            1 Reply Last reply
            0
            • M Muhammad Gouda

              I created a form with some Controls and Validators It works well on localhost but after publishing, it works somtimes and sometimes it gives the error "Unable to validate data." this is my page http://www.mersaal.com/FeedBack.aspx[^] Can anybody gess the source of this error I say again that the error appears sometimes

              Mohamed Gouda Egypt

              V Offline
              V Offline
              Venkatesh Mookkan
              wrote on last edited by
              #6

              Seems like problem in the ViewState. Have to tried searching in www.asp.net forums?? Click here[^]

              [Venkatesh Mookkan] My: Website | Yahoo Group | Blog Spot

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups