Foros del Web » Programando para Internet » ASPX (.net) »

error: pageRequestManagerServerErrorException. help!

Estas en el tema de error: pageRequestManagerServerErrorException. help! en el foro de ASPX (.net) en Foros del Web. Hola! Tengo una web con un updatePanel dentro del cual hay varios dropDownList, campos de texto y botones. El problema que tengo es que cuando ...
  #1 (permalink)  
Antiguo 18/04/2009, 06:29
 
Fecha de Ingreso: diciembre-2008
Mensajes: 52
Antigüedad: 15 años, 5 meses
Puntos: 0
error: pageRequestManagerServerErrorException. help!

Hola!

Tengo una web con un updatePanel dentro del cual hay varios dropDownList, campos de texto y botones. El problema que tengo es que cuando cambio el valor del dropdownlist, o pulso un boton, me salta este error:

sys.webForms.pageRequestManagerServerErrorExceptio n: an unknown error ocurred while processing the request on the server. the status code returned from the server was: 404

esto solo me pasa con IE, en firefox funciona bien. He probado distintas formas que he encontrado por ahi investigando, con enableEventValidation=false y no arreglo nada.

la unica manera con la que he conseguido que funcione, es añadiendo en el ScriptManager:

<asp:ScriptManager id="ScriptManager1" runat="server" enablePartialRendering="false">

asi si que no me sale el error, pero el problema es que de esta manera me hace un refresco total de la pagina, y no solo del updatePanel, y yo necesito que sea solo del updatePanel.

alguien podría echarme una mano?
  #2 (permalink)  
Antiguo 18/04/2009, 15:17
Avatar de GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Respuesta: error: pageRequestManagerServerErrorException. help!

Tema trasladado desde AJAX
  #3 (permalink)  
Antiguo 19/04/2009, 15:23
Avatar de RootK
Moderador
 
Fecha de Ingreso: febrero-2002
Ubicación: México D.F
Mensajes: 8.004
Antigüedad: 22 años, 2 meses
Puntos: 50
Respuesta: error: pageRequestManagerServerErrorException. help!

No sería de mucha ayuda que colocaras el code que estás utilizando (html)

Salu2
__________________
Nadie roba nada ya que en la vida todo se paga . . .

Exentrit - Soluciones SharePoint & Net
  #4 (permalink)  
Antiguo 20/04/2009, 07:19
Avatar de mdavila  
Fecha de Ingreso: julio-2007
Ubicación: Montevideo (Uruguay)
Mensajes: 919
Antigüedad: 16 años, 9 meses
Puntos: 13
Respuesta: error: pageRequestManagerServerErrorException. help!

En la barra del Ie abajo a la izquierda te da un cartel en amarillo, si le das doble click te sale una ventana que te dice cual es el error. lo ves?
__________________
Marcelo Davila.

:. En Ignorante te conviertes al no preguntar, el que pregunta se nutre... :.
  #5 (permalink)  
Antiguo 20/04/2009, 15:14
 
Fecha de Ingreso: octubre-2000
Mensajes: 1.692
Antigüedad: 23 años, 6 meses
Puntos: 19
Respuesta: error: pageRequestManagerServerErrorException. help!

Hola

Proba agregarle a tu página un EnableEventValidation en true, te quedaría algo como:

<%@ Page Language="C#" EnableEventValidation="true" %>
__________________
PD: Con amor, fe, amor a Dios y amistad podemos hacer un mundo mejor!!!!
  #6 (permalink)  
Antiguo 21/04/2009, 01:42
 
Fecha de Ingreso: diciembre-2008
Mensajes: 52
Antigüedad: 15 años, 5 meses
Puntos: 0
Respuesta: error: pageRequestManagerServerErrorException. help!

ya probé a añadir arriba el enableEventValidation tanto a true, como a false, pero el error sigue saliendo, la unica forma de quitarlo es añadir en el ScriptManager un enablePartialRendering, pero como os he comentado, no me sirve ya que me refresca la pagina entera. El codigo un poco abreviado es el siguiente, por si sirve de ayuda:

<%@ Page Language="VB" AutoEventWireup="false" EnableEventValidation="true" CodeFile="ProbandoDiseño.aspx.vb" Inherits="ProbandoDiseño" %>

