After trying to upgrade and also do a fresh install of version 6.1.0.14195 I receive this error:
Server Error in '/' Application.
Could not convert string
'UCommerce.Presentation.Web.Controls.Adapters.MediaControlAdapter,
UCommerce.Presentation' to a type. Assembly was not found. Make sure it
was deployed and the name was not mistyped.
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: Castle.MicroKernel.SubSystems.Conversion.ConverterException:
Could not convert string
'UCommerce.Presentation.Web.Controls.Adapters.MediaControlAdapter,
UCommerce.Presentation' to a type. Assembly was not found. Make sure it
was deployed and the name was not mistyped.
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.
Stack Trace:
[ConverterException: Could not convert string 'UCommerce.Presentation.Web.Controls.Adapters.MediaControlAdapter, UCommerce.Presentation' to a type. Assembly was not found. Make sure it was deployed and the name was not mistyped.]
Castle.MicroKernel.SubSystems.Conversion.TypeNameConverter.GetType(String name) +737
Castle.MicroKernel.SubSystems.Conversion.TypeNameConverter.PerformConversion(String value, Type targetType) +85
Castle.MicroKernel.SubSystems.Conversion.DefaultConversionManager.PerformConversion(String value, Type targetType) +141
Castle.MicroKernel.SubSystems.Conversion.DefaultConversionManager.PerformConversion(String value) +127
Castle.Windsor.Installer.DefaultComponentInstaller.GetType(IConversionManager converter, String typeName) +74
Castle.Windsor.Installer.DefaultComponentInstaller.SetUpComponents(IConfiguration[] configurations, IWindsorContainer container, IConversionManager converter) +230
Castle.Windsor.Installer.DefaultComponentInstaller.SetUp(IWindsorContainer container, IConfigurationStore store) +208
Castle.Windsor.WindsorContainer.RunInstaller() +87
UCommerce.Infrastructure.ExtendedWindsorContainer..ctor(String xmlFilePath) +438
UCommerce.Infrastructure.ObjectFactory.GetContainer() +82
UCommerce.Infrastructure.ObjectFactory.get_Container() +54
UCommerce.Infrastructure.ObjectFactory.Resolve() +45
UCommerce.Web.Api.ServiceStackAppHostInit.Initialize() +161
[InvalidOperationException: The pre-application start initialization method Initialize on type UCommerce.Web.Api.ServiceStackAppHostInit threw an exception with the following error message: Could not convert string 'UCommerce.Presentation.Web.Controls.Adapters.MediaControlAdapter, UCommerce.Presentation' to a type. Assembly was not found. Make sure it was deployed and the name was not mistyped..]
System.Web.Compilation.BuildManager.InvokePreStartInitMethodsCore(ICollection`1 methods, Func`1 setHostingEnvironmentCultures) +556
System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +132
System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +102
System.Web.Compilation.BuildManager.ExecutePreAppStart() +153
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +516
[HttpException (0x80004005): The pre-application start initialization method Initialize on type UCommerce.Web.Api.ServiceStackAppHostInit threw an exception with the following error message: Could not convert string 'UCommerce.Presentation.Web.Controls.Adapters.MediaControlAdapter, UCommerce.Presentation' to a type. Assembly was not found. Make sure it was deployed and the name was not mistyped..]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9885060
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34009
It looks like a missing reference or something. I've installed as a local package downloaded from the uCommerce website. I'm also developing locally, so it's not a deployment issue. Any help would be appreciated.
Is the directory you're installing to complete clean? In some instances components.config and associated configs can get copied to /obj, /bin, or /debug. There should only be only components.config in /umbraco/ucommerce/configuration
While I rolled back my site after trying to upgrade, I had not cleared the /obj directory, which contained the offending components.config file. I rolled back again cleaned the /obj directory and reinstalled, which went perfectly. Thanks again!
Error Installing uCommerce 6.1.0.14195
Hello,
After trying to upgrade and also do a fresh install of version 6.1.0.14195 I receive this error:
Server Error in '/' Application.
Could not convert string 'UCommerce.Presentation.Web.Controls.Adapters.MediaControlAdapter, UCommerce.Presentation' to a type. Assembly was not found. Make sure it was deployed and the name was not mistyped.
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: Castle.MicroKernel.SubSystems.Conversion.ConverterException: Could not convert string 'UCommerce.Presentation.Web.Controls.Adapters.MediaControlAdapter, UCommerce.Presentation' to a type. Assembly was not found. Make sure it was deployed and the name was not mistyped.
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.
Stack Trace:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34009
It looks like a missing reference or something. I've installed as a local package downloaded from the uCommerce website. I'm also developing locally, so it's not a deployment issue. Any help would be appreciated.
Thanks!
Ben
Hi Ben,
Do you have the UCommerce.Presentation.dll in /bin of your site?
Any errors in the logs during installation?
I've run a couple of clean installs on Umbraco 6 and 7 without being able to repro this.
Is the directory you're installing to complete clean? In some instances components.config and associated configs can get copied to /obj, /bin, or /debug. There should only be only components.config in /umbraco/ucommerce/configuration
Thanks Søren!
While I rolled back my site after trying to upgrade, I had not cleared the /obj directory, which contained the offending components.config file. I rolled back again cleaned the /obj directory and reinstalled, which went perfectly. Thanks again!
Ben
Excellent.
BTW: Version 6.1.1 includes code to work around this situation.
is working on a reply...