473,549 Members | 3,109 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Client side validation does not fire on deployment server

Hi,

I've been having problems with the validation controls not working on
my deployment server. Initially it was a security issue with the
anonymous account not having permissions to access
/aspnet_client/system_web/1_1_4322/WebUIValidation .js but I think I've
now fixed this.

What is happening now is I'm not getting a security issue but the
validation is not occuring, the page submits without validation. When
I compare the validation javascript on pages from my development
machine with the deployment machine I see the following difference:

Dev. Machine:
var Page_Validation Active = false;
if (typeof(clientI nformation) != "undefined" &&
clientInformati on.appName.inde xOf("Explorer") != -1) {
if (typeof(Page_Va lidationVer) == "undefined" )
alert("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'.");
else if (Page_Validatio nVer != "125")
alert("This page uses an incorrect version of
WebUIValidation .js. The page expects version 125. The script library
is " + Page_Validation Ver + ".");
else
ValidatorOnLoad ();
}

Deployment Server:
var Page_Validation Active = false;
if (typeof(clientI nformation) != "undefined" &&
clientInformati on.appName.inde xOf("Explorer") != -1) {
if ((typeof(Page_V alidationVer) != "undefined" ) &&
(Page_Validatio nVer == "125"))
ValidatorOnLoad ();
}
Both machines are running .net v1.1.4322. Can anybody shed some light
on this?

Thanks,
Mark
Nov 18 '05 #1
2 4552
I had simmilar problem.

I had a CustomValidator on a page with ClientValidatio n set to true
(default) but without any script attached.

I did have a server validation.

Everyhting worked on my machine (2000) but did not on 2003. None of the
validators worked, even regular, on that page.

As soon as i set ClientValidatio n to false everything become normal.

George.

"Mark" <zz******@hotma il.com> wrote in message
news:9c******** *************** ***@posting.goo gle.com...
Hi,

I've been having problems with the validation controls not working on
my deployment server. Initially it was a security issue with the
anonymous account not having permissions to access
/aspnet_client/system_web/1_1_4322/WebUIValidation .js but I think I've
now fixed this.

What is happening now is I'm not getting a security issue but the
validation is not occuring, the page submits without validation. When
I compare the validation javascript on pages from my development
machine with the deployment machine I see the following difference:

Dev. Machine:
var Page_Validation Active = false;
if (typeof(clientI nformation) != "undefined" &&
clientInformati on.appName.inde xOf("Explorer") != -1) {
if (typeof(Page_Va lidationVer) == "undefined" )
alert("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'.");
else if (Page_Validatio nVer != "125")
alert("This page uses an incorrect version of
WebUIValidation .js. The page expects version 125. The script library
is " + Page_Validation Ver + ".");
else
ValidatorOnLoad ();
}

Deployment Server:
var Page_Validation Active = false;
if (typeof(clientI nformation) != "undefined" &&
clientInformati on.appName.inde xOf("Explorer") != -1) {
if ((typeof(Page_V alidationVer) != "undefined" ) &&
(Page_Validatio nVer == "125"))
ValidatorOnLoad ();
}
Both machines are running .net v1.1.4322. Can anybody shed some light
on this?

Thanks,
Mark

Nov 18 '05 #2
Sounds like you might be having the same issue as I just had.

/aspnet_client/system_web/1_1_4322/WebUIValidation .js
must be installed from the server the app is running on. You can't copy from
your machine.

--

Alphonse Giambrone
Email: a-giam at customdatasolut ions dot us
"Mark" <zz******@hotma il.com> wrote in message
news:9c******** *************** ***@posting.goo gle.com...
Hi,

I've been having problems with the validation controls not working on
my deployment server. Initially it was a security issue with the
anonymous account not having permissions to access
/aspnet_client/system_web/1_1_4322/WebUIValidation .js but I think I've
now fixed this.

What is happening now is I'm not getting a security issue but the
validation is not occuring, the page submits without validation. When
I compare the validation javascript on pages from my development
machine with the deployment machine I see the following difference:

Dev. Machine:
var Page_Validation Active = false;
if (typeof(clientI nformation) != "undefined" &&
clientInformati on.appName.inde xOf("Explorer") != -1) {
if (typeof(Page_Va lidationVer) == "undefined" )
alert("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'.");
else if (Page_Validatio nVer != "125")
alert("This page uses an incorrect version of
WebUIValidation .js. The page expects version 125. The script library
is " + Page_Validation Ver + ".");
else
ValidatorOnLoad ();
}

Deployment Server:
var Page_Validation Active = false;
if (typeof(clientI nformation) != "undefined" &&
clientInformati on.appName.inde xOf("Explorer") != -1) {
if ((typeof(Page_V alidationVer) != "undefined" ) &&
(Page_Validatio nVer == "125"))
ValidatorOnLoad ();
}
Both machines are running .net v1.1.4322. Can anybody shed some light
on this?

Thanks,
Mark

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2356
by: | last post by:
Hello Guys, I am using the validation controls to validate my data. But the problem is "The page is still being posted to server". I want to get rid of the round trips to server. Are there any get arounds for this problem apart from the traditional JavaScript?
14
6275
by: Matt | last post by:
I want to know if ASP.NET Web Forms Validation Controls are Server-Side or Client-Side form validation? Since I think each validator control can select either 1) JavaScript based error dialog or 2) show the error message next to the control. For example, if the text field is empty with RequiredField Validator control, it can show the value in...
3
13118
by: Earl Teigrob | last post by:
I wanted my "Terms and Conditions" Checkbox control to participate in my ASP.NET validation just like all the the other controls on the page. After some time of searching the web for an example of how to do this, I created the script to do it and thought I would share it. Its a littel messy but does the job. If anyone has a better solution,...
4
4473
by: Barb | last post by:
I have a user control as my Save button for my page. When the Save button is clicked, I want some client-side validation to take place from a javascript function in the page, and then I'd like the server event to fire to update the database. I've successfully done this with a normal webcontrol via: myControl.Attributes("onclick") =...
2
1894
by: Andre | last post by:
I've set up a CustomValidator control which has both a client side and server side function associated with it. My server side function never seems to be called as long as I have the "EnableClientScript" property set to true. As soon as I set this property to false , my server side function is called and works fine. From reading the help, it...
8
5987
by: John Dalberg | last post by:
I have an aspx page that was developed initially in Dreamweaver as a regular html file. I have added a few textboxes and required validators. The problem is that the client side validation is not firing. Only server side is working - I have verified javascript is enabled - aspnet_client folder is present. Other aspx apps with validation...
1
5199
by: rmgalante | last post by:
I have written an ASP.Net application that uses the standard client-side and server-side validation for various fields on the form. Some of the customers that use the form report symptoms that appear to be the result of double-clicking the submit button on the form. The form has three ASP:Button tags, each of which gets translated into...
2
2650
by: Stuart Whiteford | last post by:
Hi, I asked this back in January without answer and forgot about it until now. I've got a basic web form, two textboxes, a couple of radio button groups, some required field validators, and a Submit and Cancel button. When the page loads, if I click the Cancel button, the server-side event fires as normal.
7
22409
controlbox
by: controlbox | last post by:
I have recently inplemented some drop-down lists (combos) on a page where one is dynamically populated according to the selection of another using the microsoft ajax extensions. I had to set AutoPostBack = true, and enable viewstate in order for the serverside events to fire, but once this was done, all seemed well - so far so good... Also,...
0
7956
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7470
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...
0
7809
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...
0
6041
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5368
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...
0
3498
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...
1
1936
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
1
1058
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
763
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.