<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI" TagPrefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>HIDROCLIMA Instalaciones</title>
<link rel="stylesheet" type="text/css" href="css/main.css" media="screen" />
</head>
<body>
<form id="form1" runat="server">
<div id="content">
<div id="header">
<div id="anuncio">
<asp:ImageButton ID="ImageButton1" runat="server" ImageAlign="Right" ImageUrl="~/images/anuncio2.jpg" />
</div>
</div>
<div id="resultado"><asp:Label ID="resultado_login" runat="server" Text=""></asp:Label></div>
<div style="clear: both;"></div>
<div id="menu">...
</div>
<div style="clear: both;"></div>
<div class="third">
<!-- CONTENIDO -->
<h3>PRESUPUESTO ON-LINE</h3>
<asp:ScriptManager id="ScriptManager1" runat="server">
</asp:ScriptManager><asp:UpdatePanel id="UpdatePanel1" runat="server">
<Triggers>
<asp:PostBackTrigger ControlID="Button12" />
</Triggers>
<contenttemplate>
<asp:Label id="Label2" runat="server" Width="557px" Text="EN CUANTAS HABITACIONES DESEA CLIMATIZACION?:"></asp:Label><br /><asp:DropDownList id="DropDownList1" runat="server" OnSelectedIndexChanged="DropDownList1_SelectedInde xChanged" AutoPostBack="True"><asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
</asp:DropDownList><br /><br /><asp:Label id="Label3" runat="server" Width="153px" Text="TIPO DE VIVIENDA:"></asp:Label> <br /><asp:RadioButtonList id="RadioButtonList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="RadioButtonList1_SelectedI ndexChanged"><asp:ListItem Selected="True">Bloque</asp:ListItem>
<asp:ListItem>Adosado</asp:ListItem>
<asp:ListItem>Pareado</asp:ListItem>
<asp:ListItem>Individual</asp:ListItem>
</asp:RadioButtonList><br /><asp:Label id="Label4" runat="server" Width="123px" Text="Indique el piso:"></asp:Label> <asp:TextBox id="TextBox3" runat="server" Width="25px" OnTextChanged="TextBox3_TextChanged" CausesValidation="True" ValidationGroup="presupuesto"></asp:TextBox><br /><br /><br /><asp:Label id="Label10" runat="server" Width="373px" Text="Responda ahora a estas cuestiones para cada habitación:" Font-Size="Small"></asp:Label><br /><asp:Panel id="Panel1" runat="server" Width="100%" Height="50px"><br /><asp:Label id="Label7" runat="server" Width="141px" Text="HABITACION 1:" Font-Size="Large"></asp:Label><br />
<br />
<asp:Label ID="Label32" runat="server" Text="METROS CUADRADOS DE LA HABITACION:"
Width="344px"></asp:Label>
<asp:TextBox ID="TextBox5" runat="server" CausesValidation="True" ValidationGroup="presupuesto"
Width="50px"></asp:TextBox><br />
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox5"
ErrorMessage="Introduce los metros cuadrados de la vivienda." Font-Bold="True"
Font-Names="Arial" Font-Size="X-Small" ValidationGroup="presupuesto"></asp:RequiredFieldValidator>
<asp:RangeValidator ID="RangeValidator2" runat="server" ControlToValidate="TextBox5"
ErrorMessage="El número de metros debe estar comprendido entre 5 y 200." Font-Size="X-Small"
MaximumValue="200" MinimumValue="5" Type="Double" ValidationGroup="presupuesto"></asp:RangeValidator><br /><br /><asp:Label id="Label8" runat="server" Width="280px" Text="ORIENTACION DE LA HABITACION:"></asp:Label> <asp:RadioButtonList id="RadioButtonList2" runat="server"><asp:ListItem Selected="True">Norte</asp:ListItem>
<asp:ListItem>Sur</asp:ListItem>
<asp:ListItem>Este</asp:ListItem>
<asp:ListItem>Oeste</asp:ListItem>
</asp:RadioButtonList><br /><asp:Label id="Label9" runat="server" Width="107px" Text="HAY PATIO?:"></asp:Label> <asp:RadioButtonList id="RadioButtonList3" runat="server"><asp:ListItem>Si</asp:ListItem>
<asp:ListItem Selected="True">No</asp:ListItem>
</asp:RadioButtonList></asp:Panel><br /><asp:Panel id="Panel2" runat="server" Width="100%" Height="50px" Visible="False"><br /><asp:Label id="Label11" runat="server" Width="141px" Text="HABITACION 2:" Font-Size="Large"></asp:Label><br />
<br />
<asp:Label ID="Label33" runat="server" Text="METROS CUADRADOS DE LA HABITACION:"
Width="344px"></asp:Label>
<asp:TextBox ID="TextBox6" runat="server" CausesValidation="True" ValidationGroup="presupuesto"
Width="50px"></asp:TextBox><br />
<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TextBox6"
ErrorMessage="Introduce los metros cuadrados de la vivienda." Font-Bold="True"
Font-Names="Arial" Font-Size="X-Small" ValidationGroup="presupuesto"></asp:RequiredFieldValidator>
<asp:RangeValidator ID="RangeValidator3" runat="server" ControlToValidate="TextBox6"
ErrorMessage="El número de metros debe estar comprendido entre 5 y 200." Font-Size="X-Small"
MaximumValue="200" MinimumValue="5" Type="Double" ValidationGroup="presupuesto"></asp:RangeValidator><br />
<br /><asp:Label id="Label12" runat="server" Width="280px" Text="ORIENTACION DE LA HABITACION:"></asp:Label> <asp:RadioButtonList id="RadioButtonList4" runat="server"><asp:ListItem Selected="True">Norte</asp:ListItem>
<asp:ListItem>Sur</asp:ListItem>
<asp:ListItem>Este</asp:ListItem>
<asp:ListItem>Oeste</asp:ListItem>
</asp:RadioButtonList><br /><asp:Label id="Label13" runat="server" Width="107px" Text="HAY PATIO?:"></asp:Label> <asp:RadioButtonList id="RadioButtonList5" runat="server"><asp:ListItem>Si</asp:ListItem>
<asp:ListItem Selected="True">No</asp:ListItem>
</asp:RadioButtonList></asp:Panel><br />

