Clientside validation not working

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
 
E

Eddie Dodd

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>
 
D

Donald E. Hurley Jr.

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.
 
S

Scott Allen

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.
 
E

Eddie Dodd

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

Members online

Forum statistics

Threads
473,731
Messages
2,569,432
Members
44,832
Latest member
GlennSmall

Latest Threads

Top