My uCommerce installation failed when cheating product definitions so I decided to remove uCommerce and the demostore and then try to reinstall to get a fresh start.... That didn't go too well. After I removed the razor demostore i got this error when going to umbraco.aspx...
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) +775
Castle.MicroKernel.SubSystems.Conversion.TypeNameConverter.PerformConversion(String value, Type targetType) +86
Castle.MicroKernel.SubSystems.Conversion.DefaultConversionManager.PerformConversion(String value, Type targetType) +130
Castle.MicroKernel.SubSystems.Conversion.DefaultConversionManager.PerformConversion(String value) +57
Castle.Windsor.Installer.DefaultComponentInstaller.SetUpComponents(IConfiguration[] configurations, IWindsorContainer container, IConversionManager converter) +174
Castle.Windsor.Installer.DefaultComponentInstaller.SetUp(IWindsorContainer container, IConfigurationStore store) +207
UCommerce.Infrastructure.ObjectFactory.Resolve() +66
UCommerce.Umbraco.Menu.Actions.AbstractAction..ctor() +104
UCommerce.Umbraco.Menu.Actions.ProductCatalogSortAction..cctor() +28
[TypeInitializationException: The type initializer for 'UCommerce.Umbraco.Menu.Actions.ProductCatalogSortAction' threw an exception.]
UCommerce.Umbraco.Menu.Actions.ProductCatalogSortAction.get_Instance() +24
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner) +0
System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner) +152
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +396
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +38
System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index) +37
Umbraco.Core.ActionsResolver.CreateInstances() +285
Umbraco.Core.ObjectResolution.ManyObjectsResolverBase`2.get_Values() +472
umbraco.BusinessLogic.Actions.Action.GetJavaScriptFileReferences() +29
Umbraco.Web.UI.Umbraco.Umbraco.RenderActionJs() +83
Umbraco.Web.UI.Umbraco.Umbraco.Page_Load(Object sender, EventArgs e) +1690
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
Umbraco.Web.UI.Pages.BasePage.OnLoad(EventArgs e) +19
System.Web.UI.Control.LoadRecursive() +71
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3064
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1022
I then tried to add the missing dlls to the bin directory. Which just gave this error:
Server Error in '/' Application.
Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
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.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
Hmm, seems there might be an issue with the uninstall script. Not sure if it's uCommerce or Umbraco that needs to do something about that.
However I'm guessing that you probably have some .dll files in your bin folder, which are causing the mess. Something that should have been removed during uninstall of uCommerce.
Try looking in the /bin/ folder and see if some files starts with "ucommerce"...if so, try removing them and refresh your site.
I suggest you try doing this
1: Download a fresh version of your Umbraco instance (4 or 6?)
2: Compare the files from /bin/ folder with your current installation
3: See if some ucommerce related .dll files still exist in the bin folder - if so remove them
Be aware though that the amount of dll files of course also differ if you have other packages installed so it's not neccesarily 100% bulletproof. Perhaps the software "Beyond compare" can help you.
But I'm almost certain that the error is due to a .dll file related to ucommerce that should be removed.
I would hazard a guess and say this line is still present after uninstall. If you remove it, you should be be able to move forward. :-)
Kind regards, Jesper
P.S. The line instructs uCommerce to include all the service stack web services found in the tagged assembly, "UCommerce.RazorStore". So if you have service stack web services you would like to run along side uCommerce, simply register an implementation of the IContainsWebServices interface (it is empty) like the Razor store did.
I had a backup site where I upgraded to the updated version of uCommerce and the demo store. And merged the files and that helped to get the site working again...
Umbraco fails after removing Razor demostore!!!
My uCommerce installation failed when cheating product definitions so I decided to remove uCommerce and the demostore and then try to reinstall to get a fresh start.... That didn't go too well. After I removed the razor demostore i got this error when going to umbraco.aspx...
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.1022
I then tried to add the missing dlls to the bin directory. Which just gave this error:
Server Error in '/' Application.
Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
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.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
Stack Trace:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1022
Anyone knows how to my Umbraco working again?
Hi Claus
Hmm, seems there might be an issue with the uninstall script. Not sure if it's uCommerce or Umbraco that needs to do something about that.
However I'm guessing that you probably have some .dll files in your bin folder, which are causing the mess. Something that should have been removed during uninstall of uCommerce.
Try looking in the /bin/ folder and see if some files starts with "ucommerce"...if so, try removing them and refresh your site.
I suggest you try doing this
1: Download a fresh version of your Umbraco instance (4 or 6?)
2: Compare the files from /bin/ folder with your current installation
3: See if some ucommerce related .dll files still exist in the bin folder - if so remove them
Be aware though that the amount of dll files of course also differ if you have other packages installed so it's not neccesarily 100% bulletproof. Perhaps the software "Beyond compare" can help you.
But I'm almost certain that the error is due to a .dll file related to ucommerce that should be removed.
Hope this helps.
/Jan
Hi,
Please not that he is trying to remove the razor store, not uCommerce itself. ;-)
The problem appears to be that the razor store registers web services by adding a line in Umbraco/UCommerce/Configuration/Custom.config
I would hazard a guess and say this line is still present after uninstall. If you remove it, you should be be able to move forward. :-)
Kind regards,
Jesper
P.S.
The line instructs uCommerce to include all the service stack web services found in the tagged assembly, "UCommerce.RazorStore".
So if you have service stack web services you would like to run along side uCommerce, simply register an implementation of the IContainsWebServices interface (it is empty) like the Razor store did.
I had a backup site where I upgraded to the updated version of uCommerce and the demo store. And merged the files and that helped to get the site working again...
Thanks Claus that worked perfectly.
Comment out that line that Jesper stated worked. Appreciate it.
Could you mark the topic as solved please? Thanks.
is working on a reply...