Validation Not Firing

  • Thread starter Thread starter Eugene Banks
  • Start date Start date
E

Eugene Banks

I have an ASP.NET web form that includes validation controls. When I
run the app locally, the validation controls fire properly. However,
once I deploy the app to the testing web server, no validation controls
fire. This is the case whether I enable client side script, or if I
validate the form after posting back to the web server.

Has anyone ever experienced this behavior? Anyone know how to fix it?
 
Make sure that the WebValidation.js file has been deployed to the site as
well. It is supposed to be in the _vti_script folder of the root of the web
app.
 
It's there. However, if there's no client-side validation, the script
reference for that file is never included in the page response. I
experience the same behavior whether I've doing client- or server-side
validation.
 
Try by running following command,

aspnet_regiis -c

You can find "aspnet_regiis.exe " in framework folder.

Just my thoughts....

Hopes this may help.
 
Back
Top