By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,694 Members | 1,847 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,694 IT Pros & Developers. It's quick & easy.

CANT RUN application after adding REQUIRED FIELD VALIDATOR

P: n/a
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_43 22\WebUIValidation.js. But
I couldnt find the file 'aspnet_client-regiis' anywhere on my hard drive!

How to get over this problem???

--
pmud
Nov 22 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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/de..._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
pmud wrote:
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_43 22\WebUIValidation.js. But
I couldnt find the file 'aspnet_client-regiis' anywhere on my hard drive!

How to get over this problem???

Nov 22 '05 #2

P: n/a
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/de..._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
pmud wrote:
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_43 22\WebUIValidation.js. But
I couldnt find the file 'aspnet_client-regiis' anywhere on my hard drive!

How to get over this problem???

Nov 22 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.