+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Site crashed while updating from 6.0 to 6.1

Site crashed while updating from 6.0 to 6.1

10 posts, 3 answered
  1. Inna
    Inna avatar
    97 posts
    Registered:
    08 Jun 2012
    07 Aug 2013
    Link to this post
    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

  2. Victor
    Victor avatar
    94 posts
    Registered:
    15 Jun 2011
    07 Aug 2013 in reply to Inna
    Link to this post
    " 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
    Answered
  3. Jonathan
    Jonathan avatar
    119 posts
    Registered:
    19 Dec 2012
    07 Aug 2013 in reply to Inna
    Link to this post
    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>
    Answered
  4. Inna
    Inna avatar
    97 posts
    Registered:
    08 Jun 2012
    07 Aug 2013 in reply to Jonathan
    Link to this post
    Thank you, Jonathan! It worked!
    Answered
  5. Jonathan
    Jonathan avatar
    119 posts
    Registered:
    19 Dec 2012
    07 Aug 2013 in reply to Inna
    Link to this post
    Great glad to hear!
  6. Inna
    Inna avatar
    97 posts
    Registered:
    08 Jun 2012
    07 Aug 2013
    Link to this post
    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.
  7. Jonathan
    Jonathan avatar
    119 posts
    Registered:
    19 Dec 2012
    07 Aug 2013 in reply to Inna
    Link to this post
    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.
  8. Inna
    Inna avatar
    97 posts
    Registered:
    08 Jun 2012
    08 Aug 2013 in reply to Jonathan
    Link to this post
    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 http://www.sitefinity.com/developer-network/forums/set-up-installation/does-search-index-pdfs-and-doc-files/page/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.
  9. Jonathan
    Jonathan avatar
    119 posts
    Registered:
    19 Dec 2012
    08 Aug 2013 in reply to Inna
    Link to this post
    Missed the second page there. Sorry about that, thanks for pointing that out!
  10. Nikki Hochschild
    Nikki Hochschild avatar
    1 posts
    Registered:
    13 May 2010
    25 Sep 2014
    Link to this post
    Thanks, Jonathan! We just upgraded to SF 7.2.5300.0 and the redirects you posted solved our issue as well!
10 posts, 3 answered