473,503 Members | 1,877 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CANT RUN application after adding REQUIRED FIELD VALIDATOR

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
2 2143
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
376
by: pmud | last post by:
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...
2
683
by: Martin | last post by:
Dear Group It says in MSDN that a field can be associated with more than one validators but can one validator be associated with more than one field? Or do I need a validator for each field? How...
2
953
by: Viktor Popov | last post by:
Hi, I use ASP.NET/C#/MS SQL and I'm trying to do the following but I find it very hard! I have Stored Procedure which saves data from the Application into DataBase. One of its parameters is...
2
2444
by: z. f. | last post by:
Hi, i have a field with required field validator. on the client side it's working. when i submit without the required field the page gets back because of not valid, but the message from the...
1
410
by: Brian Shannon | last post by:
I built a composit control consisting of a calandar control and a text box and an image of a calandar. Depending on what page I place this control the Date field needs to be required. If the...
1
2988
by: Sam Collett | last post by:
Is there a way of having a required field validator check to see if at least one of a set of controls has information in it? I'm sure this can somehow be done using a custom validator, but would...
9
2207
by: AFN | last post by:
I was just dropped into someone else's code (isn't that always so fun?). I can't figure out why a custom validation control's server event function is executing. There is nothing (that I see)...
3
1575
by: Skeptical | last post by:
Hello, I have a form and two buttons on it. Button1 submits the data to a database and RequiredFieldValidator is used to make sure all the required fields are filled up, the second button has a...
3
2700
by: Kivak Wolf | last post by:
Hi, Could someone give me a quick review of how to use the required field Validator? I'm completely at a loss, and MSDN does not help one bit. =/ Basically all I want done is to make sure that...
0
1745
by: nimeshdotnet | last post by:
Hi All, I have a textbox whose readonly property is set to true. This textbox is also guarded by a required field validator. What i m doing that I have a calendar control whose on date selection i...
0
7091
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7282
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7342
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6998
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7464
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5018
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4680
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3162
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
741
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.