473,320 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Error in WebUIValidation.js function ValidatorOnLoad?

Hi,
I'm getting some strange error on one of my pages:
The page is composed of some nested ascx controls, the error
I am getting is 'undefined is null or not an object'.

The error occurs in line 180 of WebUiValidation.js (if
(typeof(val.evaluationfunction) == "string") ) and is caused by an Error (?)
in the Page_Validators Array:
The Index of the Array starts from 0 up to 5 and then suddenly continues
from 20 up to 24.
The Function now uses a counter Variable from 0 to Page_Validators.length to
get all Validators which causes the error above when getting to index 6....

I'd really like to know what causes this very strange behaviour of the Array
and how can I avoid it?
I'm using .net 1.1.4322

With best regards
Ekkehard

Nov 19 '05 #1
4 4070
Hi Ekkehard,

We have reviewed this issue and are currently researching on it. We will
update you ASAP. Thanks for your patience!

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 19 '05 #2
Hi Ekkehard,

As for the script error you encountered in your ASP.NET page, is the page
suffering the error a very simple page , have you turn on SmartNavigation
on the page? Based on my experience, sometimes there'll occur some script
problems with the buildin script when smartNavigation is turn on. Anyway,
I suggest you try create a very simple page which use some simple
validation controls and test it to see whether the sample problem occurs.
Also, mostly this is a environment specific problem and please make sure
whether your page works on other test machine.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| X-Tomcat-ID: 35132971
| References: <97**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: v-****@online.microsoft.com (Kevin Yu [MSFT])
| Organization: Microsoft
| Date: Sat, 16 Jul 2005 02:39:55 GMT
| Subject: RE: Error in WebUIValidation.js function ValidatorOnLoad?
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| Message-ID: <Sx**************@TK2MSFTNGXA01.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Lines: 7
| Path: TK2MSFTNGXA01.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:112579
| NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122
|
| Hi Ekkehard,
|
| We have reviewed this issue and are currently researching on it. We will
| update you ASAP. Thanks for your patience!
|
| Kevin Yu
| =======
| "This posting is provided "AS IS" with no warranties, and confers no
| rights."
|
|

Nov 19 '05 #3


"Steven Cheng[MSFT]" wrote:
Hi Ekkehard,

As for the script error you encountered in your ASP.NET page, is the page
suffering the error a very simple page
No, as already mentioned, the page is very complex. Its a Dot Net Nuke
Module that itself consists of several WebUser Controls
, have you turn on SmartNavigation
No, Smart Navigation is not turned on
on the page? Based on my experience, sometimes there'll occur some script
problems with the buildin script when smartNavigation is turn on. Anyway,
I suggest you try create a very simple page which use some simple
I am sure the error won't occur on a simple page, I think the problem is the
complex page (having nested WebControls) but the error must not occure
anyway.
To give you an idea
Page_Validators[5] has id =
_ctl0__ctl2__ctl0_CMSEditor1_FloatingInterval1_Reg ularExpressionValidator9

Page_Validators[20] has id
_ctl0__ctl2__ctl0_CMSEditor1_FloatingRateCalculati on2_IndexTenor_RegularExpressionValidator9

The Page_Validators array having the following indizes:
0.1.2.3.4.5.20.21.22.23.24

validation controls and test it to see whether the sample problem occurs.
Also, mostly this is a environment specific problem and please make sure
whether your page works on other test machine.
As far as I tested it, the problem is not computer specific...

Thanks,

Steven Cheng
Microsoft Online Support


Regards Ekkehard

Nov 19 '05 #4
Thanks for your followup Ekkehard,

