Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bijesh Tank 192 posts 420 karma points
    Mar 23, 2015 @ 14:20
    Bijesh Tank
    0

    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:

    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?

    Thanks,

    Bijesh

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Mar 23, 2015 @ 16:53
    Ismail Mayat
    0

    Bijesh,

    Did you log into backend and republish xml and rebuild internal index if not try that see if it helps?

    Regards

    Ismail

  • Bijesh Tank 192 posts 420 karma points
    Mar 23, 2015 @ 18:28
    Bijesh Tank
    0

    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

  • Mitch 44 posts 159 karma points
    May 06, 2015 @ 18:56
    Mitch
    0

    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...

  • Bijesh Tank 192 posts 420 karma points
    May 19, 2015 @ 11:29
    Bijesh Tank
    0

    @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?

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    May 19, 2015 @ 12:32
    Ismail Mayat
    0

    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

  • Bijesh Tank 192 posts 420 karma points
    May 19, 2015 @ 13:48
    Bijesh Tank
    0

    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.

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    May 20, 2015 @ 15:42
    Ismail Mayat
    0

    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

     

     

  • Bijesh Tank 192 posts 420 karma points
    May 20, 2015 @ 16:39
    Bijesh Tank
    0

    It is using the right version of the DLL's right? 

  • Craig Cronin 304 posts 503 karma points
    Sep 06, 2015 @ 09:01
    Craig Cronin
    0

    HI Bijesh,

    Did you find a solution to this? Just doing the same thing and having the exact same problem?

  • Bijesh Tank 192 posts 420 karma points
    Sep 07, 2015 @ 08:31
    Bijesh Tank
    0

    Craig, unfortunately I haven't had a chance to revisit this, still unresolved for me.

  • Craig Cronin 304 posts 503 karma points
    Sep 07, 2015 @ 16:46
    Craig Cronin
    0

    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 :)

Please Sign in or register to post replies

Write your reply to:

Draft