Im trying to update umbraco from 7.0.3 to 7.1.1 but I always get this error. anyone know what Im doing worng Have tryed with nygget and downloading the files my self.
Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
After this I tryed to make a clean site and then after put in my already made stuff. then I got in to umbraco backend but colden open the site. here I got an error saying it coulden find document type for the page I was trying to view ?
And now I have tryed making a clean project and copying my files over but now the installation is stuck it just never stop loading.
And Alex if I shal be honest I don't know if I need the 4.5 version it just give me the error after I have updated umbraco with nuget or even put in the files manually.
Ok - I know that there unfortunately are some issues in regards to upgrading through nuget. But usually it should be possible to fix it by going to the /app_data/TEMP/ClientDependency folder and delete all files from there. Afterwards go to the /config/ClientDependency.config and increment the version number and then recycle the app pool.
Also try setting debug="true" in the web.config - just search for the "debug" keyword. There should only be one place to change this.
In regards to the json version stuff there was an issue with some wrong compiled versions but they should be fixed in the 7.1.1 release if I remember correctly.
If you don't succeed at clearing the cache etc. then the approach of a clean install is good - But copying the files will not be enough.
I think I would make a package of the Document types, templates, datatypes and content and then import the package into the new installation and then copy over files like CSS, Images, Media, Razor, XSLT - But that may not be enough if you have a lot of media items uploaded since media files on disk does not create the mapping to a media item...and if you have packages installed this approach might not be enough either.
But then you could have a peek at using either umport or usync, which should be ideal for moving files, nodes etc. around between environments.
I somply mean that you should open the mentioned file and increment the version number (version attribute) or simply just changing the number to anything else than what it currently says in the file.
Once that's done you just need to recycle the app pool - This can be done by touching the web.config. Simply open it and hit save.
you can login to the backoffice the first time and work for a couple of minutes and then it will fail. this has happened often. Something is modifying to that version.
update from 7.0.3 to 7.1.1 give me error
Im trying to update umbraco from 7.0.3 to 7.1.1 but I always get this error. anyone know what Im doing worng
Have tryed with nygget and downloading the files my self.
Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
After this I tryed to make a clean site and then after put in my already made stuff.
then I got in to umbraco backend but colden open the site. here I got an error saying it coulden find document type for the page I was trying to view ?
Hi Dan
How did you do the upgrade? Using nuget or manually...or?
/Jan
Hi Dan,
Are you sure that you need 4.5.0.0 version ?
It's our properties of Newtonsoft.dll:
http://screencast.com/t/QjwrbjkM4
Thanks, Alex
Hi Jan I updated with nuget first then manually.
And now I have tryed making a clean project and copying my files over but now the installation is stuck it just never stop loading.
And Alex if I shal be honest I don't know if I need the 4.5 version it just give me the error after I have updated umbraco with nuget or even put in the files manually.
Hi Dan
Ok - I know that there unfortunately are some issues in regards to upgrading through nuget. But usually it should be possible to fix it by going to the /app_data/TEMP/ClientDependency folder and delete all files from there. Afterwards go to the /config/ClientDependency.config and increment the version number and then recycle the app pool.
Also try setting debug="true" in the web.config - just search for the "debug" keyword. There should only be one place to change this.
In regards to the json version stuff there was an issue with some wrong compiled versions but they should be fixed in the 7.1.1 release if I remember correctly.
If you don't succeed at clearing the cache etc. then the approach of a clean install is good - But copying the files will not be enough.
I think I would make a package of the Document types, templates, datatypes and content and then import the package into the new installation and then copy over files like CSS, Images, Media, Razor, XSLT - But that may not be enough if you have a lot of media items uploaded since media files on disk does not create the mapping to a media item...and if you have packages installed this approach might not be enough either.
But then you could have a peek at using either umport or usync, which should be ideal for moving files, nodes etc. around between environments.
I hope this helps.
/Jan
Thanks Jan Ill try this later.
but I have been able to copy files and database before to a clean installation and it just worked ?
Hi Dan
Ah yes, sorry - was too quick above. Of course if you copy over the database as well no need to make a package. D'oh!
However copying over all files could cause some issues I think - the stuff in /app_data/TEMP should not be copied over for instance.
But let us know how it goes when you have a glance later.
/Jan
After trying to fix nuget problems I got this error
http://gyazo.com/5979b05a895aaa8fa55c860535a0d861
But maybe im not quit sure what you mean by
Go to /config/ClientDependency.config and increment the version number and then recycle the app pool.
Hi Dan
I somply mean that you should open the mentioned file and increment the version number (version attribute) or simply just changing the number to anything else than what it currently says in the file.
Once that's done you just need to recycle the app pool - This can be done by touching the web.config. Simply open it and hit save.
Hope this helps.
/Jan
Actually Jan
I have ran into this recently with new installs from nuget. you run your install then after setup you get the error.
in your web.config under runtime then dependentAssembly you will have
the correct version is below.
you can login to the backoffice the first time and work for a couple of minutes and then it will fail. this has happened often. Something is modifying to that version.
is working on a reply...