Proxy and non Proxy configurations

Discussion in 'ASP .Net Security' started by Alejandro Molina, Jul 15, 2004.

  1. 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
     
    Alejandro Molina, Jul 15, 2004
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.