Reputation: 892
I installed on localhost with a local database. I compiled in Release mode - Any CPU. I have recopied the file system set from publish to the root folder as always.
I am taken directly to the install page. I try to install using my websites database server name. Ive tried reconnecting to an existing database.
I get the error message (Ive tried both connection methods):
Setup failed: Sequence contains more than one element
So i tried to just create a new database. i get error:
Setup failed: An error occurred while creating the database: CREATE DATABASE permission denied in database 'master'.
I have checked to make sure my username and password are correct for the database. I think maybe i need to reset the install files some how? I have tried everything from delete to editing the settings.txt file in the App_data folder. still cant get passed the install
Upvotes: 1
Views: 1208
Reputation: 892
The nopCommerce install never creates a database. If you so choose... nopCommerce will create tables.
Edit: I am marking this the answer because this concept helped solve both new database creation and connecting to existing databases.
Upvotes: 0
Reputation: 1364
Most shared hosting doesn't allow you to create database from code. To overcome this, do:
Upvotes: 0
Reputation: 3439
You don't have permission to create a new database using these credentials. You should configure SQL Server to allow it
Upvotes: 1