none
Erro no aps.net com EXT.NET 1.5 RRS feed

  • Pergunta

  • Algúem sabe me dizer o que é ou seria esse erro:

    Erro de Servidor no Aplicativo '/'.

    The ResourceManager Control is missing from this Page.

    Please add the following ResourceManager tag inside the <body> or <form runat="server"> of this Page.

    Example

       <ext:ResourceManager runat="server" />

    Descrição: Ocorreu uma exceção sem tratamento durante a execução da atual solicitação da Web. Examine o rastreamento de pilha para obter mais informações sobre o erro e onde foi originado no código. 

    Detalhes da Exceção: System.InvalidOperationException: The ResourceManager Control is missing from this Page.

    Please add the following ResourceManager tag inside the <body> or <form runat="server"> of this Page.

    Example

       <ext:ResourceManager runat="server" />

    Erro de Origem: 
    Exceção sem tratamento foi gerada durante a execução da atual solicitação da Web. As informações relacionadas à origem e ao local da exceção podem ser identificadas usando-se o rastreamento de pilha de exceção abaixo.

    Rastreamento de Pilha: 
    [InvalidOperationException: The ResourceManager Control is missing from this Page.
    
    Please add the following ResourceManager tag inside the <body> or <form runat="server"> of this Page.
    
    Example
    
        <ext:ResourceManager runat="server" />]
       Ext.Net.XControl.get_ResourceManager() in C:\Users\Geoffrey McGill\Documents\Visual Studio 2010\Projects\Ext.NET\v1\Ext.Net\Core\XControl\ResourceManager.cs:117
       Ext.Net.XControl.OnClientInit(Boolean reinit) in C:\Users\Geoffrey McGill\Documents\Visual Studio 2010\Projects\Ext.NET\v1\Ext.Net\Core\XControl\Lifecycle.cs:285
       Ext.Net.Observable.OnClientInit(Boolean reinit) in C:\Users\Geoffrey McGill\Documents\Visual Studio 2010\Projects\Ext.NET\v1\Ext.Net\Ext\Util\Observable.cs:556
       Ext.Net.XControl.SetResources() in C:\Users\Geoffrey McGill\Documents\Visual Studio 2010\Projects\Ext.NET\v1\Ext.Net\Core\XControl\ResourceManager.cs:191
       Ext.Net.XControl.PreRenderAction() in C:\Users\Geoffrey McGill\Documents\Visual Studio 2010\Projects\Ext.NET\v1\Ext.Net\Core\XControl\Lifecycle.cs:456
       Ext.Net.Observable.PreRenderAction() in C:\Users\Geoffrey McGill\Documents\Visual Studio 2010\Projects\Ext.NET\v1\Ext.Net\Ext\Util\Observable.cs:637
       Ext.Net.XControl.Render(HtmlTextWriter writer) in C:\Users\Geoffrey McGill\Documents\Visual Studio 2010\Projects\Ext.NET\v1\Ext.Net\Core\XControl\Lifecycle.cs:859
       Ext.Net.ContainerBase.Render(HtmlTextWriter writer) in C:\Users\Geoffrey McGill\Documents\Visual Studio 2010\Projects\Ext.NET\v1\Ext.Net\Ext\ContainerBase.cs:934
       Ext.Net.PanelBase.Render(HtmlTextWriter writer) in C:\Users\Geoffrey McGill\Documents\Visual Studio 2010\Projects\Ext.NET\v1\Ext.Net\Ext\PanelBase.cs:161
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
       System.Web.UI.Control.Render(HtmlTextWriter writer) +10
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
       System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +173
       System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +31
       System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +53
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
       System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
       System.Web.UI.Control.Render(HtmlTextWriter writer) +10
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
       System.Web.UI.Page.Render(HtmlTextWriter writer) +29
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3060
    


    Informações sobre a Versão: Microsoft .NET Framework Versão:4.0.30319; Versão do ASP.NET:4.0.30319.272

    <%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication2.Publico.WebForm1" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    </asp:Content>
    <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
        <ext:Window ID="Window1" runat="server" Collapsible="true" Height="185" Icon="Application"
             Width="350" Popup="true" Minimizable="false" EnableClose="false" IconUrl="~/Figuras/lock.png"
            Title="iSnapWEB - Autenticação">
            <Items>
            <ext:Panel ID="Panel3" runat="server" BodyPadding="5px" EnableBackgroundColor="True"
                    Title="" Height="225px" ShowBorder="False" ShowHeader="False" Width="290px">
                    <Items>
                        <ext:Image ID="Image1" runat="server" ImageHeight="216px" ImageUrl="~/Figuras/Site007.jpg"
                            ImageWidth="288px" Label="Label" ShowLabel="False" ToolTipAutoHide="True">
                        </ext:Image>
                    </Items>
                </ext:Panel>
    
                <ext:FormPanel ID="FormPanel1" runat="server" ButtonAlign="Right" Height="185" Padding="5"
                    Title="Title" Width="300">
                    <Items>
                        <ext:TextField ID="TextField1" runat="server" AnchorHorizontal="100%" FieldLabel="Label">
                        </ext:TextField>
                    </Items>
                    <Buttons>
                        <ext:Button ID="Button1" runat="server" Icon="Disk" Text="Submit">
                        </ext:Button>
                    </Buttons>
                </ext:FormPanel>
            </Items>
        </ext:Window>
     
    </asp:Content>

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    
    namespace WebApplication2
    {
        public partial class _Default : System.Web.UI.Page
        {
            protected void Page_Load(object sender, EventArgs e)
            {
                Response.Redirect("~/Publico/Default.aspx");
            }
        }
    }
    


    sexta-feira, 10 de agosto de 2012 01:04

Respostas

  • Blz Tucão??? cara eu coloquei esse cara:

    <ext:ResourceManager runat="server" />  logo abaixo do content desta forma:
    <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
     <ext:ResourceManager ID="ResourceManager1" runat="server" /> 

    E funcionou!!!

    Se a resposta foi útil por favor confirme como resposta válida!!!


    sexta-feira, 10 de agosto de 2012 02:38

Todas as Respostas

  • Blz Tucão??? cara eu coloquei esse cara:

    <ext:ResourceManager runat="server" />  logo abaixo do content desta forma:
    <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
     <ext:ResourceManager ID="ResourceManager1" runat="server" /> 

    E funcionou!!!

    Se a resposta foi útil por favor confirme como resposta válida!!!


    sexta-feira, 10 de agosto de 2012 02:38
  • vou testar ai aki agora
    sexta-feira, 10 de agosto de 2012 21:22
  • Qualquer coisa avisa ae!!!

    Se a resposta foi útil por favor qualifique! Janderson Candido de Mattos - MCTS

    sábado, 11 de agosto de 2012 01:27