ValidatorOnSubmit()

  • Thread starter Thread starter Alejandro Molina
  • Start date Start date
A

Alejandro Molina

HEllo people
im having a big trouble with Web apps
Recently (6 months ago) i´ve installed the webApps on a production
server, and all works very fine, but some weeks ago the users are
sending a lot mails of malfunctioning on the system.

The things is that the web server are generating a wrong HTML

normally an .aspx page generate code like this:

<form name="frmLogin" method="post"
action="login.aspx?ReturnUrl=/AdministracionUsuarios/get_aspx_ver.aspx"
language="javascript" onsubmit="ValidatorOnSubmit();" id="frmLogin">
<input type="hidden" name="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE"
value="dDwtMzQ4Njk3NzQwOztsPGltZ0FjZXB0YXI7Pj7k7GMkKvN2RdNz5fH9vAqnYYFWaA=="
/>

<script language="javascript">
<!--
function __doPostBack(eventTarget, eventArgument) {
var theform;
if (window.navigator.appName.toLowerCase().indexOf("netscape") > -1)
{
theform = document.forms["frmLogin"];
}
else {
theform = document.frmLogin;
}
theform.__EVENTTARGET.value = eventTarget.split("$").join(":");
theform.__EVENTARGUMENT.value = eventArgument;
theform.submit();
}
// -->
</script>
<script language=javascript>forma.idUsuario.value='66';</script>


<script language="javascript"
src="/aspnet_client/system_web/1_1_4322/WebUIValidation.js"></script>


but the server now is only generating this code:

<form name="encuesta" method="post" action="encuesta.aspx"
id="encuesta">

nothing about viewstate, nothing of onsubmit="ValidatorOnSubmit();"

im getting crazy
im fighting with this problem 2 weeks.

What im done is:

Verify all the configuration of the server, Virtual servers, virtual
directories and seems to be normal.

On the same IIS server i have a secure site, and all the web apps that
are running there works perfectly.

I did a test: copying one app (from a virtual server) that wont work;
on the secure site (https) and there works ok ??????


can u imagine that????


more things:
All this things happens if im behind a firewall, if i dont use the
configuration of Proxy serves of Internet explorer, all the web apps
worjs fine

PLEASE
PLEASE HELP
HELP
 
My network admin guy one day set us up on ISA (Microsoft's proxy server).
He basically starting blocking all kinds of things, one of them was
javascript. I knew something was wrong, because I was getting the little
javascript error icon in the lower bottom corner of IE. Doesn't quite sound
like your problem, cause I would think the js code would still be in the
page output, but I am not sure anymore. Something to look at.

HTH,
Greg
 
Back
Top