Error importing template builder created template
Hi
When I try to import the template zip file using the Template Importer SDK utility I get below error.
What can I do to fix this?
Thanks
Regards
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.
|
|
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.225
Hello John,
Can you tell us what browser you are using? If it is IE, please try firefox or chrome for the import, as there used to be a similar problem in the past with IE.
Kind regards,I had the same issue.
in chrome it worked fine.
It doesn't work with IE 8.0.7601.17514
update version 0
Regards,
Hi guys,
We are aware of this bug (it only applies to IE) and we are working on fixing it for our future releases. Please excuse us for the discomfort.
Let me know if there is something else I can help you with.
Hi
I am getting below in Chrome.
Thanks
Regards
Could not load file or assembly 'Telerik.Sitefinity, Version=4.2.1650.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=4.2.1650.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:
Line 31: SampleUtilities.RegisterModule<TemplateImporterModule>("Template Importer");
Line 32:
Line 33:
Line 34:
Line 35: protected void Bootstrapper_Initialized(object sender, Telerik.Sitefinity.Data.ExecutedEventArgs args)
Source File: c:\Documents and Settings\abc\Local Settings\Application Data\Telerik.Sitefinity.SDK\TemplateImporter_7CDE2DA9\SitefinityWebApp\Global.asax.cs Line: 33
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Sitefinity, Version=4.2.1650.0, Culture=neutral, PublicKeyToken=b28c218413bdf563' 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:
[FileLoadException: Could not load file or assembly 'Telerik.Sitefinity, Version=4.2.1650.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)]
SitefinityWebApp.Global.Bootstrapper_Initializing(Object sender, ExecutingEventArgs e) in c:\Documents and Settings\Administrator\Local Settings\Application Data\Telerik.Sitefinity.SDK\TemplateImporter_7CDE2DA9\SitefinityWebApp\Global.asax.cs:33
Telerik.Sitefinity.Abstractions.Bootstrapper.OnInitializing(Object sender, ExecutingEventArgs args) +27
Telerik.Sitefinity.Abstractions.Bootstrapper.Bootstrap() +137
Telerik.Sitefinity.Web.SitefinityHttpModule.Init(HttpApplication context) +115
System.Web.Routing.UrlRoutingModule.System.Web.IHttpModule.Init(HttpApplication application) +10
System.Web.HttpApplication.InitModulesCommon() +172
System.Web.HttpApplication.InitModules() +43
System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +828
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +304
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +107
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +327
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.225
Hello John,
This is probably caused because you upgraded your project to 4.2 SP1 (1733) but your SDK is still the one from 4.2.1650 and the builder is trying to find the old assemblies with no avail. A simple decision would be to install the new SDK for SP1.
Kind regards,Hi
I uninstalled SDK 1733, deleted SDK folder and reinstalled Sitefinity_SDK_4.2.1733.4.msi. Still getting this error (below).
Thanks
Regards
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.
|
|
|
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.225
Hi
Please build Template Importer inside SF so we don’t have to go through any of this.
Thanks
Regards
Hello John,
Can you give us information exactly what version of Sitefinity and SDK have you tried using together and has the project been upgraded from previous version. Also, please double-check if the assembly references are not the old ones and if so, update them.
Also, please try reproducing this on an empty project and send us the exact steps for reproduction, because we tried reproducing this bug with different Sitefinity - SDK combination of versions and no issue appeared.
Hi John,
I'm glad you solved your issue. Let me know if the problem reappears or if you have any other issues.
All the best,