473,505 Members | 13,925 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

validator stop working

z f
Hi,
i have a vb.net web application that uses validators.
on my dev machine (Xp pro) it works fine.
on the hosting machine (win2003) the validator (client side and server
side ) stop working.
i thought it might be related to norton internet security, so i disable it,
but it also don't explain why local works and hosting not.

and most of all why server side validation don't work.

any suggestion might help solving this weird problem.

TIA, z.

Nov 18 '05 #1
7 3006
Is there an Error or it just doesn't FIRE?
But is your script ok?
It might be your aspnet_client (IN your wwwroot folder)
Try running "aspnet_regiis -c" from command!!
Patrick

"z f" wrote:
Hi,
i have a vb.net web application that uses validators.
on my dev machine (Xp pro) it works fine.
on the hosting machine (win2003) the validator (client side and server
side ) stop working.
i thought it might be related to norton internet security, so i disable it,
but it also don't explain why local works and hosting not.

and most of all why server side validation don't work.

any suggestion might help solving this weird problem.

TIA, z.

Nov 18 '05 #2
z f
to add information when i compare the sources of the HTML generated by the
different pages, the defferences are:
(is this only framework versions [X-AspNet-Version: 1.1.4322 header for
both, but maybe on defferent OS - behave deferently...)
(or it might be a configuration problem/differences)
please advise....
the form tag have
local:
onsubmit="if (!ValidatorOnSubmit()) return false;"
hosting:
onsubmit="ValidatorOnSubmit();"
for the submit buttons i have
local:
onclick="if (typeof(Page_ClientValidate) == 'function')
Page_ClientValidate(); "
hosting:
--nothing for onclick--
the validation scripts in the bottom of the page are also different:
local
<script language="javascript" type="text/javascript">
<!--
var Page_ValidationActive = false;
if (typeof(clientInformation) != "undefined" &&
clientInformation.appName.indexOf("Explorer") != -1) {
if (typeof(Page_ValidationVer) == "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_ValidationVer != "125")
alert("This page uses an incorrect version of WebUIValidation.js.
The page expects version 125. The script library is " + Page_ValidationVer +
".");
else
ValidatorOnLoad();
}

function ValidatorOnSubmit() {
if (Page_ValidationActive) {
return ValidatorCommonOnSubmit();
}
return true;
}
// -->
</script>


hosting:
<script language="javascript">
<!--
var Page_ValidationActive = false;
if (typeof(clientInformation) != "undefined" &&
clientInformation.appName.indexOf("Explorer") != -1) {
if ((typeof(Page_ValidationVer) != "undefined") && (Page_ValidationVer
== "125"))
ValidatorOnLoad();
}

function ValidatorOnSubmit() {
if (Page_ValidationActive) {
ValidatorCommonOnSubmit();
}
}
// -->
</script>
Nov 18 '05 #3
z f
the aspnet_client is the same
see my other post with more information
"Patrick.O.Ige" <Pa*********@discussions.microsoft.com> wrote in message
news:C5**********************************@microsof t.com...
Is there an Error or it just doesn't FIRE?
But is your script ok?
It might be your aspnet_client (IN your wwwroot folder)
Try running "aspnet_regiis -c" from command!!
Patrick

"z f" wrote:
Hi,
i have a vb.net web application that uses validators.
on my dev machine (Xp pro) it works fine.
on the hosting machine (win2003) the validator (client side and server
side ) stop working.
i thought it might be related to norton internet security, so i disable it, but it also don't explain why local works and hosting not.

and most of all why server side validation don't work.

any suggestion might help solving this weird problem.

TIA, z.

Nov 18 '05 #4
Try checking for Page.IsValid in ur Script
and try re-installing
Try running "aspnet_regiis -c" from command!!
Patrick

"z f" wrote:
to add information when i compare the sources of the HTML generated by the
different pages, the defferences are:
(is this only framework versions [X-AspNet-Version: 1.1.4322 header for
both, but maybe on defferent OS - behave deferently...)
(or it might be a configuration problem/differences)
please advise....
the form tag have
local:
onsubmit="if (!ValidatorOnSubmit()) return false;"
hosting:
onsubmit="ValidatorOnSubmit();"
for the submit buttons i have
local:
onclick="if (typeof(Page_ClientValidate) == 'function')
Page_ClientValidate(); "
hosting:
--nothing for onclick--
the validation scripts in the bottom of the page are also different:
local
<script language="javascript" type="text/javascript">
<!--
var Page_ValidationActive = false;
if (typeof(clientInformation) != "undefined" &&
clientInformation.appName.indexOf("Explorer") != -1) {
if (typeof(Page_ValidationVer) == "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_ValidationVer != "125")
alert("This page uses an incorrect version of WebUIValidation.js.
The page expects version 125. The script library is " + Page_ValidationVer +
".");
else
ValidatorOnLoad();
}

function ValidatorOnSubmit() {
if (Page_ValidationActive) {
return ValidatorCommonOnSubmit();
}
return true;
}
// -->
</script>


hosting:
<script language="javascript">
<!--
var Page_ValidationActive = false;
if (typeof(clientInformation) != "undefined" &&
clientInformation.appName.indexOf("Explorer") != -1) {
if ((typeof(Page_ValidationVer) != "undefined") && (Page_ValidationVer
== "125"))
ValidatorOnLoad();
}

function ValidatorOnSubmit() {
if (Page_ValidationActive) {
ValidatorCommonOnSubmit();
}
}
// -->
</script>

Nov 18 '05 #5
z f
i'm checking isValid.

the changes are probably in the framework since the script library is the
same ( i checked it)
but what are they exactly, for god sake?
it's a hosting i can't do anything.
and the framework version is the same.
is there any check on the framework i can do in my code to make sure
everything i need or configuration settings is OK at run-time?

"Patrick.O.Ige" <Pa*********@discussions.microsoft.com> wrote in message
news:EB**********************************@microsof t.com...
Try checking for Page.IsValid in ur Script
and try re-installing
Try running "aspnet_regiis -c" from command!!
Patrick

"z f" wrote:
to add information when i compare the sources of the HTML generated by the different pages, the defferences are:
(is this only framework versions [X-AspNet-Version: 1.1.4322 header for
both, but maybe on defferent OS - behave deferently...)
(or it might be a configuration problem/differences)
please advise....
the form tag have
local:
onsubmit="if (!ValidatorOnSubmit()) return false;"
hosting:
onsubmit="ValidatorOnSubmit();"
for the submit buttons i have
local:
onclick="if (typeof(Page_ClientValidate) == 'function')
Page_ClientValidate(); "
hosting:
--nothing for onclick--
the validation scripts in the bottom of the page are also different:
local
<script language="javascript" type="text/javascript">
<!--
var Page_ValidationActive = false;
if (typeof(clientInformation) != "undefined" &&
clientInformation.appName.indexOf("Explorer") != -1) {
if (typeof(Page_ValidationVer) == "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_ValidationVer != "125")
alert("This page uses an incorrect version of WebUIValidation.js. The page expects version 125. The script library is " + Page_ValidationVer + ".");
else
ValidatorOnLoad();
}

function ValidatorOnSubmit() {
if (Page_ValidationActive) {
return ValidatorCommonOnSubmit();
}
return true;
}
// -->
</script>


hosting:
<script language="javascript">
<!--
var Page_ValidationActive = false;
if (typeof(clientInformation) != "undefined" &&
clientInformation.appName.indexOf("Explorer") != -1) {
if ((typeof(Page_ValidationVer) != "undefined") && (Page_ValidationVer == "125"))
ValidatorOnLoad();
}

function ValidatorOnSubmit() {
if (Page_ValidationActive) {
ValidatorCommonOnSubmit();
}
}
// -->
</script>

Nov 18 '05 #6
Copy aspnet_client from your XP machine to your Win2003 machine under you
website folder.

-Regards,
Jignesh
"z f" <zi**@info-scope.co.il> wrote in message
news:ey**************@TK2MSFTNGP11.phx.gbl...
Hi,
i have a vb.net web application that uses validators.
on my dev machine (Xp pro) it works fine.
on the hosting machine (win2003) the validator (client side and server
side ) stop working.
i thought it might be related to norton internet security, so i disable it, but it also don't explain why local works and hosting not.

and most of all why server side validation don't work.

any suggestion might help solving this weird problem.

TIA, z.

Nov 18 '05 #7
i did exactly that, but notice that the differrences are in the generated HTML by the framework, not in the referenced js script files.

"Jignesh Desai" <ji***********@hotmail.com> wrote in message news:#q**************@TK2MSFTNGP09.phx.gbl...
Copy aspnet_client from your XP machine to your Win2003 machine under you
website folder.

-Regards,
Jignesh
"z f" <zi**@info-scope.co.il> wrote in message
news:ey**************@TK2MSFTNGP11.phx.gbl...
Hi,
i have a vb.net web application that uses validators.
on my dev machine (Xp pro) it works fine.
on the hosting machine (win2003) the validator (client side and server
side ) stop working.
i thought it might be related to norton internet security, so i disable it, but it also don't explain why local works and hosting not.

and most of all why server side validation don't work.

any suggestion might help solving this weird problem.

TIA, z.

Nov 18 '05 #8

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

Similar topics

3
5103
by: Vigil | last post by:
Hi, I have downloaded the source code and installed everything on http://validator.w3.org/source/. I have the validator 'working' offline with Apache2. I have uploaded a valid XHTML 1 Strict...
10
2265
by: Chris Simon | last post by:
A bit puzzled by this... 1. Ask the validator to look at http://www.nantperis.org.uk/index.php.en (the exact filename of the page) and it brings back an error: 300 Multiple Choices. I could...
3
1659
by: Angelos Karantzalis | last post by:
Hi guys, I've a small problem with validators. I'm building a single .aspx file that handles all my form posts. I need to be using ASP.NET validators ( or subclasses thereof ), so what i do to...
2
1246
by: Matias | last post by:
Hi!, I'm having a strange issue while deploying a web site with Validator controls. In my development machine the Validators function perfecly and also when I deploy using XCOPY to a web...
1
1470
by: bennett | last post by:
At http://www.brainjammer.com/testing/validator_test.aspx I have a text field where you can enter text, and a button where if you click the button, it sets the value of a label below it, to...
11
1454
by: Alan Silver | last post by:
Hello, I have two dropdown controls on a form, representing a month/year combination. The date entered must be in the future, so I wrote a custom validator to check this. Trouble is, the...
4
1269
by: Alan Silver | last post by:
Hello, I have a site that produces 100% valid XHTML 1.0 Strict when viewed in a browser (IE, Firefox, etc). I just tried validating the site with an on-line validator, and got several errors. ...
8
3903
by: Radu | last post by:
Hi. I have an ASP control on my page: <asp:Calendar ID="calStart" ................ Etc </asp:Calendar> and I have a Custom Validator defined as <asp:CustomValidator
9
3591
by: Daniele Perilli | last post by:
Hi everybody, I'd like to introduce you a new little tool I developed to automatically check markup validation of all pages in given websites. It uses W3C HTML Validator and CSS Validator online...
0
7213
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7098
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
7298
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
7366
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...
0
7471
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
5026
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
3187
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...
0
3176
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
406
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...

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.