YAFLogo

cheing
  • cheing
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
10 years ago
I have to add new post to forum but i get the error.

Server Error in '/' Application.

Unable to cast object of type 'ASP.pages_postmessage_ascx' to type 'YAF.Core.ForumPage'.

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.InvalidCastException: Unable to cast object of type 'ASP.pages_postmessage_ascx' to type 'YAF.Core.ForumPage'.

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:

[InvalidCastException: Unable to cast object of type 'ASP.pages_postmessage_ascx' to type 'YAF.Core.ForumPage'.]

YAF.Forum.Forum_Load(Object sender, EventArgs e) +174

System.EventHandler.Invoke(Object sender, EventArgs e) +0

System.Web.UI.Control.OnLoad(EventArgs e) +99

System.Web.UI.Control.LoadRecursive() +50

System.Web.UI.Control.LoadRecursive() +141

System.Web.UI.Control.LoadRecursive() +141

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

May i know how to solve this problem thanks?

Sponsor

bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
10 years ago
cheing
  • cheing
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
10 years ago
Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
10 years ago
Does it happen every time?
cheing
  • cheing
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
10 years ago
Thanks i get the solution already, just some files corrupt after reupload the problem solved. thanks
doxa123
  • doxa123
  • 100% (Exalted)
  • YAF All-the-Time
10 years ago
The same error, it was on the 1.9.5 RTW. Now I'm using 1.9.5.6 RC1 and there is no more this error.