473,657 Members | 2,667 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.Befor e 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 'WebUIValidatio n.js' in the location
C:\Inetpub\wwwr oot\aspnet_clie nt\system_web\1 _1_4322\WebUIVa lidation.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 2165
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\Micr osoft.NET\Frame work\[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\wwwr oot) 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.Befor e 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 'WebUIValidatio n.js' in the location
C:\Inetpub\wwwr oot\aspnet_clie nt\system_web\1 _1_4322\WebUIVa lidation.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\Micr osoft.NET\Frame work\[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\wwwr oot) 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.Befor e 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 'WebUIValidatio n.js' in the location
C:\Inetpub\wwwr oot\aspnet_clie nt\system_web\1 _1_4322\WebUIVa lidation.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 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...
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 does it work? Using Handlers? Thanks for your efforts! Martin
2
958
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 @Rooms INT. When A user insert in the WebForm a value everything is allright because I do this: cmd.Parameters.Add(new SqlParameter("@ROOMS", SqlDbType.Int)); cmd.Parameters.Value = Int32.Parse(RoomsTB.Text.Trim());
2
2454
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 validator is not shown! what is wrong? TIA, z.
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 date field needs to be required can I somehow use the required date validator on the main page where the conrol is placed. The date text box is accessible through a property. Or do I need to use a custom validator? Thanks for any input
1
2996
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 like a validator that worked like as a custom tag: <MyValidator:MultipleRequiredFieldValidator ControlsToValidate="TextBox1,TextBox2,TextBox3" ErrorMessage="You did not fill in one of the required fields: TextBox1,TextBox2,TextBox3"...
9
2219
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) in page_load, or elsewhere, that says page.validate, no control says "causesvalidation=true", and the AutoEventWireup is set to false. So I would think that the control's server event function would NOT execute, but it does execute right after...
3
1583
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 completely different task it basically turns on another panel and displays some data. The problem is each time Button2 is pressed required field validator wants the required fields to be filled up. The question is:
3
2709
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 the user enters some text into a field called "txbName" and when they click on the submit button, if they have not entered anything into the field, a Required Field Validator will say "Invalid Name". Thanks,
0
1752
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 am filling the this textbox , it works fine when i am in development server. But whenever i moved my code to hosting server the required field validator stops the form being submitted. If I remove the readonly property on hosting server then it...
0
8315
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8829
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8508
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8608
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6172
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4164
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4323
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2733
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1962
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.