Page 1 of 1

R12 Thread was being aborted in AbleCommerceTax provider

Posted: Thu Jun 23, 2016 2:57 am
by AbleMods
Since updating to R12, we are seeing substantial error log entries relating to the default tax provider. I have no idea where to start on this one, any suggestions?

Happens all throughout the day and evening. The site does have customizations, but not to the basket class. There are customizations to basketItem and basketShipment.
Could not calculate with the configured tax provider: CommerceBuilder.Services.Taxes.AbleCommerce.AbleCommerceTax, CommerceBuilder
Exception: Thread was being aborted. Stack Trace: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) at CommerceBuilder.DomainModel.EntityWithTypedId`1.Save() in D:\<path>\Projects\CommerceBuilder\DomainModel\EntityWithTypedId.cs:line 198 at CommerceBuilder.DomainModel.Entity.Save() in D:\<path>\Projects\CommerceBuilder\DomainModel\Entity.cs:line 46 at CommerceBuilder.DomainModel.PersistentBag`1.Save() in D:\<path>\Projects\CommerceBuilder\DomainModel\PersistentBag.cs:line 149 at CommerceBuilder.Services.Taxes.AbleCommerce.AbleCommerceTax.Calculate(Basket basket) in D:\<path>\Projects\CommerceBuilder\Services\Taxes\AbleCommerce\AbleCommerceTax.cs:line 236 at CommerceBuilder.Taxes.TaxCalculator.Calculate(Basket basket) in D:\<path>\Projects\CommerceBuilder\Taxes\TaxCalculator.cs:line 45

Re: R12 Thread was being aborted in AbleCommerceTax provider

Posted: Thu Jun 23, 2016 3:07 am
by Katie
Hello Joe,

If you give me all the tax settings for the store and product, I can try to reproduce it?

I'm not even sure if we did anything with taxes in R12. Was this an upgrade from R11?

Thanks
Katie

Re: R12 Thread was being aborted in AbleCommerceTax provider

Posted: Thu Jun 23, 2016 3:22 am
by AbleMods
Yes we updated from R11.

Hold the phone a second. I'm looking at their tax setup now. It shouldn't have changed, but it looks different than I last remember.

Taxes are enabled. But this is all they have for tax rules.
Capture.JPG
Based on that setup, doesn't that mean NOTHING would be getting taxed by the store??

Re: R12 Thread was being aborted in AbleCommerceTax provider

Posted: Thu Jun 23, 2016 3:24 am
by AbleMods
Perhaps helpful, I also notice there is ALWAYS a second error log entry when the taxprovider error is thrown:
An error has occured at https://www.brambleberry.com/Basket.aspx
Exception: Request timed out. Stack Trace:

Re: R12 Thread was being aborted in AbleCommerceTax provider

Posted: Thu Jun 23, 2016 11:35 am
by Katie
Ok. That's a little weird. What are they trying to do? Apply a 0% tax to users in a tax exempt group? That doesn't make a lot of sense. There is already a tax exempt setting for the user.

And yes, from what I can see, there are no taxes being calculated unless there is a 3rd party integration

You might want to ask them what they are trying to accomplish with these 0% tax rates.

Re: R12 Thread was being aborted in AbleCommerceTax provider

Posted: Mon Jun 27, 2016 5:29 am
by AbleMods
Ok, apparently there is a bigger issue here on the client side of things. Let's drop this one for a while until we can get this sorted out.