Copied to clipboard

Flag this post as spam?

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


  • Bobby Perez 13 posts 33 karma points
    Jun 02, 2011 @ 00:45
    Bobby Perez
    0

    User Login setup

    Hi, I'm totally new here, I have some backgroud with regards to using asp.net and umbraco.

    I'm recieving errors after I logged in my user.

    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.]
       System.Web.Security.Membership.GetCurrentUserName() +68
       System.Web.Security.Membership.GetUser() +17
       umbraco.requestHandler..ctor(XmlDocument umbracoContent, String url) +8037
       umbraco.UmbracoDefault.Page_PreInit(Object sender, EventArgs e) +2534
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +24
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +41
       System.EventHandler.Invoke(Object sender, EventArgs e) +0
       System.Web.UI.Page.OnPreInit(EventArgs e) +11038589
       System.Web.UI.Page.PerformPreInit() +41
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1255 
  • Brad Hunt 26 posts 57 karma points
    Jun 03, 2011 @ 18:02
    Brad Hunt
    0

    Bobby,

    Can you explain a little more about have you have your login form setup and how it is integrated into Umbraco?

    For example, did you right click on a content item in the tree and select Public Access and then select a login page and an error page?

    Are you using an ASP.net login control?

    Brad

     

Please Sign in or register to post replies

Write your reply to:

Draft