Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft.Data.SqlClient.SqlException: 'Could not find stored procedure 'FoundationConfiguration_List'.' #937

Open
YogeshLTI opened this issue Jul 10, 2023 · 1 comment

Comments

@YogeshLTI
Copy link

YogeshLTI commented Jul 10, 2023

Describe the bug
Microsoft.Data.SqlClient.SqlException: 'Could not find stored procedure 'FoundationConfiguration_List'.'

To Reproduce
i have installed foundation code in visual studio 2022 and created database through below commands

  1. dotnet-episerver create-cms-database Foundation.csproj -S servername -U sa -P "sa"
  2. dotnet-episerver create-commerce-database Foundation.csproj -S servername -U sa -P "sa"

when i run the solution locally on my machine i m getting below errors , dont know whow to resolve this

error : Microsoft.Data.SqlClient.SqlException: 'Could not find stored procedure 'FoundationConfiguration_List'.'

Please help

@akfo
Copy link

akfo commented Apr 19, 2024

Have you executed the setup.cmd file (or setup.sh file) located in the root of the Foundation project? This file does different things, but one of the tasks is to create database elements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants