View Full Version : Required Validator, etc

Oct 15th, 2005, 07:47 PM
I have 2 unrelated problems -

1. Required Validator doesn't fire on a server. I only set ErrorMessage and ControlToValidate properties and it works fine locally. But when I upload an app to the server the validators fire after postback. It happens only on 1 of my sites. Others seems to be working ok. What could be wrong?

2. After I modify my Asp.net projects I can't build them. It freezes on "Performing Main Compilation". I must close Visual Studio, then restart a project and re-build it. I can live with that but this is annoying.

Any ideas?

Oct 16th, 2005, 07:53 PM
well for the first problem:
there's attribute in the validator called "EnableClientScript" and by default its enabled, try to disable it OR in the wwwroot there's file saved for the validator, try to copy it 2 the server "C:\Inetpub\wwwroot\aspnet_client\system_web\1_1_4322"

for second problem:
i'm not sure but i guess you may need to install the framework again
you can check this site for more info