Sql database was deleted

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
Sql database was deleted. I am using NopCommerce version 3.90.

I am developing a plugin in NopCommerce. What I need to do to create a database again

When I opened the project for the first time, it created the sample database itself. But I can not find the database.
5 years ago
I solved the problem. But keep this article here. The solution can use those that need it

Solution


Question: In a project you developed for testing (NopCommerce Source Code) If you have some sample databases deleted, you can re-install NopCommerce's sample database.


it will give you this error " No Database Instance "

The solution is very easy :

1. Delete settings.txt file

Question : Where is the settings file?
Solution : NopCommerce > Presentation > Nop.Web > App_Data > Settings

Delete here " settings.txt "

2. Build your project

NopCommerce will re-install. You will have the following screen




Very simple. But Junior Developer do not know that.. That's the solution.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.