CANT RUN application after adding REQUIRED FIELD VALIDATOR

G

Guest

In my ASP.Net application I added a required field validator.Before adding
this , my application was running fine but after ading this, when i tried to
view the .aspx in browser, i got an alert msg saying::

Unable to find
script library'/'aspnet_client\system_web\1_1_4322/WebUIValidation.js'. Try
replacing this file manually or reinstall by running 'aspnet_client-regiis'.

I found the file 'WebUIValidation.js' in the location
C:\Inetpub\wwwroot\aspnet_client\system_web\1_1_4322\WebUIValidation.js. But
I couldnt find the file 'aspnet_client-regiis' anywhere on my hard drive!

How to get over this problem???
 
M

Michel van den Berg

The message your are getting is because of the framework is missing a
javascript file to do validation (the WebUIValidation.js file). After
this message, it gives two possible solutions to this problem:
1. Try replacing this file manually.
2. Try reinstall by running 'aspnet_client-regiis'.

The second solution installs all needed files on the right location on
the server you are executing this program on. This program is located in
C:\WINDOWS\Microsoft.NET\Framework\[framework version]\. For more info
about this tool see:
http://msdn.microsoft.com/library/d...ASPNETIISRegistrationToolAspnet_regiisexe.asp

Doing this manually (solution 1) will solve this problem aswell. Just
copy the 'aspnet_client' dir with subdirs (located default at
C:\InetPub\wwwroot) to the wwwroot of your server where you got this
error. As you can see the missing javascript file is inside one of it's
subdirs.

Michel van den Berg
 

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

Top