Clientside validation not working

  • Thread starter Thread starter Eddie Dodd
  • Start date Start date
E

Eddie Dodd

I have a scenario where a required field validator works fine on my
machine - it fails validation on the field and does not post back when I
click the submit button, showing my error message.

The same project on the test server works as expected.

But when I place the project into live, the control does not validate at the
client and posts back, only to get caught at the server.

Thanks

Eddie
 
The difference between live and the other 2 is live has a WINS address and
the others are virtual directories e.g. live = http://<sitename> and test
has http://<servername>/<sitename>
 
Do you have the scriptMaps installed on the live servers?

Try from the directory where you current version of .net is installed:
ASPNET_REGIIS -s

Hope this helps.
 
I think it is the client side scripts he would need:

aspnet_regiis -c

The script map options are for the server to determine how to handle a
request, like mapping .aspx to Aspnet_isapi.dll.
 
Thanks to both who responded.

Eddie

Scott Allen said:
I think it is the client side scripts he would need:

aspnet_regiis -c

The script map options are for the server to determine how to handle a
request, like mapping .aspx to Aspnet_isapi.dll.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top