I delete the database in my test environment and I remove the App_Data\Settings.txt and App_Data\InstalledPlugins.txt. I receive the "No database instance" error when I run from my VS2010. How to reinstall the db with sample data again?
I tried all these solutions on Nopcommerce 3.8, and i have the same error("No database instance..."), so for those who get this issue, try this: - delete the BIN folder on NOP.WEB project, - delete the settings.txt file in NOP.WEB\App_Data folder (if you do not see this file in visual studio, click on "Show all files" in solution explorer menu...) - clean and rebuild the entire solution - finally launch application.
If you are running the version 4.1, it is enough to remove from the appsettings.json from App_Data the connectionString line and re-run the application. That will recreate the whole application from scratch
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.