"Empty Stack" exception after upgrading; dynamic module changed field to nullable
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
I need a solution for this too
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