SteBruBra
  • Posts: 4
  • Joined: 12/03/2017
Hello,

we've created an own portal for YAF. See here: http://www2.astrotreff-deep-sky.de/portal.aspx 
In the Portal, we had integrated the YafHeader.

Everything works fine except the logout. Getting this error:


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: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

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: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.]
   YAF.Controls.YafHeader.LogOutClick(Object sender, EventArgs e) +187
   System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +142
   System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +147
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6015


Does anybody know, what to do? Thanks!!!
Sponsor
tha_watcha
  • Posts: 4132
  • Joined: 06/03/2010
Originally Posted by: SteBruBra 

Hello,

we've created an own portal for YAF. See here: http://www2.astrotreff-deep-sky.de/portal.aspx 
In the Portal, we had integrated the YafHeader.

Everything works fine except the logout. Getting this error:


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: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

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: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.]
   YAF.Controls.YafHeader.LogOutClick(Object sender, EventArgs e) +187
   System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +142
   System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +147
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6015


Does anybody know, what to do? Thanks!!!



The YafHeader really works only inside a forumpage. You get the error because the DialogBox Control is not found on your page.

UserPostedImage
Users browsing this topic
    Forum Jump  
    • You cannot post new topics in this forum.
    • You cannot reply to topics in this forum.
    • You cannot delete your posts in this forum.
    • You cannot edit your posts in this forum.
    • You cannot create polls in this forum.
    • You cannot vote in polls in this forum.

    About Us

    The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

    Powered by Resharper Donate with PayPal button

    Project Twitter Updates

    Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved