I've updated a website that runs Tea Commerce 1.4.1.2 from V.4.7.xx to
4.11.10 I’m getting errors…
First of the /tcbase/ path just don't work anymore and when I try to go to the new url /base/teacommerce/PaymentContinue/DIBS/656F7CE2E30D938F2DC1EAADECD4DCFF.aspx I'm getting an error about the assemblies.
Could not load file or assembly '\/TeaCommerce' or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
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.IO.FileLoadException: Could not load file or assembly '\/TeaCommerce' or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
I understud that there was changes in how umbraco handled the base-service from v4.7 to v4.11 so I upgraded Tea Commerce to version 1.4.4.5.
Now nothing works =D
When i try to view an the "New orders" node in the backoffice I get this error:
Serverfel i tillämpningsprogrammet /.
Object reference not set to an instance of an object.
Beskrivning: Ett undantag som inte kunde hanteras uppstod när den aktuella webbegäran kördes. Mer information om felet och var i koden det uppstod finns i stackspårningen.
Undantagsinformation: System.NullReferenceException: Object reference not set to an instance of an object.
Källfel:
Ett undantag som inte hanteras genererades vid körningen av den aktuella webbegäran. Information om undantagets ursprung och plats kan identifieras med undantagsstackspårningen nedan.
Stackspårning:
[NullReferenceException: Object reference not set to an instance of an object.]
TeaCommerce.Admin.Umbraco.plugins.TeaCommerce.Orders.SearchOrders.LvOrders_LayoutCreated(Object sender, EventArgs e) +594
System.Web.UI.WebControls.ListView.OnLayoutCreated(EventArgs e) +129
System.Web.UI.WebControls.ListView.CreateLayoutTemplate() +212
System.Web.UI.WebControls.ListView.EnsureLayoutTemplate() +89
System.Web.UI.WebControls.ListView.PerformSelect() +64
TeaCommerce.Admin.Umbraco.plugins.TeaCommerce.Orders.SearchOrders.Search() +6415
TeaCommerce.Admin.Umbraco.plugins.TeaCommerce.Orders.SearchOrders.OnLoad(EventArgs e) +1252
System.Web.UI.Control.LoadRecursive() +70
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3177
Versionsinformation: Microsoft .NET Framework-version:4.0.30319; ASP.NET-version:4.0.30319.34212
And when I try to go to this url: /base/teacommerce/PaymentContinue/DIBS/656F7CE2E30D938F2DC1EAADECD4DCFF.aspx i just get a generic error from the web server "500 internal server error".
1. That file is empty in my installation. What should be in there? 2. TeaCommerce.getCurrentOrder give me undefined
I would love to solve this asap so is there any chance that you can help me over e-mail? I've sent an e-mail to your support but did not get anything back.
So you don't get the first error anymore? The one with "Could not load.."?
Do you get any errors in your log that can tell you what is wrong? Tried a simple test and try use an XSLT extension or Razpr to get the order. And see what error it throws.
If you need to get more specific help with debugging your solution we have the Tea Commerce Confidence product or you can buy help on an hourly basis. Its a bit hard to tell what exactly did go wrong in an Umbraco and Tea Commerce update at the same time :) http://teacommerce.net/products/confidence/
I gave it a last try and and I think its working now =D What I did was to install a new clean Umbraco 4.11.10 instance and installed Tea Commerce 1.4.4.5 then i compared the enviroments and found two things that was wrong:
In the root web.config i removed all the Tea-request modules and stuff. Ie. this: <add name="teaCommerceBaseRequestModule" type="TeaCommerce.Presentation.TeaCommerceBase.RequestModule" />
I still had errors in the backoffice but after manually copy/paste files in the /umbraco/plugins/TeaCommerce-folder from the new installation into my upgraded site it worked. It was the "Orders" folder that did not get upgraded during the installation of the upgrade of TeaCommerce.
So now I think I'm up and running. Just have one more question:
I went back to a backup version of TeaCommerce in my live enviroment and I would like to manually upgrade the database to version 1.4.4.5. Do you know if there is any schema changes in the db or could I just go ahead and run the new version with the "old" tables or do I have to run som sql-commands? I can se that there are som .sql files in the /umbraco/plugins/teacommerce/install/-folder but I'm not sure how I should use them?
Problems after Umbraco upgrade
Hi!
I've updated a website that runs Tea Commerce 1.4.1.2 from V.4.7.xx to 4.11.10 I’m getting errors…
First of the /tcbase/ path just don't work anymore and when I try to go to the new url /base/teacommerce/PaymentContinue/DIBS/656F7CE2E30D938F2DC1EAADECD4DCFF.aspx I'm getting an error about the assemblies.
Could not load file or assembly '\/TeaCommerce' or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
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.IO.FileLoadException: Could not load file or assembly '\/TeaCommerce' or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
I've seen this thread: https://our.umbraco.org/projects/website-utilities/tea-commerce/tea-commerce-support/39543-Updating-from-1431-to-1444-issues so i removed this configuration but that only ended up with a 505 from the webserver (like if the page was not found).
Any ideas? It's really urget to get this up and running.
Hi again!
The story goes on =D
I understud that there was changes in how umbraco handled the base-service from v4.7 to v4.11 so I upgraded Tea Commerce to version 1.4.4.5.
Now nothing works =D
When i try to view an the "New orders" node in the backoffice I get this error:
Serverfel i tillämpningsprogrammet /.
Object reference not set to an instance of an object.
Beskrivning: Ett undantag som inte kunde hanteras uppstod när den aktuella webbegäran kördes. Mer information om felet och var i koden det uppstod finns i stackspårningen.
Undantagsinformation: System.NullReferenceException: Object reference not set to an instance of an object.
Källfel:
Ett undantag som inte hanteras genererades vid körningen av den aktuella webbegäran. Information om undantagets ursprung och plats kan identifieras med undantagsstackspårningen nedan.
Stackspårning:
Versionsinformation: Microsoft .NET Framework-version:4.0.30319; ASP.NET-version:4.0.30319.34212
And when I try to go to this url: /base/teacommerce/PaymentContinue/DIBS/656F7CE2E30D938F2DC1EAADECD4DCFF.aspx i just get a generic error from the web server "500 internal server error".
Any clues?
Hi Markus
The first error is because the rest extensions in the config file needed a new specific url to point the right way.
The other one is a bit more tricky as we dont have much info :)
Could you try and call some of the simpler base methods and see if they work?
Kind regards
Anders
Hi!
Thank you Anders!
1. How do I set up this and i which config-file?
2. Which methods do you mean that I should call?
1. Think it is BaseRestExtensions.config in the config folder.
2. Try use the JavaScript API to call e.g. TeaCommerce.getCurrentOrder - dont completely remember the API syntax - but give it a go.
Kind regards
Anders
Hi!
1. That file is empty in my installation. What should be in there?
2. TeaCommerce.getCurrentOrder give me undefined
I would love to solve this asap so is there any chance that you can help me over e-mail? I've sent an e-mail to your support but did not get anything back.
So you don't get the first error anymore? The one with "Could not load.."?
Do you get any errors in your log that can tell you what is wrong? Tried a simple test and try use an XSLT extension or Razpr to get the order. And see what error it throws.
If you need to get more specific help with debugging your solution we have the Tea Commerce Confidence product or you can buy help on an hourly basis. Its a bit hard to tell what exactly did go wrong in an Umbraco and Tea Commerce update at the same time :)
http://teacommerce.net/products/confidence/
Kind regards
Anders
Hi!
Thank you for your anwsers Anders!
I gave it a last try and and I think its working now =D What I did was to install a new clean Umbraco 4.11.10 instance and installed Tea Commerce 1.4.4.5 then i compared the enviroments and found two things that was wrong:
Thank you very much!
They best way to update the DB is to install TC again. Then it will know which SQL things to run.
is working on a reply...