Posted by: SteBruBra - Sunday, 23 April 2017 15:58:05 |
---|
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: [code=csharp] 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 [/code] Does anybody know, what to do? Thanks!!! |
Posted by: tha_watcha - Monday, 1 May 2017 09:50:30 |
---|
[quote=SteBruBra;69896]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: [code=csharp] 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 [/code] Does anybody know, what to do? Thanks!!![/quote] The YafHeader really works only inside a forumpage. You get the error because the DialogBox Control is not found on your page. |