Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Gianluca 56 posts 79 karma points
    Sep 24, 2010 @ 12:40
    Gianluca
    0

    weird exception

    Hello everybody,

    At the very first load of a site built with Umbraco, I got this exception:

    At / (Referred by: ): 
    System.InvalidOperationException: This document already has a 'DocumentElement' node.     
    at System.Xml.XmlDocument.IsValidChildType(XmlNodeType type)     
    at System.Xml.XmlDocument.AppendChildForLoad(XmlNode newChild, XmlDocument doc)     
    at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)     
    at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)     
    at System.Xml.XmlDocument.Load(XmlReader reader)     
    at System.Xml.XmlDocument.Load(String filename)     
    at umbraco.cms.businesslogic.web.Access.get_AccessXml()     
    at umbraco.cms.businesslogic.web.Access.getPage(Int32 documentId)     
    at umbraco.cms.businesslogic.web.Access.IsProtected(Int32 DocumentId, String Path)     
    at umbraco.requestHandler..ctor(XmlDocument umbracoContent, String url)     
    at umbraco.UmbracoDefault.Page_PreInit(Object sender, EventArgs e)     
    at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)     
    at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)     
    at System.EventHandler.Invoke(Object sender, EventArgs e)     
    at System.Web.UI.Page.OnPreInit(EventArgs e)     
    at System.Web.UI.Page.PerformPreInit()     
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    What I've just pasted is what was in Umbraco Logs. On the other hand, on the client, I got this:

    An error occurred while processing your request.
    Request Details
    
    Session Id: 0rwspk1ezc2vj3ylbhqkyqjk    Request Type:   GET
    Time of Request:    24/09/2010 9.07.49  Status Code:    200
    Request Encoding:   Unicode (UTF-8) Response Encoding:  Unicode (UTF-8)
    Trace Information
    
    Category    Message From First(s)   From Last(s)
    aspx.page   Begin PreInit       
    aspx.page   End PreInit 2,30476219743012E-05    0,000023
    aspx.page   Begin Init  3,7644449224692E-05 0,000015
    aspx.page   End Init    8,01079466803742E-05    0,000042
    aspx.page   Begin InitComplete  9,17714402249448E-05    0,000012
    aspx.page   End InitComplete    0,000102806362261125    0,000011
    aspx.page   Begin PreLoad   0,000113282554067626    0,000010
    aspx.page   End PreLoad 0,000123828587152836    0,000011
    aspx.page   Begin Load  0,000134095255123207    0,000010
    aspx.page   End Load    0,0674483768188415  0,067314
    aspx.page   Begin LoadComplete  0,0675052974609902  0,000057
    aspx.page   End LoadComplete    0,0675259704794883  0,000021
    aspx.page   Begin PreRender 0,0675433609578871  0,000017
    aspx.page   End PreRender   0,0675625673095324  0,000019
    aspx.page   Begin PreRenderComplete 0,0675803069943247  0,000018
    aspx.page   End PreRenderComplete   0,0675973482663299  0,000017
    aspx.page   Begin SaveState 0,0676947768501304  0,000097
    aspx.page   End SaveState   0,0677072085977408  0,000012
    aspx.page   Begin SaveStateComplete 0,0677178943133834  0,000011
    aspx.page   End SaveStateComplete   0,0677282308226325  0,000010
    aspx.page   Begin Render    0,0677384974906029  0,000010
    aspx.page   End Render  0,0678236340093503  0,000085
    Control Tree
    
    Control UniqueID    Type    Render Size Bytes (including children)  ViewState Size Bytes (excluding children)   ControlState Size Bytes (excluding children)
    __Page  ASP.umbraco_plugins_poetpatcher_customerror_aspx    170 0   0
        ctl01   System.Web.UI.LiteralControl    12  0   0
        Head1   System.Web.UI.HtmlControls.HtmlHead 49  0   0
            ctl00   System.Web.UI.HtmlControls.HtmlTitle    25  0   0
        ctl02   System.Web.UI.LiteralControl    109 0   0
    Session State
    
    Session Key Type    Value
    Application State
    
    Application Key Type    Value
    umbracoUrl  System.String   mycms:80/umbraco
    umbracoNeedConfiguration    System.Boolean  False
    Request Cookies Collection
    
    Name    Value   Size
    Response Cookies Collection
    
    Name    Value   Size
    ASP.NET_SessionId   0rwspk1ezc2vj3ylbhqkyqjk    42
    Headers Collection
    
    Name    Value
    Connection  keep-alive
    Keep-Alive  115
    Accept  text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Charset  ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Accept-Encoding gzip,deflate
    Accept-Language en-us,en;q=0.5
    Host    <ip1>.<ip2>.<ip3>.<ip4>:8081
    User-Agent  Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10) Gecko/20100915 Linux Mint/8 (Helena) Firefox/3.6.10
    Response Headers Collection
    
    Name    Value
    Set-Cookie  ASP.NET_SessionId=0rwspk1ezc2vj3ylbhqkyqjk; path=/; HttpOnly
    Cache-Control   private
    Content-Type    text/html
    Form Collection
    
    Name    Value
    Querystring Collection
    
    Name    Value
    Server Variables
    
    Name    Value
    ALL_HTTP    HTTP_CONNECTION:keep-alive HTTP_KEEP_ALIVE:115 HTTP_ACCEPT:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 HTTP_ACCEPT_CHARSET:ISO-8859-1,utf-8;q=0.7,*;q=0.7 HTTP_ACCEPT_ENCODING:gzip,deflate HTTP_ACCEPT_LANGUAGE:en-us,en;q=0.5 HTTP_HOST:<ip1>.<ip2>.<ip3>.<ip4>:8081 HTTP_USER_AGENT:Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10) Gecko/20100915 Linux Mint/8 (Helena) Firefox/3.6.10
    ALL_RAW Connection: keep-alive Keep-Alive: 115 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Accept-Encoding: gzip,deflate Accept-Language: en-us,en;q=0.5 Host: <ip1>.<ip2>.<ip3>.<ip4>:8081 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10) Gecko/20100915 Linux Mint/8 (Helena) Firefox/3.6.10
    APPL_MD_PATH    /LM/W3SVC/4/ROOT
    APPL_PHYSICAL_PATH  d:\Progetti\mycms\cms\
    AUTH_TYPE    
    AUTH_USER    
    AUTH_PASSWORD    
    LOGON_USER   
    REMOTE_USER  
    CERT_COOKIE  
    CERT_FLAGS   
    CERT_ISSUER  
    CERT_KEYSIZE     
    CERT_SECRETKEYSIZE   
    CERT_SERIALNUMBER    
    CERT_SERVER_ISSUER   
    CERT_SERVER_SUBJECT  
    CERT_SUBJECT     
    CONTENT_LENGTH  0
    CONTENT_TYPE     
    GATEWAY_INTERFACE   CGI/1.1
    HTTPS   off
    HTTPS_KEYSIZE    
    HTTPS_SECRETKEYSIZE  
    HTTPS_SERVER_ISSUER  
    HTTPS_SERVER_SUBJECT     
    INSTANCE_ID 4
    INSTANCE_META_PATH  /LM/W3SVC/4
    LOCAL_ADDR  172.16.2.90
    PATH_INFO   /default.aspx
    PATH_TRANSLATED d:\Progetti\mycms\cms\default.aspx
    QUERY_STRING     
    REMOTE_ADDR 89.96.10.8
    REMOTE_HOST 89.96.10.8
    REMOTE_PORT 33056
    REQUEST_METHOD  GET
    SCRIPT_NAME /default.aspx
    SERVER_NAME <ip1>.<ip2>.<ip3>.<ip4>
    SERVER_PORT 8081
    SERVER_PORT_SECURE  0
    SERVER_PROTOCOL HTTP/1.1
    SERVER_SOFTWARE Microsoft-IIS/7.0
    URL /default.aspx
    HTTP_CONNECTION keep-alive
    HTTP_KEEP_ALIVE 115
    HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7
    HTTP_ACCEPT_ENCODING    gzip,deflate
    HTTP_ACCEPT_LANGUAGE    en-us,en;q=0.5
    HTTP_HOST   <ip1>.<ip2>.<ip3>.<ip4>:8081
    HTTP_USER_AGENT Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10) Gecko/20100915 Linux Mint/8 (Helena) Firefox/3.6.10
    Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

    Does anyone know the reason/cause? After this first error, all subsequent requests seemed to be just fine. 

     

    Thanks in advance,

    Cheers,

    Gianluca

     

  • Stephen 767 posts 2273 karma points c-trib
    Oct 11, 2010 @ 16:31
  • Gianluca 56 posts 79 karma points
    Dec 02, 2010 @ 15:12
    Gianluca
    0

    Thank you Stephen.

    Cheers,

    Gianluca

Please Sign in or register to post replies

Write your reply to:

Draft