<asp:Button ID="Button15" runat="server" Text="Calcular potencia necesaria" OnClick="Button15_Click" ValidationGroup="presupuesto" /><br />
<br />
<asp:Label ID="Label24" runat="server" Font-Size="Medium" Text="La potencia que usted necesita es de aproximadamente"
Visible="False"></asp:Label>
<asp:Label ID="Label21" runat="server" Visible="False"></asp:Label>
<asp:Label ID="Label22" runat="server" Text="KW" Visible="False"></asp:Label><br />
<asp:Label ID="Label23" runat="server" Font-Size="Small" Text="Elija a continuación el aparato que desee de entre las opciones posibles:"
Visible="False"></asp:Label><br />
<br />
<asp:Panel ID="Panel4" runat="server" Height="50px" Visible="False" Width="125px">
<asp:Label ID="Label17" runat="server" Text="MODELOS COMPATIBLES:" Width="217px"></asp:Label><br />
<asp:DropDownList ID="DropDownList2" runat="server" DataSourceID="HidroclimaBD" DataTextField="modelo"
DataValueField="modelo">
</asp:DropDownList><asp:AccessDataSource ID="HidroclimaBD" runat="server" DataFile="~/proyecto donosti.mdb"
SelectCommand="SELECT [modelo] FROM [AIRE_ACONDICIONADO_R1]"></asp:AccessDataSource>
</asp:Panel>
<asp:Panel ID="Panel5" runat="server" Height="50px" Visible="False" Width="125px">
<asp:Label ID="Label18" runat="server" Text="MODELOS COMPATIBLES:" Width="217px"></asp:Label>
<asp:DropDownList ID="DropDownList3" runat="server" DataSourceID="HidroclimaBD2"
DataTextField="modelo" DataValueField="modelo">
</asp:DropDownList><asp:AccessDataSource ID="HidroclimaBD2" runat="server" DataFile="~/proyecto donosti.mdb"
SelectCommand="SELECT [modelo] FROM [AIRE_ACONDICIONADO_R2]"></asp:AccessDataSource>
</asp:Panel>
<asp:Panel ID="Panel6" runat="server" Height="50px" Visible="False" Width="125px">
<asp:Label ID="Label19" runat="server" Text="MODELOS COMPATIBLES:" Width="217px"></asp:Label>
<asp:DropDownList ID="DropDownList4" runat="server" DataSourceID="HidroclimaBD3"
DataTextField="modelo" DataValueField="modelo">
</asp:DropDownList><asp:AccessDataSource ID="HidroclimaBD3" runat="server" DataFile="~/proyecto donosti.mdb"
SelectCommand="SELECT [modelo] FROM [AIRE_ACONDICIONADO_R3]"></asp:AccessDataSource>
</asp:Panel>
<br />
<asp:Button ID="Button12" runat="server" Text="CALCULAR PRESUPUESTO" Visible="False" OnClick="Button12_Click" />
<asp:Button ID="Button14" runat="server" OnClick="Button14_Click" Text="REINICIAR PRESUPUESTO"
ValidationGroup="presupuesto" Visible="False" /><br />
<asp:Label ID="Label20" runat="server"></asp:Label><br />
</contenttemplate>
</asp:UpdatePanel>
...
  #7 (permalink)  
Antiguo 21/04/2009, 01:43
 
Fecha de Ingreso: diciembre-2008
Mensajes: 52
Antigüedad: 15 años, 5 meses
Puntos: 0
Respuesta: error: pageRequestManagerServerErrorException. help!

las partes importantes del codigo supongo que son estas dos:

<%@ Page Language="VB" AutoEventWireup="false" EnableEventValidation="true" CodeFile="ProbandoDiseño.aspx.vb" Inherits="ProbandoDiseño" %>

<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI" TagPrefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

...
<asp:ScriptManager id="ScriptManager1" runat="server">
</asp:ScriptManager>
  #8 (permalink)  
Antiguo 21/04/2009, 04:00
 
Fecha de Ingreso: diciembre-2008
Mensajes: 52
Antigüedad: 15 años, 5 meses
Puntos: 0
Respuesta: error: pageRequestManagerServerErrorException. help!

solucionado el error. era un problema de que habia varios FORM para la pagina. dejando un unico form para toda ella, funciona correctamente
  #9 (permalink)  
Antiguo 21/04/2009, 06:07
 
Fecha de Ingreso: octubre-2000
Mensajes: 1.692
Antigüedad: 23 años, 6 meses
Puntos: 19
Respuesta: error: pageRequestManagerServerErrorException. help!

Cita:
Iniciado por javitxin10 Ver Mensaje
solucionado el error. era un problema de que habia varios FORM para la pagina. dejando un unico form para toda ella, funciona correctamente
Gracias por compartir la solución,.
__________________
PD: Con amor, fe, amor a Dios y amistad podemos hacer un mundo mejor!!!!
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 09:01.