"WebUIValidation.js" NOT FOUND
-
Hi all, I'm writing an ASP.NET project and in one of its form,i have used an "RequiredFieldValidator " component But when i want to run project from visualStdio-IDE and while page is being loaded , i receive the following error: --------------------------- Microsoft Internet Explorer --------------------------- Unable to find script library '/aspnet_client/system_web/1_1_4322/WebUIValidation.js'. Try placing this file manually, or reinstall by running 'aspnet_regiis -c'. --------------------------- OK --------------------------- But i Heve checked the above path and the mentioned file : "WebUIValidation.js" exist in that directory. Also according to this error i ran "aspnet_regiis -c" but .....i receive this error again. Please Help me. Thanks a lot.
-
Hi all, I'm writing an ASP.NET project and in one of its form,i have used an "RequiredFieldValidator " component But when i want to run project from visualStdio-IDE and while page is being loaded , i receive the following error: --------------------------- Microsoft Internet Explorer --------------------------- Unable to find script library '/aspnet_client/system_web/1_1_4322/WebUIValidation.js'. Try placing this file manually, or reinstall by running 'aspnet_regiis -c'. --------------------------- OK --------------------------- But i Heve checked the above path and the mentioned file : "WebUIValidation.js" exist in that directory. Also according to this error i ran "aspnet_regiis -c" but .....i receive this error again. Please Help me. Thanks a lot.
Make sure that the "aspnet_client" directory exists in the root of the website, not just inside the virtual directory.... you may think it is where it is supposed to be, but if you go into the "View Source" of the page, look for "WebUIValidation.js" (it'll be in a tag like: ) if your site is "http://www.domain.com", then try to point your browser at "http://www.domain.com/aspnet\_client/system\_web/1\_1\_4322/WebUIValidation.js" and see if indeed the file is there... my $$ is on that it ain't If you make it idiot-proof, they'll make a better idiot