YAFLogo

pwashburn@aol.com
9 years ago
Upgraded from YAF 2.0.0 to 2.2.2 following the upgrade instructions. Ran forum/install/default.aspx without problems. When going from that to the forum home page get the following error:

Parser Error Message: Could not load file or assembly 'YAF, Version=2.0.0.0, Culture=neutral, PublicKeyToken=f3828393ba2d803c' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Anyone have an idea where this is being referenced from? Not finding any references in web.config or app.config.

YAF is installed and running out of a parent website. It is installed in \forum and was working before the upgrade. The upgrade instructions say to move all files in \bin up to \bin in the parent directory. This was done. However, I see that there exists some YAF.SampleApplications dll's that weren't in the new 2.2.2 \bin directory. If I delete those and try running the website, I get the following error:

--------

Parser Error Message: Could not load type 'YAF.SampleWebApplication.Forum'.

Source Error:

Line 1: <%@ Page Title="Forum" Language="C#" MasterPageFile="~/MasterPage/MasterPageC.master" AutoEventWireup="true"

Line 2: CodeBehind="Forum.aspx.cs" Inherits="YAF.SampleWebApplication.Forum" %>

Line 3: <%@ Register TagPrefix="YAF" Assembly="YAF" Namespace="YAF" %>

Source File: /forum/forum.aspx Line: 1

---------

Any ideas where YAF is still finding the old 2.0.0 references?

Sponsor
Zero2Cool
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader YAF Version: YAF 3.1.16
9 years ago
Check your config files for a reference to 2.0 and very important, check the version of your YAF DLL.
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
9 years ago
You also need to update the Sample Application. Or recompile it with the updated YAF dlls