0
votes

So I've upgraded from Sitefinity 4.4 to 5.1 and the new built-in Forums aren't loading. Here's what I'm seeing:

enter image description here

I've compared my configuration files and everything seems to be in order. The only item I see relating to forums in the App_Code\Sitefinity\Configuration\ForumsConfig.config file which is listed below:

<?xml version="1.0" encoding="utf-8"?>
<forumsConfig xmlns:config="urn:telerik:sitefinity:configuration" xmlns:type="urn:telerik:sitefinity:configuration:type" config:version="5.1.3450.0">
    <notifications newPostNotificationTemplateId="2749c96b-6fe0-4796-828c-086d4fc928dd" newThreadNotificationTemplateId="f05b4fe5-752e-4fe4-b41c-69c81b73e424" />
</forumsConfig>

If anyone knows where else to look, please let me know. I bet it's in the DB somewhere, but I have no idea where to start...


Edit: So, I've now copied my new files to the DEV server with the old configuration files from before the upgrade. When this happens, I now get the following error immediately on the page load:

Could not load file or assembly 'Telerik.Sitefinity, Version=4.4.2117.0, Culture=neutral, PublicKeyToken=b28c218413bdf563' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

So I went in and updated any reference to 4.4.2117.0 in the configuration files to 5.1.3450.0 (except in the SystemConfig.config file). Most of these changes were modifying the XML's root node's config:version property.

Ran the site again, and still got the same error. So I found some information about putting the following into the web.config file for each file it complains about (yep, this happened 4 times):

<runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Telerik.Sitefinity" publicKeyToken="b28c218413bdf563" culture="neutral"/>
        <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="5.1.3450.0"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Telerik.Sitefinity.Model" publicKeyToken="b28c218413bdf563" culture="neutral"/>
        <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="5.1.3450.0"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Telerik.OpenAccess" publicKeyToken="7CE17EEAF1D59342" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="2012.2.628.2" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Telerik.Sitefinity.Utilities" publicKeyToken="b28c218413bdf563" culture="neutral"/>
        <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="5.1.3450.0"/>
      </dependentAssembly>
    </assemblyBinding>
  </runtime>

Now, I get the following error:

Could not load type 'Telerik.Sitefinity.Publishing.PipeFactory' from assembly 'Telerik.Sitefinity, Version=5.1.3450.0, Culture=neutral, PublicKeyToken=b28c218413bdf563'.

I've already change the system to point Telerik.Sitefinity to use the latest version, but now the site won't load at all.

1

1 Answers

2
votes

when you upgraded the site to 5.1, in addition to the regular upgrade steps here: http://www.sitefinity.com/documentation/documentationarticles/installation-and-administration-guide/upgrade

did you also complete the steps here: http://www.sitefinity.com/documentation/documentationarticles/upgrading-sitefinity-4.3-and-4.4-projects

and here: http://www.sitefinity.com/documentation/documentationarticles/upgrading-the-web.config-and-the-sitefinitywebapp.csproj-files

in the latter step you have to add a referece to the forums.dll, as well as some other web.config stuff that might affect the project's ability to load the resources that appear to be missing...

if you did complete all the steps let me know and I'll see what else I can come up with :)

I hope this is helpful!