If so, I think this is a page specific problem rather than environment
specific. Have you tried isolate the problem page such as remove the count
of the validation controls on the page so as to get tha simpliefied page?
If you can provide a simplified page which can repro the problem , we can
try performing some tests on our side.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Thread-Topic: Error in WebUIValidation.js function ValidatorOnLoad?
| thread-index: AcWLoCgAO7zBBc1uQ3uK8gbI75lj3w==
| X-WBNR-Posting-Host: 217.29.147.110
| From: "=?Utf-8?B?RWtrZWhhcmQgUHJlaXM=?=" <ek**@online.nospam>
| References: <97**********************************@microsoft.co m>
<Sx**************@TK2MSFTNGXA01.phx.gbl>
<8w*************@TK2MSFTNGXA01.phx.gbl>
| Subject: RE: Error in WebUIValidation.js function ValidatorOnLoad?
| Date: Mon, 18 Jul 2005 06:54:03 -0700
| Lines: 48
| Message-ID: <90**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:112844
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
|
|
| "Steven Cheng[MSFT]" wrote:
|
| > Hi Ekkehard,
| >
| > As for the script error you encountered in your ASP.NET page, is the
page
| > suffering the error a very simple page
|
| No, as already mentioned, the page is very complex. Its a Dot Net Nuke
| Module that itself consists of several WebUser Controls
|
| > , have you turn on SmartNavigation
|
| No, Smart Navigation is not turned on
|
| > on the page? Based on my experience, sometimes there'll occur some
script
| > problems with the buildin script when smartNavigation is turn on.
Anyway,
| > I suggest you try create a very simple page which use some simple
|
| I am sure the error won't occur on a simple page, I think the problem is
the
| complex page (having nested WebControls) but the error must not occure
| anyway.
| To give you an idea
| Page_Validators[5] has id =
| _ctl0__ctl2__ctl0_CMSEditor1_FloatingInterval1_Reg ularExpressionValidator9
|
| Page_Validators[20] has id=
_ctl0__ctl2__ctl0_CMSEditor1_FloatingRateCalculati on2_IndexTenor_RegularExpr
essionValidator9
|
| The Page_Validators array having the following indizes:
| 0.1.2.3.4.5.20.21.22.23.24
|
|
| > validation controls and test it to see whether the sample problem
occurs.
| > Also, mostly this is a environment specific problem and please make
sure
| > whether your page works on other test machine.
|
| As far as I tested it, the problem is not computer specific...
|
| >
| > Thanks,
| >
| > Steven Cheng
| > Microsoft Online Support
|
| Regards Ekkehard
|
|

Nov 19 '05 #5

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

Similar topics

2
by: Lian Liming | last post by:
Hi, all I want to write my own error handler function in php by using "set_error_handler()" function. I have made a test for this function but found it did not work. My test code is as following:...
3
by: murphy | last post by:
Hi, I've been seeing two symptoms with my asp.net site that have started recently after a long period of smooth running. As others on our team make changes to referenced dll's I find that I...
9
by: Alexander Cohen | last post by:
(sorry for the double post if there is one - i sent the mail to the lisyt from the wrong address) Hi, Im passing this in the commmand line to start up the PostgreSQL server: ../pg_ctl start...
5
by: Jozef | last post by:
I have an MDE file that is blowing up with "Error 3075 Function Not Available", which is normally a reference issue, but, I have no missing references. It seems that offending function is a...
1
by: joe10001 | last post by:
Hi all, I just installed CRELoaded (oscommerce fork) on my server and all work fine except that I have a little message at the bottom of the main page : Fatal error: main() : Security alert:...
7
by: Hexer | last post by:
Hi and good day to all...I am new to the C language and whenever I tried to run the program I made, it won't because it says it has an "expression syntax error in function main"..what I don't get is...
3
by: sadique | last post by:
Hello, Sadique here I've been installing a free source hotel booking system and I encountered an error while trying to go to the second step in the installation process. Fatal error:...
5
by: Sonasang | last post by:
Hi , I am creating a web page with ASP and Javascript.We have shared the foldres containg the code and all our team members are accessing the code. There is no problem for me when i run the...
1
by: kinhoe | last post by:
i have a program in webserver. i run smooth before. but dunno why it sudden prompt out the error below? Warning: require_once() : open_basedir restriction in effect....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.