This was it! The installedPackages.config file didn't have the node for Tea Commerce. It probably got lost during deployments or when upgraded Umbraco. Thanks!
We've just had the same problem in an installation as well.
I don't know how common it is to include the App_Data/packages folder in deployments, but we tend to treat it as a location for temporaty stuff. Perhaps it would be better to store this kind of information elsewhere like for example /config/ ?
We do deploy those. But I will try and fix so you dont have to do that. But that is the only way we can find the right Tea Commerce version in Umbraco.
TC.RemoveAllOrderLines(storeId); error - Sequence contains no matching element
Hello,
I'm getting this error from TC.RemoveAllOrderLines(storeId):
Locally it works fine, only on the beta site it occurs.
I think you found a bug. What Tea Commerce version do you run? And what Umbraco version?
Kind regards
Anders
Hi Anders,
Umbraco version is 6.2.1 (upgraded from 6.2.0), Tea Commerce 2.3.0.
Thanks!
Can you go to your application.config file and see what the Tea Commerce application name and alias is. Thanks :)
Both name and alias are "teacommerce".
Ahh that is why. I have fixed the bug. Could you try and change the name to "Tea Commerce". Then I think it should work :)
Unfortunately the error is the same :( I also touched the web.config before trying.
Ahh sorry - it should be the name in the App_Data/packages/installed packages file
This was it! The installedPackages.config file didn't have the node for Tea Commerce. It probably got lost during deployments or when upgraded Umbraco. Thanks!
We've just had the same problem in an installation as well.
I don't know how common it is to include the App_Data/packages folder in deployments, but we tend to treat it as a location for temporaty stuff. Perhaps it would be better to store this kind of information elsewhere like for example /config/ ?
We do deploy those. But I will try and fix so you dont have to do that. But that is the only way we can find the right Tea Commerce version in Umbraco.
Kind regards
Anders
is working on a reply...