Could not load file or assembly 'Telerik.Cms.Engine, Version=3.7.2136.240
Hi,
I'm trying to migrate Sitefinity 3.7.2022.2 to Sitefinity 4.2.1650.0
I get "Connection failed" when trying to Migrate.
When I go to MigrationService.svc in the 3.7 site, I get this:
[FileLoadException: Could not load file or assembly 'Telerik.Cms.Engine, Version=3.7.2136.240, Culture=neutral, PublicKeyToken=dfeaee0e3978ac79' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
Telerik.Sitefinity.Migration.MigrationService..ctor() +0
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeMethodHandle._InvokeConstructor(IRuntimeMethodInfo method, Object[] args, SignatureStruct& signature, RuntimeType declaringType) +0
System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +651
System.ServiceModel.Description.ServiceDescription.CreateImplementation(Type serviceType) +224
System.ServiceModel.Description.ServiceDescription.GetService(Type serviceType) +138
System.ServiceModel.ServiceHost.CreateDescription(IDictionary`2& implementedContracts) +80
System.ServiceModel.ServiceHostBase.InitializeDescription(UriSchemeKeyedCollection baseAddresses) +174
System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses) +475
System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(Type serviceType, Uri[] baseAddresses) +43
System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses) +530
System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath) +1423
System.ServiceModel.HostingManager.ActivateService(String normalizedVirtualPath) +50
System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) +1132
[ServiceActivationException: The service '/MigrationService.svc' cannot be activated due to an exception during compilation. The exception message is: Exception has been thrown by the target of an invocation..]
System.Runtime.AsyncResult.End(IAsyncResult result) +900320
System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +189486
System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +136
Damian, currently the migration module within Sitefinity 4.2 only supports updating from the latest Sitefinity 3.7 SP4 (Standard Edition), specificially the ASP.NET 4.0 version.
The team is working to add support for the asp.net 3.5 version, but you will still need to be running the latest service pack release for 3.x before you can use the Migration tool.
I'll make the suggestion to add this to the requirements and instructions so that it is clear this is required.
Hope this is helpful,
Josh
Hi Damian,
As Josh Morales suggested the most probable reason for your issue is that the version of Sitefinity 3.7 you are trying to migrate is not the one that Sitefinity 4.2 can work with. Please make sure you are using .Net 4.0 and the latest ( SP4 ) patch for Sitefinity 3.7 and try again. If there are updates on the status of the issue please update us so we can help you further.
Best wishes,
Victor Velev
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>
Hi
We currently have our project running 3.7 SP4 (Community Edition). We have purchased 4.2 Standard Edition and would like to migrate. Is this possible with the Community Edition as I get the same error? Or is there something else I need to do?
Regards
Darren
Hi Venketash Ramadass,
If you use our internal build from Friday you can migrate your 3.7 Community Edition project to 4.2. Your can run the migration tool if your project is either running in .NET 3.5 or .NET 4.0. However do not forget that the build from last Friday is an internal build and is not supported officially.
Best wishes,
Victor Velev
the Telerik team
Hi
Thanks for the response.
Just another question. What will be the best route to proceed with migrating/updating our current project to the latest version that will be supported?
- Thanks
Hello Venketash Ramadass,
You have few options:
1. Wait for the 4.3 release ( coming in October ) which will allow you migrate your 3.7 SP4 Community edition to Sitefinity 4.3.
2. Download the Standard Edition patch file and apply it to your website ( it is best to do it on local environment ). Then you can migrate it to the current release - Sitefinity 4.2. Later when we release 4.3, you could upgrade your Sitefinity 4.2 installation to 4.3.
Kind regards,
Victor Velev
the Telerik team
Hi Venketash Ramadass,
Just a quick follow up. Our latest internal build supports the migration from Community Edition 3.7 SP4 to 4.x so you can try and migration process.
All the best,
Victor Velev
the Telerik team