Can you guys please advise me on upgrading uCommerce from 2.6.1.0 to 6.0.3.14141? We use Umbraco version 4.7.2.
I managed to recompile my application with the new version of uCommerce, but I have runtime error. It looks like configuration error:
"Could not convert string 'UCommerce.Content.ContentService, UCommerce' to a type. Assembly UCommerce, Version=6.0.3.14141, Culture=neutral, PublicKeyToken=null was matched, but it doesn't contain the type. Make sure that the type name was not mistyped."
It is totally true but I configured in components.config file following:
The lifestyle attribute is no longer used when configuring components for uCommerce :) It looks for the configuration file automatically so maybe there's a configuration file that is "hacking it's way in". Try look in the bin folder. Sometimes they land there if visual studio deploys everything from the project :)
Upgrade uCommerce to 6.0.3.14141
Hi,
Can you guys please advise me on upgrading uCommerce from 2.6.1.0 to 6.0.3.14141?
We use Umbraco version 4.7.2.
I managed to recompile my application with the new version of uCommerce, but I have runtime error.
It looks like configuration error:
"Could not convert string 'UCommerce.Content.ContentService, UCommerce' to a type. Assembly UCommerce, Version=6.0.3.14141, Culture=neutral, PublicKeyToken=null was matched, but it doesn't contain the type. Make sure that the type name was not mistyped."
It is totally true but I configured in components.config file following:
service="UCommerce.Content.IContentService, UCommerce"
type="UCommerce.Umbraco.Content.UmbracoContentService, UCommerce.Umbraco" lifestyle="Thread"/>
Which apparently is not taken into account.
The problem occurs when I query Product.All ().
What do I do wrong?
Kind regards,
Slawek
The lifestyle attribute is no longer used when configuring components for uCommerce :) It looks for the configuration file automatically so maybe there's a configuration file that is "hacking it's way in". Try look in the bin folder. Sometimes they land there if visual studio deploys everything from the project :)
Great ;-)
Thx Morten for the reply!
First I decided to try upgrade to 3.0.*.
To have the version 6.0.* shall I upgrade through every ucommerce version till 6.0 or is it enough to upgrade directly to 6.0?
You can upgrade to the latest in one go.
is working on a reply...