During installation of TeaCommerce 2.3.2 on Umbraco 7.1.4, the process failed and displayed the following error:
Could not load file or assembly 'Newtonsoft.Json' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
I am now unable to use both the frontend or the umbraco backoffice, please advise.
I just think the issue is that Tea Commerce overrides the assembly Newtonsoft.Json.dll in the /bin folder and Umbraco 7.1.4 use a different version of Newtonsoft.Json than Tea Commerce 2.3.2 use..
So I tried to replace the Newtonsoft.Json.dll from Umbraco 7.1.4 with the one in Tea Commerce 2.3.2 for Umbraco 7.zip and install the package again, which seems to fix the issue.. if you already have installed the package, you should probably take the Newtonsoft.Json.dll from a clean Umbraco 7.1.4 download and replace it with yours in /bin folder, then uninstall Tea Commerce where you uncheck Newtonsoft.Json.dll or after uninstall copy the Newtonsoft.Json.dll from the a clean Umbraco 7.1.4 to your /bin folder and then install Tea Commerce again (with the different Newtonsoft.Json.dll).
I think this issue have been the for the latest versions for Umbraco 7.. perhaps Tea Commerce should exclude the Newtonsoft.Json.dll from their build as it already is included in Umbraco. I think it's a problem if Tea Commerce use a different version than Umbraco.
Error during TeaCommerce installation
During installation of TeaCommerce 2.3.2 on Umbraco 7.1.4, the process failed and displayed the following error:
Could not load file or assembly 'Newtonsoft.Json' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
I am now unable to use both the frontend or the umbraco backoffice, please advise.
Hi Martin,
I tried the same setup as you have, and I also get the same error as you. But I managed to solve, on a little alternativ way.
1. Go to the bin folder in your Umbraco installation, and delete all the files in there.
2. Copy the bin files from the original Umbraco install into your installation, then you should be able to login to the backoffice again.
3. Go to the developer section, into the installed package folder, and click on the Tea Commerce package and choose to uninstall it.
4. After you have uninstalled the package, again remove the bin files, in the bin folder and copy new bin files from the original Umbraco install.
5. Download Tea Commerce 2.3.2 for Umbraco from: http://our.umbraco.org/projects/website-utilities/tea-commerce
6. Unzip the pacakage
7. Copy the Newtonsoft.Json.dll from the original Umbraco install into the unpacked bin folder.
8. Zip the folder again
9. Install the package by using the option Install local package.
After doing this I think that you should be good to go.
Hope this helps,
/Dennis
Hi Martin
I just think the issue is that Tea Commerce overrides the assembly Newtonsoft.Json.dll in the /bin folder and Umbraco 7.1.4 use a different version of Newtonsoft.Json than Tea Commerce 2.3.2 use..
So I tried to replace the Newtonsoft.Json.dll from Umbraco 7.1.4 with the one in Tea Commerce 2.3.2 for Umbraco 7.zip and install the package again, which seems to fix the issue..
if you already have installed the package, you should probably take the Newtonsoft.Json.dll from a clean Umbraco 7.1.4 download and replace it with yours in /bin folder, then uninstall Tea Commerce where you uncheck Newtonsoft.Json.dll or after uninstall copy the Newtonsoft.Json.dll from the a clean Umbraco 7.1.4 to your /bin folder and then install Tea Commerce again (with the different Newtonsoft.Json.dll).
I think this issue have been the for the latest versions for Umbraco 7.. perhaps Tea Commerce should exclude the Newtonsoft.Json.dll from their build as it already is included in Umbraco. I think it's a problem if Tea Commerce use a different version than Umbraco.
/Bjarne
Fixed in new upload of version 2.3.2. We now use the one from Umbraco should you should have no problems with overrides now :)
Kind regards
Anders
is working on a reply...