Error upgrading from Orchard Core 1.8.2 to 2.0.2: JsonException: The JSON value could not be converted to OrchardCore.Settings.ResourceDebugMode. Path: $.ResourceDebugMode | LineNumber: 0 | BytePositionInLine: 122
#17139
-
Hi Everyone, I’m encountering a strange error when upgrading Orchard Core from version 1.8.2 to 2.0.2. I’m working in a dedicated branch to perform the upgrade. Previously, in another branch, I attempted to upgrade directly to 2.1.2 but was unsuccessful due to this error. JsonException: The JSON value could not be converted to OrchardCore.Settings.ResourceDebugMode. Path: $.ResourceDebugMode | LineNumber: 0 | BytePositionInLine: 122. Do you know how can I fix this? 🤔 Thank you Here the raw exception:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think the ResourceDebugMode value in the "OrchardCore.Settings.SiteSettings, OrchardCore.Settings" content in the Document table has changed with 2.0. For example, it should be like this; "ResourceDebugMode":"Disabled" Can you manually edit the record and try? |
Beta Was this translation helpful? Give feedback.
I think the ResourceDebugMode value in the "OrchardCore.Settings.SiteSettings, OrchardCore.Settings" content in the Document table has changed with 2.0.
For example, it should be like this;
"ResourceDebugMode":"Disabled"
Can you manually edit the record and try?