One other thing to add - the server our stuff worked on was a Windows 2003 Server.
The others were not (Windows 2000, Windows XP) and i believe for some .NET Framework Service Packs there are separate installs for Windows 2003 and other systems. Maybe one of the installs for other systems has a dodgy WebUIValidation.js file?? Don't know this for sure but might be worth bearing in mind. Nick ----- Original Message ----- From: "Nick Simpson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 26, 2004 12:36 AM Subject: Re: [ADVANCED-DOTNET] "'Page_Validators' is undefined" error > Hi Dan, > > I had a similar problem recently. On some of our servers ASPX form > submission worked and on others for any ASPX page that had validation > controls form submission didn't work. I seem to remember this manifested > itself in different ways on the client. Perhaps in some cases the JavaScript > error message was clear i.e. there was a popup, perhaps in others there was > just that broken script icon at the bottom left of the browser window, and i > definitely remember in one case all that happened was that the button just > didn't want to submit the form. That was really wierd - just seemed like an > event was being cancelled out somewhere. > > Anyway - the way i solved the problems was this. We have about four servers > with copies of the following file: > C:\Inetpub\wwwroot\aspnet_client\system_web\1_1_4322\WebUIValidation.js > > I compared the file sizes of the various WebUIValidation.js files and found > them to be different (!). On our live server everything was working fine. I > replaced all of the other copies with the file from our live server and then > everything was working how it should. Don't ask me how these files ever > became different - fairly sure we didn't make any changes to them - or maybe > someone got trigger-happy with a search and replace! Anyway - just thought > it worth mentioning as it's a fairly easy fix to make on the server side. > > HTH, > > Nick > > ----- Original Message ----- > From: "Dan Hurwitz" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, October 25, 2004 3:03 PM > Subject: [ADVANCED-DOTNET] "'Page_Validators' is undefined" error > > > > When I perform a specific sequence of steps in a large ASP.NET app that I > > am developing, running either on my machine in development or against the > > version deployed to the QA webserver, culminating on a specific page, then > > post that page by clicking on a button, I get a JavaScript error which > says > > > > Line 118, Char 17 > > Error: 'Page_Validators' is undefined > > > > The line it is referring to is in the file > > C:\Inetpub\wwwroot\aspnet_client\system_web\1_1_4322\WebUIValidation.js, > > which is provided as part of the .NET Framework. Specifically, the > function > > Page_ClientValidate() is failing. > > > > I strongly suspect this is a browser problem because the problem only > > occurs on some machines. If Logi or Shannon try the exact same sequence of > > steps on their machines, for example, there is no error. (Logi especially > > has essentially the same environment as me - Windows 2000 Server with > > VS .NET 2003.) Other, but not most, pages, exhibited the same problem, > > which I worked around by setting the CausesValidation property of the > > buttons on those problem pages to False. This was acceptable for those > > pages because there were no fields for users to enter any data, and so no > > validation was necessary. For the Associate page, this is not the case: > > there are text boxes which absolutely must be validated. > > > > This sequence of steps previously caused no problem on my machine up until > > the middle of last week. Then I believe something got corrupted on my IE > > installation. I don't know what or why. > > > > I have tried reinstalling IE SP1, resetting all the Security and Advanced > > settings under Tools/Internet Options, and clearing all cookies and files. > > Nothing has helped. I am not aware of any way to actually uninstall and > > reinstall IE itself. Interestingly, changing some of the IE Advanced > > settings did make the problem go away temporarily, but not in any > > reproducible manner, and it shortly returns. > > > > What is going on here? Is it in fact a client issue? Can it be solved > > without reinstalling Windows? > > > > Thanks. > > =================================== > This list is hosted by DevelopMentor� http://www.develop.com > Some .NET courses you may be interested in: > > Essential .NET: building applications and components with C# > November 29 - December 3, in Los Angeles > http://www.develop.com/courses/edotnet > > View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor� http://www.develop.com Some .NET courses you may be interested in: Essential .NET: building applications and components with C# November 29 - December 3, in Los Angeles http://www.develop.com/courses/edotnet View archives and manage your subscription(s) at http://discuss.develop.com
