eutychus
  •  eutychus
  • 90.2% (Exalted)
  • YAF Lover Topic Starter
2016-11-16T19:54:22Z
I'm probaby just missing something here, so forgive me, but ...

I want to upgrade to 2.2.3. I downloaded the upgrade version and was about to upload it to my server when I noticed that the configuration files were included. Won't this cause me to lose the connection to the database or any other changes I might have made?
Sponsor
tha_watcha
2016-11-16T20:18:22Z
Did you download the upgrade package? In the Upgrade package the config files are not included.
UserPostedImage
eutychus
  •  eutychus
  • 90.2% (Exalted)
  • YAF Lover Topic Starter
2016-11-16T20:30:02Z
Yes, they are!

Untitled.png

Click to View Image51 View(s)

eutychus
  •  eutychus
  • 90.2% (Exalted)
  • YAF Lover Topic Starter
2016-11-18T16:33:54Z
Okay, so, I just deleted the config files from that package and uploaded it to my server. However now iyt's not recognizing 2.2.3 as the new upgrade.

  Untitled2.png (1,642kb) downloaded 41 time(s).
tha_watcha
2016-11-23T10:38:27Z
Yes the config files are there if you upgrade from an older version.

But if you follow the upgrade guide here...https://github.com/YAFNET/YAFNET/wiki/Upgrade-(from-Version-1.9.5.5-or-above) then you can see that you don't need to copy the folder to the server.

Quote:


Okay, so, I just deleted the config files from that package and uploaded it to my server. However now iyt's not recognizing 2.2.3 as the new upgrade.



Did you copy the bin folder with all the dlls?
UserPostedImage
eutychus
  •  eutychus
  • 90.2% (Exalted)
  • YAF Lover Topic Starter
2016-12-02T18:52:29Z
Okay, did that ... got an install screen with 2.2.3 listed. But ...

When I tried to do the upgrade it kicked back an error that you can see in that attached screenshot.

And when I tried to back out by restoring my backups, it gives me this error:

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

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

Source Error:


Line 1: <%@ Page Title="Forum" Language="VB" MasterPageFile="~/forum.Master" AutoEventWireup="true" CodeBehind="Forum.aspx.vb" Inherits="YAF.SampleWebApplication.Forum" %>
Line 2:
Line 3: <%@ Register TagPrefix="YAF" Assembly="YAF" Namespace="YAF" %>


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

Assembly Load Trace: The following information can be helpful to determine why the assembly 'YAF, Version=2.2.2.0, Culture=neutral, PublicKeyToken=8b49dc47f4701f66' could not be loaded.


WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Untitled.png

Click to View Image43 View(s)

tha_watcha
2016-12-03T05:40:17Z
You also need to update the YAF.SampleWebApplication.dll
UserPostedImage
eutychus
  •  eutychus
  • 90.2% (Exalted)
  • YAF Lover Topic Starter
2016-12-03T20:35:07Z
Okay, did that. Now it tries to do the update, but I still get the error I showed in the screenshot in my previous post.
eutychus
  •  eutychus
  • 90.2% (Exalted)
  • YAF Lover Topic Starter
2016-12-04T20:19:10Z
Barring a solution here, is there anyway to get it not to default to the install screen?
eutychus
  •  eutychus
  • 90.2% (Exalted)
  • YAF Lover Topic Starter
2016-12-04T22:43:34Z
Okay, I found a workaround that seemed to work. I went into the mssql/upgrade/constraints.sql file and commented out all of the functions that dealt with a TopicID constraint. The site is upgraded now, but does anyone have any idea how this may affect things in the future?

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