Error after uninstalling UCommerceDemoStore package
Hello uCommerce folk,
Running Umbraco 7.1 from VS (Release Run in IE) I installed UCommerce OK, I then installed UCommerceDemoStore and after that the site hung ( An exception of type 'System.NullReferenceException' occurred in App_Web_catalog.cshtml.4b7a33be.decg7yzf.dll but was not handled in user code ). So I restarted Umbraco and UNinstalled the UCommerceDemoStore package. However each time I now restart Umbraco from within VS I now get the error below in the browser (Same error for both the home page and BackOffice).
I would appreciate any help in resolving this issue.
Thanks Terry Clancy
Error:
Server Error in '/' Application.
Could not convert string 'UCommerce.RazorStore.Services.AssemblyTag, UCommerce.RazorStore' 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.RazorStore.Services.AssemblyTag, UCommerce.RazorStore' 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.RazorStore.Services.AssemblyTag, UCommerce.RazorStore' 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() +109
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.RazorStore.Services.AssemblyTag, UCommerce.RazorStore' 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) +547
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) +521
[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.RazorStore.Services.AssemblyTag, UCommerce.RazorStore' to a type. Assembly was not found. Make sure it was deployed and the name was not mistyped..]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9930508
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.34212
It seems that the uninstall doesn't clean up your configuration files. But that can be done manually :-)
- Go to the following folder: umbraco/ucommerce/configuration/ - Open the file "custom.config" - There should be a component containing "UCommerce.RazorStore.Services.AssemblyTag". - Remove that part from the configuration file and restart/recycle your app pool.
Error after uninstalling UCommerceDemoStore package
Hello uCommerce folk,
Running Umbraco 7.1 from VS (Release Run in IE) I installed UCommerce OK, I then installed UCommerceDemoStore and after that the site hung ( An exception of type 'System.NullReferenceException' occurred in App_Web_catalog.cshtml.4b7a33be.decg7yzf.dll but was not handled in user code ). So I restarted Umbraco and UNinstalled the UCommerceDemoStore package. However each time I now restart Umbraco from within VS I now get the error below in the browser (Same error for both the home page and BackOffice).
I would appreciate any help in resolving this issue.
Thanks Terry Clancy
Error:
Server Error in '/' Application.
Could not convert string 'UCommerce.RazorStore.Services.AssemblyTag, UCommerce.RazorStore' 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.RazorStore.Services.AssemblyTag, UCommerce.RazorStore' 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.34212
Hi Terry,
It seems that the uninstall doesn't clean up your configuration files. But that can be done manually :-)
- Go to the following folder: umbraco/ucommerce/configuration/
- Open the file "custom.config"
- There should be a component containing "UCommerce.RazorStore.Services.AssemblyTag".
- Remove that part from the configuration file and restart/recycle your app pool.
And you should be good to go.
Yep that solved it - thanks Martin.
Unfortunatley I then encountered another installation problem - but I will start a new thread on that,
Thanks again
Terry Clancy
is working on a reply...