Ken,
Thank you for your time!
I typed up a long, descriptive reply, but something happened and I got
logged out. So, I will be shorter this time.
That's the JavaScript from my production server:
<form name="Form1" method="post" action="login.aspx"
language="javascript" onsubmit="if (!ValidatorOnSubmit()) return
false;" id="Form1">
<script language="javascript" type="text/javascript">
<!--
var Page_Validators = new Array(document.all["RFValLogin"],
document.all["RegExLogin"], document.all["RFValPass"],
document.all["RegExPass"]);
// -->
</script>
<script language="javascript" type="text/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) {
return ValidatorCommonOnSubmit();
}
return true;
}
// -->
</script>
The JavaScript from my development server is almost the same, it has a
little more attributes in some functions:
<script language="javascript">
<!--
var Page_Validators = new Array(document.all["RFValLogin"],
document.all["RegExLogin"], document.all["RFValPass"],
document.all["RegExPass"]);
// -->
</script>
<script language="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) {
ValidatorCommonOnSubmit();
}
}
// -->
</script>
and some functions are written a bit differently:
<form name="Form1" method="post"
action="login.aspx?ReturnUrl=%2fInOut%2fDefault.aspx"
language="javascript" onsubmit="ValidatorOnSubmit();" id="Form1">
But that might be because the development version has @Page directive
which says Debug="true". On the other hand, production version was
deployed using the Web Setup Project. So I don't have those .resx and
..vb files hanging around the virtual directory.
My development machine (XP Pro, SP1, IIS 5) has everything running
smootly. The server (Windows Server 2003, IIS 6) has those troubles.
Moreover, I cannot even log in now. The application does not reply to
button click events.
What do you think?
Thanks again,
Eugene