Site crashed while updating from 6.0 to 6.1

Posted by Community Admin on 03-Aug-2018 19:04

Site crashed while updating from 6.0 to 6.1

All Replies

Posted by Community Admin on 07-Aug-2013 00:00

Here is the error I'm getting:

Server Error in '/' Application.

Could not load file or assembly 'Telerik.Sitefinity,
Version=5.4.4000.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)



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.IO.FileLoadException:
Could not load file or assembly 'Telerik.Sitefinity, Version=5.4.4000.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)



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.








Assembly Load Trace: The following information can be
helpful to determine why the assembly 'Telerik.Sitefinity,
Version=5.4.4000.0, Culture=neutral, PublicKeyToken=b28c218413bdf563'
could not be loaded.






=== Pre-bind state information ===
LOG: User = WEB1\Administrator
LOG: DisplayName = Telerik.Sitefinity, Version=5.4.4000.0, Culture=neutral, PublicKeyToken=b28c218413bdf563
(Fully-specified)
LOG: Appbase = file:///D:/Annapolis - Copy/
LOG: Initial PrivatePath = D:\Annapolis - Copy\bin
Calling assembly : EF.SitemapGenerator, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: D:\Annapolis - Copy\web.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Redirect found in application configuration file: 5.4.4000.0 redirected to 6.0.4210.0.
LOG: Post-policy reference: Telerik.Sitefinity, Version=6.0.4210.0, Culture=neutral, PublicKeyToken=b28c218413bdf563
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/f06e9c37/bcda4015/Telerik.Sitefinity.DLL.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/f06e9c37/bcda4015/Telerik.Sitefinity/Telerik.Sitefinity.DLL.
LOG: Attempting download of new URL file:///D:/Annapolis - Copy/bin/Telerik.Sitefinity.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Minor Version
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.









Stack Trace:






[FileLoadException: Could not load file or assembly 'Telerik.Sitefinity, Version=5.4.4000.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)]

[FileLoadException: Could not load file or assembly 'Telerik.Sitefinity, Version=6.0.4210.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)]
EF.SitemapGenerator.Initialization.InitializeRoutine.PreAppStartMethod() +0

[InvalidOperationException: The pre-application start initialization method PreAppStartMethod on type EF.SitemapGenerator.Initialization.InitializeRoutine threw an exception with the following error message: Could not load file or assembly 'Telerik.Sitefinity, Version=6.0.4210.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).]
System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +423
System.Web.Compilation.BuildManager.CallPreStartInitMethods() +306
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +677

[HttpException (0x80004005): The pre-application start initialization method PreAppStartMethod on type EF.SitemapGenerator.Initialization.InitializeRoutine threw an exception with the following error message: Could not load file or assembly 'Telerik.Sitefinity, Version=6.0.4210.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).]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9104200
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +258











Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

Posted by Community Admin on 07-Aug-2013 00:00

" Redirect found in application configuration file: 5.4.4000.0 redirected to 6.0.4210.0."

Check the webconfig.  There's a binding redirect point to 6.0.4210.0, change that to 6.1.4300.0

Posted by Community Admin on 07-Aug-2013 00:00

You have an assembly binding redirect in your web.config which is point to 6.0.4210.0 instead on 6.1.4300.0.  Looks like you are using the Sitemap Generator plugin.  Here are my redirects for my 6.1 site using the Sitemap Generator.

<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="6.1.4300.0"/>
            </dependentAssembly>
         <dependentAssembly>
                <assemblyIdentity name="Telerik.Sitefinity.Model" publicKeyToken="b28c218413bdf563" culture="neutral"/>
                <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="6.1.4300.0"/>
            </dependentAssembly>
            <dependentAssembly>
                <assemblyIdentity name="Telerik.Web.UI" publicKeyToken="121fae78165ba3d4" culture="neutral"/>
                <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="2013.1.417.40"/>
            </dependentAssembly>
      <!--For Sitemap Generator-->
   <dependentAssembly>
                <assemblyIdentity name="Telerik.Sitefinity.Utilities" publicKeyToken="b28c218413bdf563" culture="neutral"/>
                <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="6.1.4300.0"/>
            </dependentAssembly>
        </assemblyBinding>

Posted by Community Admin on 07-Aug-2013 00:00

Thank you, Jonathan! It worked!

Posted by Community Admin on 07-Aug-2013 00:00

Great glad to hear!

Posted by Community Admin on 07-Aug-2013 00:00

Jonathan, maybe you also know how to make pdfs searchable. One of my sitefinity based site searches inside of all the pdfs that reside in the library. It also gives the urls of the webpages and the name of the file (pdf) on it if you are searching them by name.

The site I'm having trouble with does none of those  - can't search the pdf by name and can't search inside of them. The checkmark for the documents search is in place.

Posted by Community Admin on 07-Aug-2013 00:00

Check out this post.  Seems the indexing the contents of a PDF is not supported.  Although indexing the name(s) should be working.  Make sure in Administration > Modules & Services there are not issues with the Libraries module.  On each of the 3 or 4 upgrades I've done the libraries module had to be installed or reinstalled.

Posted by Community Admin on 08-Aug-2013 00:00

Jonathan, they support since version 5.1 - see this post

Hello,



Yes PDF file contents are searchable in sitefintiy 5.1



Regards,

Stanislav Velikov

the Telerik team


on that page www.sitefinity.com/.../2

More over, my other two sites that also run in 6.1 do search inside pdfs. It's like something in my site (the one where the engine is not working) that prevents the docs from searching. I may have to follow your advice and just disable and then unable the library module. Hope it will not affect the library in any way.

Posted by Community Admin on 08-Aug-2013 00:00

Missed the second page there. Sorry about that, thanks for pointing that out!

Posted by Community Admin on 25-Sep-2014 00:00

Thanks, Jonathan! We just upgraded to SF 7.2.5300.0 and the redirects you posted solved our issue as well!

This thread is closed