Upgrading assemblies after version upgrade

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

Upgrading assemblies after version upgrade

All Replies

Posted by Community Admin on 23-Jun-2011 00:00

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

Posted by Community Admin on 24-Jun-2011 00:00

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

Posted by Community Admin on 24-Jun-2011 00:00

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

This thread is closed