Copied to clipboard

Flag this post as spam?

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


  • Paul Marden 233 posts 335 karma points c-trib
    May 04, 2010 @ 15:17
    Paul Marden
    0

    Problem with Member Protected Page on LIVE SERVER

    I'm still investigating this, but as it's a live site I thought I'd shout for help now to see if anyone has any ideas.

    I've got some member protected pages which I haven't touched for a while, but which have been working OK (gets regular traffic every day and no one has complained of a bug until today).

    So when you visit the page not logged in, it presents the login page.  If you are logged in and visit the page you get the error shown at the bottom.  I did a logout/login to make sure it wasn't the session expiring and that made no difference.

    Vital stats are:

     

    • Umbraco v4.0.1
    • Windows Server 2003 Web Edition SP2
    • SQL Server 2005 Express Edition
    Server Error in '/' Application.
    
    Object reference not set to an instance of an object.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    
    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
    
    Source Error: 
    
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    
    Stack Trace: 
    
    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco.requestHandler..ctor(XmlDocument _umbracoContent, String url) +3724
       umbraco.UmbracoDefault.Page_PreInit(Object sender, EventArgs e) +903
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
       System.EventHandler.Invoke(Object sender, EventArgs e) +0
       System.Web.UI.Page.OnPreInit(EventArgs e) +8698174
       System.Web.UI.Page.PerformPreInit() +31
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +282
    
    
    Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
    
    Request Details
    
    Session Id: kio5hoqew1b3puahvbgh2145    Request Type:   GET
    Time of Request:    03/05/2010 14:07:14 Status Code:    500
    Request Encoding:   Unicode (UTF-8) Response Encoding:  Unicode (UTF-8)
    Trace Information
    
    Category    Message From First(s)   From Last(s)
    aspx.page   Begin PreInit       
    umbracoInit handling request    1.67619068904009E-05    0.000017
    request handler current url '/membership/downloads.aspx'    6.06222299202832E-05    0.000044
    umbracoRequestHandler   xpath: '/node [@urlName = "airways-flying-club"]/node [@urlName = "membership"]/node [@urlName = "downloads"]'  0.000163149227066569    0.000103
    umbracoRequestHandler   Just before xPath query (False, '/root/node [@urlName = "airways-flying-club"]/node [@urlName = "membership"]/node [@urlName = "downloads"]')   0.000242488919681133    0.000079
    umbracoRequestHandler   pageXPathQueryStart: '/root'    0.000257574635882493    0.000015
    umbracoRequestHandler   Adding to cache... ('www.airwaysflyingclub.co.uk/membership/downloads.aspx')    0.00057353658076655 0.000316
    umbracoRequestHandler   After xPath query   0.000589460392312431    0.000016
    umbracoRequestHandler   Access checking started 0.000615441347992552    0.000026
    umbracoRequestHandler   Page protected  0.000632482619997793    0.000017
    No member with loginname:  Exists   0.00165859068680517 0.001026
    Unhandled Execution Error   
    Object reference not set to an instance of an object.
      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) 0.00178570181405737 0.000127
    Control Tree
    
    Control UniqueID    Type    Render Size Bytes (including children)  ViewState Size Bytes (excluding children)   ControlState Size Bytes (excluding children)
    __Page  ASP.default_aspx    0   0   0
    Session State
    
    Session Key Type    Value
    windowHeight    System.String   916
    windowWidth System.String   1920
    Application State
    
    Application Key Type    Value
    umbracoUrl  System.String   www.wycombeairpark.co.uk:80/umbraco
    umbracoNeedConfiguration    System.Boolean  False
    Request Cookies Collection
    
    Name    Value   Size
    __utmz  (86022664.1272020885.29.3.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=www.airwaysflyingclub%5D)    109
    sifrFetch   true    14
    ASP.NET_SessionId   kio5hoqew1b3puahvbgh2145    42
    UserContext 94393abc-966b-4b15-90dc-d8dbb51d0e5f    48
    updateCheck 1   13
    umbracoMemberId 1907    20
    umbracoMemberGuid   4c5b9425-3fd3-4b02-b858-03ad13d4e3c1    54
    umbracoMemberLogin  pmarden 26
    __utma  86022664.1830176929.1254847444.1272637754.1272977639.32 62
    __utmc  86022664    15
    __utmb  86022664.8.10.1272977639    31
    Response Cookies Collection
    
    Name    Value   Size
    yourAuthCookie  F83D83C9F016CF7936A0AD722CBC4012FFF9D1CA4ED5E34A8F342598EDB3A5B49EBF7232665C7B3D4A8D9103AF3E2468BCBE385CC6D6E52F9A71464F5237647F28A22F651BB938578AB8225A9B67EF7C    175
    Headers Collection
    
    Name    Value
    Cache-Control   max-age=0
    Connection  keep-alive
    Accept  application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    Accept-Charset  ISO-8859-1,utf-8;q=0.7,*;q=0.3
    Accept-Encoding gzip,deflate,sdch
    Accept-Language en-GB,en-US;q=0.8,en;q=0.6
    Cookie  __utmz=86022664.1272020885.29.3.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=www.airwaysflyingclub%5D; sifrFetch=true; ASP.NET_SessionId=kio5hoqew1b3puahvbgh2145; UserContext=94393abc-966b-4b15-90dc-d8dbb51d0e5f; updateCheck=1; umbracoMemberId=1907; umbracoMemberGuid=4c5b9425-3fd3-4b02-b858-03ad13d4e3c1; umbracoMemberLogin=pmarden; __utma=86022664.1830176929.1254847444.1272637754.1272977639.32; __utmc=86022664; __utmb=86022664.8.10.1272977639
    Host    www.airwaysflyingclub.co.uk
    Referer http://www.airwaysflyingclub.co.uk/register/login.aspx
    User-Agent  Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1064 Safari/532.5
    Response Headers Collection
    
    Name    Value
    X-AspNet-Version    2.0.50727
    Cache-Control   private
    Content-Type    text/html
    Form Collection
    
    Name    Value
    Querystring Collection
    
    Name    Value
    Server Variables
    
    Name    Value
    ALL_HTTP    HTTP_CACHE_CONTROL:max-age=0 HTTP_CONNECTION:keep-alive HTTP_ACCEPT:application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 HTTP_ACCEPT_CHARSET:ISO-8859-1,utf-8;q=0.7,*;q=0.3 HTTP_ACCEPT_ENCODING:gzip,deflate,sdch HTTP_ACCEPT_LANGUAGE:en-GB,en-US;q=0.8,en;q=0.6 HTTP_COOKIE:__utmz=86022664.1272020885.29.3.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=www.airwaysflyingclub%5D; sifrFetch=true; ASP.NET_SessionId=kio5hoqew1b3puahvbgh2145; UserContext=94393abc-966b-4b15-90dc-d8dbb51d0e5f; updateCheck=1; umbracoMemberId=1907; umbracoMemberGuid=4c5b9425-3fd3-4b02-b858-03ad13d4e3c1; umbracoMemberLogin=pmarden; __utma=86022664.1830176929.1254847444.1272637754.1272977639.32; __utmc=86022664; __utmb=86022664.8.10.1272977639 HTTP_HOST:www.airwaysflyingclub.co.uk HTTP_REFERER:http://www.airwaysflyingclub.co.uk/register/login.aspx HTTP_USER_AGENT:Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1064 Safari/532.5
    ALL_RAW Cache-Control: max-age=0 Connection: keep-alive Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-GB,en-US;q=0.8,en;q=0.6 Cookie: __utmz=86022664.1272020885.29.3.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=www.airwaysflyingclub%5D; sifrFetch=true; ASP.NET_SessionId=kio5hoqew1b3puahvbgh2145; UserContext=94393abc-966b-4b15-90dc-d8dbb51d0e5f; updateCheck=1; umbracoMemberId=1907; umbracoMemberGuid=4c5b9425-3fd3-4b02-b858-03ad13d4e3c1; umbracoMemberLogin=pmarden; __utma=86022664.1830176929.1254847444.1272637754.1272977639.32; __utmc=86022664; __utmb=86022664.8.10.1272977639 Host: www.airwaysflyingclub.co.uk Referer: http://www.airwaysflyingclub.co.uk/register/login.aspx User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1064 Safari/532.5
    APPL_MD_PATH    /LM/W3SVC/23923/ROOT
    APPL_PHYSICAL_PATH  D:\home\Default\bafc.co.uk\htdocs\
    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 23923
    INSTANCE_META_PATH  /LM/W3SVC/23923
    LOCAL_ADDR  213.171.198.250
    PATH_INFO   /default.aspx
    PATH_TRANSLATED D:\home\Default\bafc.co.uk\htdocs\default.aspx
    QUERY_STRING     
    REMOTE_ADDR 90.152.3.130
    REMOTE_HOST 90.152.3.130
    REMOTE_PORT 33464
    REQUEST_METHOD  GET
    SCRIPT_NAME /default.aspx
    SERVER_NAME www.airwaysflyingclub.co.uk
    SERVER_PORT 80
    SERVER_PORT_SECURE  0
    SERVER_PROTOCOL HTTP/1.1
    SERVER_SOFTWARE Microsoft-IIS/6.0
    URL /default.aspx
    HTTP_CACHE_CONTROL  max-age=0
    HTTP_CONNECTION keep-alive
    HTTP_ACCEPT application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.3
    HTTP_ACCEPT_ENCODING    gzip,deflate,sdch
    HTTP_ACCEPT_LANGUAGE    en-GB,en-US;q=0.8,en;q=0.6
    HTTP_COOKIE __utmz=86022664.1272020885.29.3.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=www.airwaysflyingclub%5D; sifrFetch=true; ASP.NET_SessionId=kio5hoqew1b3puahvbgh2145; UserContext=94393abc-966b-4b15-90dc-d8dbb51d0e5f; updateCheck=1; umbracoMemberId=1907; umbracoMemberGuid=4c5b9425-3fd3-4b02-b858-03ad13d4e3c1; umbracoMemberLogin=pmarden; __utma=86022664.1830176929.1254847444.1272637754.1272977639.32; __utmc=86022664; __utmb=86022664.8.10.1272977639
    HTTP_HOST   www.airwaysflyingclub.co.uk
    HTTP_REFERER    http://www.airwaysflyingclub.co.uk/register/login.aspx
    HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1064 Safari/532.5
    Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
    
    
    


  • Lee 1123 posts 3059 karma points
    May 04, 2010 @ 15:36
    Lee
    0

    Have you recently moved this site from IIS6 to IIS7?

  • Paul Marden 233 posts 335 karma points c-trib
    May 04, 2010 @ 15:37
    Paul Marden
    0

    Nope haven't touched the machine for a while. Unless of course Windows Update has done something I wasn't expecting.

  • Paul Marden 233 posts 335 karma points c-trib
    May 04, 2010 @ 15:41
    Paul Marden
    0

    The only changes on the server are Security Patches installed by Windows Update.

  • Lee 1123 posts 3059 karma points
    May 04, 2010 @ 15:46
    Lee
    0

    Ok just thought I would check, I had a weird issue with membership which worked fine on an old site but I moved it from IIS6 to IIS7 and got a similar error - I'll try and find the thread and post it here in case it helps

  • Lee 1123 posts 3059 karma points
    May 04, 2010 @ 15:50
  • Paul Marden 233 posts 335 karma points c-trib
    May 04, 2010 @ 21:52
    Paul Marden
    0

    OK so I've upgraded to 4.0.3 and now the member controls don't work at all.  BUT there is some strange behaviour on this instance.  When I'm logged in to the back end after about 10 minutes the session times out and sends me to the log-in screen even though I've been active during that time.

    Does this ring a bell for anyone?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies