Vulnerability in EPiServer.Forms
Hello, I'm trying to setup CMS12 and Commerce14 on my machine. I've checked the requirements and I've correct prerequisites installed those were needed for setup.
So far I've followed each command mentioned on documentation
dotnet-episerver create-cms-database ProjectName.csproj -S . -E
dotnet-episerver create-commerce-database ProjectName.csproj -S . -E --reuse-cms-user
dotnet-episerver add-admin-user ProjectName.csproj -u username -p password -e firstname.lastname@example.org -c EcfSqlConnection
It creates the databases but all blank. Except the admin user command creates identity tables in commerce database.
running application via terminal gives below exception, Which I believe is because there is no schema on the database. This is all empty
Thanks for looking into this
Documentation is outdated. You should be able to install new templates using
dotnet new -i Episerver.Templates
If you the run
dotnet new --list epi
it should list new templates like this
You should then be able to create new commerce site by running the following steps
dotnet new epi-commerce-empty
Next step is navigating to /util/register to register admin user.
Mari is correct about the updated templates...
But if you created an empty Commerce site from the old templates, you'll need to add another package: System.Configuration.ConfigurationManager (version 5.0.0)
Run this command:
dotnet add "[PROJECTNAME].csproj" package System.Configuration.ConfigurationManager -v 5.0.0
Apparently register user seems only working for cms site not commerce site. I received the following error when access to commerce catalog, did anyone encounter this issue?
Access denied. Failed loading content with content link: -1073741823__CatalogContent EPiServer.Core.AccessDeniedException: Access was denied to content -1073741823__CatalogContent. You do not have access to see the versions for this item.
Hello. The documentation was updated yesterday (3/22/2022). I hope this addresses your issues.https://world.optimizely.com/documentation/installing-episerver/