More in this section

Forums / General Discussions / Upgrading assemblies after version upgrade

Upgrading assemblies after version upgrade

3 posts, 0 answered
  1. John
    John avatar
    97 posts
    Registered:
    11 Jan 2011
    23 Jun 2011
    Link to this post

    Hi

    I have upgraded to 4.1 SP2 and am now getting below error on pages with custom widgets;

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

    Where can I find the latest assemblies to start with and what are the simple steps to upgrade my project to the latest assemblies for my custom widgets?

    Thanks

    Regards

  2. John
    John avatar
    97 posts
    Registered:
    11 Jan 2011
    24 Jun 2011
    Link to this post

    Hi

    After rebuilding the project the error is changed to the one below. Any ideas?

    Thanks

    Regards


    Server Error in '/esprit' Application.
    --------------------------------------------------------------------------------

    Could not load file or assembly 'Microsoft.WindowsAzure.Diagnostics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
    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.FileNotFoundException: Could not load file or assembly 'Microsoft.WindowsAzure.Diagnostics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

    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 'Microsoft.WindowsAzure.Diagnostics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' 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].

     

    Stack Trace:

    [FileNotFoundException: Could not load file or assembly 'Microsoft.WindowsAzure.Diagnostics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.]
       Telerik.Sitefinity.Abstractions.EntLibFluentConfigExtensions.SitefinityLog(ILoggingConfigurationSendTo sendTo, String listenerName, String fileName, IFormatterBuilder formatBuilder) +0
       Telerik.Sitefinity.Abstractions.ObjectFactory.ConfigureLogging(ConfigurationSourceBuilder configBuilder) +419
       Telerik.Sitefinity.Abstractions.ObjectFactory.RegisterIoCTypes() +239
       Telerik.Sitefinity.Abstractions.Bootstrapper.Bootstrap() +176
       Telerik.Sitefinity.Web.SitefinityHttpModule.Init(HttpApplication context) +116
       System.Web.Routing.UrlRoutingModule.System.Web.IHttpModule.Init(HttpApplication application) +10
       System.Web.HttpApplication.InitModulesCommon() +166
       System.Web.HttpApplication.InitModules() +46
       System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +715
       System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +283
       System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +104
       System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +327

     

    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.225

  3. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    24 Jun 2011
    Link to this post
    Hello,

    Make sure that the dlls are in your bin folder.When you perform rebuild, the bin folder gets cleared. You can use _EmptyProject that is added with each installation to recover the missing dlls.

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
3 posts, 0 answered