SteBruBra
  •  SteBruBra
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
2017-04-23T13:58:05Z
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
2017-05-01T07:50:30Z
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

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