Hi,
I've installed a fresh 2.1 Swift on a dynamicweb 10.17.5. I've imported the swift 2.1 database. Im attempting to build indexes but when I navigate to any given repository I experience an error:
Did I make an error when setting up this project?
Developer forum
E-mail notifications
Swift 2, cannot build indexes






Replies












Yes, it seems like you made an error.
You seem to have overwritten the user in global settings for the database.
At least the SQLExceptiopn error indicates that you have a SQL user with no name "Login failed for user ''" which indicates that either you have lost the username from your settings, or that whatever SQL user Dynamicweb is setup to connect to the database with does not have access to the database.
So check the setup - is global settings ok - do you have more .settings files in /Files and do they both have database setups?






I followed the installation setup and when testing databse connection it was successful. I'm left with 3 .config files:
GlobalSettings.config
GlobalSettings.Database.config Contains login credentials
GlobalSettings.Ecom.config












And do the 3 config files have database settings?






Only GlobalSettings.Database.config






Solved by adding <Database> to ecom config file. Thank you for the assistance.












Hi Joakim
You probably had the database section in more than one file. You should only have it one file.
You must be logged in to post in the forum