I was able to compile and run in debug and get to the nopcommerce installation dialog. I am having issues with using an existing MS SQL 2017 database for the installation.
this is the connection string I am using to try an install on my local machine:
Data Source=HAL\MSQLSERVER2017;Initial Catalog=colhousedesigns_2;Integrated Security=False;Persist Security Info=False;Encrypt=false;TrustServerCertificate=True;User ID=colhousedb;Password=9Q2znp40!234
The error I am getting is: Setup failed: Sequence contains more than one element
This exception is caused by trying to install to a database that has already been installed (i.e. already has tables). To use an existing database, you need to copy the existing config files to the App_Data folder before you start the application. appsettings.json plugins.json
If your appsettings.json has a connection string for a different DB, then you can change it there.
(Note that if doing an 'upgrade from prior nopCommerce version', then you also need to upgrade plugins that are not part of core.)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Vous avez encore des questions ou avez besoin d'aide?