You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recently migrated a K12 DB (v 12.0.101) to XPbK 29.3.3 and need to do the same for the live DB. We got latest version of the Migration Tool (1.9.0 for v29.6.0) and created a new Xperience project with updated code and database to v29.6.0. After we migrated the DB, we encountered multiple errors. When running the site following error appears "InvalidOperationException: No content type has been configured."
I then followed a forum entry to recreate the PageContentType classes via dotnet run --kxp-codegen --no-build --type "PageContentTypes" . I receive following error when doing that "An error occurred during the code file generating process. fail: Kentico.Web.Mvc.IStartupConfigureAction[0] Startup action 'Kentico.Web.Mvc.CodeGenService'. System.ArgumentNullException: Value cannot be null. (Parameter 'json')"
The text was updated successfully, but these errors were encountered:
I had the same thing with the code generation command, in my case it seems to be related to the 'AllowedContentItemTypeIdentifiers' missing for the fields with the 'Kentico.Administration.ContentItemSelector' control.
Brief bug description
We recently migrated a K12 DB (v 12.0.101) to XPbK 29.3.3 and need to do the same for the live DB. We got latest version of the Migration Tool (1.9.0 for v29.6.0) and created a new Xperience project with updated code and database to v29.6.0. After we migrated the DB, we encountered multiple errors. When running the site following error appears "InvalidOperationException: No content type has been configured."
I then followed a forum entry to recreate the PageContentType classes via dotnet run --kxp-codegen --no-build --type "PageContentTypes" . I receive following error when doing that "An error occurred during the code file generating process. fail: Kentico.Web.Mvc.IStartupConfigureAction[0] Startup action 'Kentico.Web.Mvc.CodeGenService'. System.ArgumentNullException: Value cannot be null. (Parameter 'json')"
The text was updated successfully, but these errors were encountered: