I have an Umbraco site that is currently running 6.1.6, and attempted to upgrade to 6.2.5 using NuGet. The upgrade all seems fine, including the database and merged back the .config files. However, when running the site I get the following error:
Compiler Error Message: CS1501: No overload for method 'HasValue' takes 0 arguments
Source Error:
Line 26: {
Line 27: try{
Line 28: bool hasfeatureLocation = mapItem.GetProperty("location").HasValue();
When checking this against v6.1.6 this works fine. v6.2.5 throws the error.
Is there a reason why upgrading to the latest version does this?
Any joy with this? I'm trying to do the same thing but by manually copying the files instead of Nuget. I'm know getting the same error regarding HasValue...
We may be doing this very soon on a site. Did you do incremental upgrade or straight to 6.2.5 i have just asked on twitter if we can do straight as its 6 incremental versions.
I followed the general upgrade guide as stated on the 6.2.5 release page. It seemed like you could go straight to 6.2.5 without having to do an incremental upgrade. I may be wrong and missed a trick somewhere. It'll be good to know how you get on with it. I'm going to attempt again hopefully next month.
OK done the upgrade the backend all loads up fine so far however on front end i am getting
Could not load type 'Umbraco.Core.PublishedContentExtensions' from assembly 'Umbraco.Core, Version=1.0.5529.18434, Culture=neutral, PublicKeyToken=null'.
Error upgrading 6.1.6 to 6.2.5
I have an Umbraco site that is currently running 6.1.6, and attempted to upgrade to 6.2.5 using NuGet. The upgrade all seems fine, including the database and merged back the .config files. However, when running the site I get the following error:
When checking this against v6.1.6 this works fine. v6.2.5 throws the error.
Is there a reason why upgrading to the latest version does this?
Thanks,
Bijesh
Bijesh,
Did you log into backend and republish xml and rebuild internal index if not try that see if it helps?
Regards
Ismail
Yup, did a republish of the entire site and rebuild of the internal index. Still getting the same error.
Still trying to figure out why it errors at this point...
Bijesh
Any joy with this? I'm trying to do the same thing but by manually copying the files instead of Nuget. I'm know getting the same error regarding HasValue...
@Mitch I haven't found the solution or cause of this yet. I've had to ditch it for now and come back to it at a later date. Have you had any luck?
Bijesh,
We may be doing this very soon on a site. Did you do incremental upgrade or straight to 6.2.5 i have just asked on twitter if we can do straight as its 6 incremental versions.
Regards
Ismail
Hey Ismail
It was a straight upgrade from 6.1.6 -> 6.2.5.
I followed the general upgrade guide as stated on the 6.2.5 release page. It seemed like you could go straight to 6.2.5 without having to do an incremental upgrade. I may be wrong and missed a trick somewhere. It'll be good to know how you get on with it. I'm going to attempt again hopefully next month.
B.
Bijesh,
OK done the upgrade the backend all loads up fine so far however on front end i am getting
Could not load type 'Umbraco.Core.PublishedContentExtensions' from assembly 'Umbraco.Core, Version=1.0.5529.18434, Culture=neutral, PublicKeyToken=null'.
GRRR
It is using the right version of the DLL's right?
HI Bijesh,
Did you find a solution to this? Just doing the same thing and having the exact same problem?
Craig, unfortunately I haven't had a chance to revisit this, still unresolved for me.
Hi Bijesh,
Thanks for the reply. Luckily there was just an issue with the 6.1.6 config I was using. I managed to fix this and didn't need to upgrade :)
is working on a reply...