Jun 05, 2019, 9:20 PM
[CLOSED] 'Status 200' and 'No Response' Screen on Login.aspx to Site.Master.aspx
Hello
We used version 2.1 Community until yesterday and when uninstalling the old version, then we put the license of 4.8.1 (by nuget) a screen with Status Code 200 No Response appears on the IIS server every time we try to go to the Login.aspx page to Site.master.aspx.
Login.aspx
We used version 2.1 Community until yesterday and when uninstalling the old version, then we put the license of 4.8.1 (by nuget) a screen with Status Code 200 No Response appears on the IIS server every time we try to go to the Login.aspx page to Site.master.aspx.
Login.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="XXX.YYY.Apresentacao.Login" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
<title> :: XXX ::</title>
<link rel="stylesheet" type="text/css" href="~/Styles/estilo.css"/>
<link rel="shortcut icon" href="~/Imagem/favicon.ico" type="image/x-icon"/>
<ext:ResourceManager ID="ResourceManager1" runat="server"></ext:ResourceManager>
<meta http-equiv="X-UA-Compatible" content="IE=11" />
<script type="text/javascript">
Ext.net.DirectEvent.timeout = 3600000000;
Ext.Ajax.timeout = 36000000000;
Ext.override(Ext.form.Basic, { timeout: Ext.Ajax.timeout / 1000 });
Ext.override(Ext.data.proxy.Server, { timeout: Ext.Ajax.timeout });
Ext.override(Ext.data.Connection, { timeout: Ext.Ajax.timeout });
</script>
<!--<style type="text/css">
v\:* {
behavior:url(#default#VML);
}
</style>-->
</head>
<body style="background-color:#f7f8f8;">
<div id="ext-comp-1003" class=" x-panel x-panel-noborder x-border-panel" style="left: 0px; top: 0px; ">
<div class="x-panel-bwrap" id="ext-gen15">
<div class="x-panel-body x-panel-body-noheader x-panel-body-noborder" id="ext-gen16" style="height: 70px;">
<div id="header" style="height:70px;">
<div class="api-title">
<em>XXX</em>
</div>
<div class="api-title">
<em>XXX</em>
</div>
</div>
</div>
</div>
</div>
<form id="FormLoginId" runat="server">
<ext:Window ID="WindowLoginId" runat="server" Closable="false" Resizable="false" Height="150" Icon="Lock" Title="Login" Draggable="false" Width="350" Modal="false" BodyPadding="5" Layout="Form" StyleSpec="background-color:acacbd;">
<Items>
<ext:TextField AutoFocus="true" AutoFocusDelay="50" ID="loginId" runat="server" FieldLabel="Login" AllowBlank="true" BlankText="CPF ou CPNJ obrigatório." EnableKeyEvents="true" EnforceMaxLength="true" MaxLength="60" EmptyText="neste campo digite seu login">
<Listeners>
<KeyPress Handler="if ((e.getKey() == e.ENTER)) { #{senhaId}.focus(false, 100); }" />
</Listeners>
</ext:TextField>
<ext:TextField ID="senhaId" runat="server" InputType="Password" FieldLabel="Senha" AllowBlank="true" EmptyText="de até 20 caracteres" EnableKeyEvents="True" EnforceMaxLength="true" MaxLength="20">
<Listeners>
<KeyPress Handler="if ((e.getKey() == e.ENTER)){ #{LoginButtonId}.fireEvent('click'); }"/>
</Listeners>
</ext:TextField>
</Items>
<Buttons>
<ext:Button ID="LoginButtonId" runat="server" Text="Entrar" Icon="Accept">
<DirectEvents>
<Click OnEvent="Logar_Click">
<EventMask ShowMask="true" Msg="Aguarde..." MinDelay="1000" />
</Click>
</DirectEvents>
</ext:Button>
</Buttons>
</ext:Window>
</form>
</body>
</html>
Login.aspx.csusing System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Newtonsoft.Json;
using System.IO;
using System.Security.Cryptography;
using Ext.Net;
using System.Web.Security;
namespace XXX.YYY.Apresentacao
{
public partial class Login : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Logar_Click(object sender, DirectEventArgs e)
{
Response.Redirect("/");
}
}
}
Thanks.