I am encountering an error while attempting to create a database using the command line.
To Reproduce Steps to reproduce the behavior:
- Clone the repository.
- Navigate to the dancinggoat folder.
- Run the command dotnet restore.
- Execute the command to install the database. (i.e, dotnet kentico-xperience-dbmanager -- -s "<sql_server_name>" -d "<database_name>" -a "<admin_password>" --hash-string-salt "<hash_string_salt>" --license-file "<license_file_path>")
- See error.
Expected behavior I expected the database to be installed successfully without any errors.
Additional context The error message I received is: "Error installing the database. Original message: Number of entries expected in End Of Central Directory does not correspond to number of entries in Central Directory."
After encountering the error, the database is created but with database version '28.4.3'. While running the project, I am getting the exception: System.NotSupportedException: 'The database version '28.4.3' does not match the project version '29.3.3', please check your connection string.'
Environment
- Xperience by Kentico version: [29.3.3]
- .NET version: [6]
- Deployment environment: [SaaS|Azure|VM]
- Link to relevant Xperience by Kentico documentation