+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / "Empty Stack" exception after upgrading; dynamic module changed field to nullable

"Empty Stack" exception after upgrading; dynamic module changed field to nullable

3 posts, 0 answered
  1. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    03 Dec 2015
    Link to this post

    After running the upgrade process from 6.3.500 to 8.2.5905 I tried to visit the homepage but saw the following error:

    Database mapped field uses different type 'System.Nullable`1[[System.Decimal, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]'.
    Parameter name: methodCallExpression
    Actual value was re-t.FieldValue("Sequence").

    Changing the related widget code from GetValue<decimal> to GetValue<decimal?> resolved it, but I'm curious why this might have happened.

    Secondly, when we tried to log into the backend, I got the exception:

    Stack Empty

    I unfortunately didn't capture the full error message, as I somehow resolved it by disabling BrowserLink, by adding the following config to web.config appsettings:

    <add key="vs:EnableBrowserLink" value="false" />

    after that everything seems to be fine, and removing that key does not bring the error back.

    I'm not sure what happened, but logging it here in case it might be helpful to anyone else

    thanks

  2. Ilan
    Ilan avatar
    12 posts
    Registered:
    26 Oct 2015
    09 Feb
    Link to this post
    I need a solution for this too
  3. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    Registered:
    22 Sep 2016
    11 Feb
    Link to this post
    Hi ,

    Josh, thank you for the shared solution.

    Ilan, can you please provide more information about the issue you have (actions performed and the error received)? What is the result when apply the proposed solution?

    You can also check the solution proposed in that KB article:
    http://www.sitefinity.com/developer-network/knowledge-base/details/updated-data-base-type-of-numeric-custom-fields-after-an-upgrade-to-sitefinity-8.1

    Regards,
    Svetoslav Manchev
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
3 posts, 0 answered