Is there a way to upgrade custom widgets manually, from prevent sitefinity version upgrading error?
Hi!
I'm trying to upgrade my sitefinity project from 6.0.4200.0 into 8.0.5710.0, but I get this error:
Could not load file or assembly 'Telerik.Sitefinity, Version=6.0.4200.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)
=== Pre-bind state information ===
LOG: DisplayName = Telerik.Sitefinity, Version=6.0.4200.0, Culture=neutral, PublicKeyToken=b28c218413bdf563
(Fully-specified)
LOG: Appbase = file:///C:/Users/Jan-Åke/Documents/Visual Studio 2015/Projects/Kanal10/
LOG: Initial PrivatePath = C:\Users\Jan-Åke\Documents\Visual Studio 2015\Projects\Kanal10\bin
Calling assembly : Spinbox.Sitefinity.Web.UI.Widgets.ImageBanner, Version=1.0.4994.14457, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Users\Jan-Åke\Documents\Visual Studio 2015\Projects\Kanal10\web.config
LOG: Using host configuration file: C:\Users\Jan-Åke\Documents\IISExpress\config\aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Telerik.Sitefinity, Version=6.0.4200.0, Culture=neutral, PublicKeyToken=b28c218413bdf563
LOG: Attempting download of new URL file:///C:/Users/Jan-Åke/AppData/Local/Temp/Temporary ASP.NET Files/vs/c4cd72ce/8b0f9778/Telerik.Sitefinity.DLL.
LOG: Attempting download of new URL file:///C:/Users/Jan-Åke/AppData/Local/Temp/Temporary ASP.NET Files/vs/c4cd72ce/8b0f9778/Telerik.Sitefinity/Telerik.Sitefinity.DLL.
LOG: Attempting download of new URL file:///C:/Users/Jan-Åke/Documents/Visual Studio 2015/Projects/Kanal10/bin/Telerik.Sitefinity.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Major Version
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.
I do not complete understand this exception message, so correct me if i'm wrong. But the way it looks like, It might be that spinbox is searching for the old telerik.sitfinity.dll file, which is upgraded. I can't find any other link/assembly/connection from example web.config with spinbox involved.I've tried to import a assembly (or reference) in the web.config file and SitefinityWebApp.csproj.
maybe I imported it wrong or maybe the error doesn't lies within spinbox.
Thanks For Help!
Solved it
Hi Jesper,
Thanks for your post. Could you please tell me how you solve the version issue of custom widget i.e. .dll.
Let me know if it is clear to you.
Waiting for your feedback.
Thanks,
Tapas