#1
Guten Tag,

ich hatte eben das Update (https://github.com/YAFNET/YAFNET/releases/download/v2.2.4.15/YAF-v2.2.4.15-Upgrade.zip) eingespielt. Vorherige Version war soweit ich noch weiss 2.1.x. Nun treten bei Aufruf vieler Seite fehler auf. Z.B.:

/forum/cp_changepassword


Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 

Compiler Error Message: CS1061: 'ASP.forum_pages_cp_changepassword_ascx' does not contain a definition for 'ChangeSecurityAnswerClick' and no extension method 'ChangeSecurityAnswerClick' accepting a first argument of type 'ASP.forum_pages_cp_changepassword_ascx' could be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 137:        <tr>
Line 138:            <td colspan="2" class="footer1" align="center">
Line 139:                <YAF:ThemeButton ID="ChangeSecurityAnswer" runat="server"
Line 140:                             TextLocalizedTag="TITLE_SECURITY" OnClick="ChangeSecurityAnswerClick" />
Line 141:            </td>

Source File: \wwwroot\forum\pages\cp_changepassword.ascx    Line: 139 



/forum/cp_editprofile


Server Error in '/' Application.

Specified cast is not valid.

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: Specified cast is not valid.

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: Specified cast is not valid.]
   System.Data.UnboxT`1.ValueField(Object value) +49
   System.Data.DataRowExtensions.Field(DataRow row, String columnName) +49
   YAF.Core.CombinedUserDataHelper.get_TimeZone() +24
   YAF.Controls.EditUsersProfile.BindData() +2817
   YAF.Controls.EditUsersProfile.Page_Load(Object sender, EventArgs e) +1149
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


Hat Jemand vielleicht eine Ahnung?

Beste Grüße
Alex
Topic Starter
  • aLx
  • Rank: YAF Forumling
  • Reputation:
    Neutral
    51.2%
  • Joined: 27/03/2019
  • Posts: 2
#2
Problem was is missed step 3:

The YAF \Bin directory must be in your application root.
Topic Starter
  • aLx
  • Rank: YAF Forumling
  • Reputation:
    Neutral
    51.2%
  • Joined: 27/03/2019
  • Posts: 2
Users browsing this topic

Similar Topics
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