Download the nopCommerce No Source rar file from Github and extract the nopCommerce files to your computer.
Upload the extracted files using ftp into the wwwroot folder on our Windows Web Servers.
Create a new database and database user within SolidCP
Log a support request specifying that your are installing nopCommerce and that you require the following :
- Your website application pool changed to one that supports .NET Cor v2.1 or later
- Provide your database name, and specify that you require your database user modified to grant access to the default schema.
Pay attention to the database connection string object during the install, and ensure that you select raw data as the connection string
For the connection string paste the following and replace the values specific to your database, database username and database password
Data Source=serverhostname;Initial Catalog=databasename;Persist Security Info=True;User ID=login;Password=pwd;Persist Security Info=False;Connection Timeout=2147483647;
Now complete the installation.
If you receive the error "Setup failed: Cannot find the object "dbo.QueuedEmail" because it does not exist or you do not have permissions" - you will need to recreate the database and request that you require dbo ownership assigned to the database.
This error occurs when you run the nopCommerce installaiton prior to the following being run by your web hosting provider
If you receive the error "Setup failed: Value cannot be null. Parameter name: hashAlgorithm" - you will need to delete and recreate the database and request that you your database user modified to grant access to the default schema
This error occurs when you run the setup a second time on the database and the installation is unable to complete as database tables already exist.
The following needs to be run against your database user to ensure that the correct schema privileges are assigned
USE dbname; ALTER USER dbusername WITH DEFAULT_SCHEMA = dbo;