Restore Database

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
2 anni tempo fa
Hi,

Can someone tell me about restoring database to NopCommerce. I have NopCommerce in DEVELOPMENT  running source code and one in PRODUCTION running on IIS. I tried to backup PRODUCTION database and restore on DEVELOPMENT. After that i changed DataConnection i datasetting.json and nopCommerce dont work anymore in soruce code. I run in VS2019 and blank page on web is opened.

Can someone tell me how to restore database if I made a mistake?

Thanks
2 anni tempo fa
Did you change the store url at Store table after restore database?
Perhaps ssl is enabled in the database you took from production but your local development environment (vs2019) is not enabled ssl for debug. Which might leads you to blank page in browser.
2 anni tempo fa
I didn't changed that.

I found in dbo.Store ID NAME URL AND HOST from Production. Can I just erase it from that table and run again?
2 anni tempo fa
Don't "just erase it".  UPDATE it with correct values for local environment (e.g. http://localhost/), and also be sure to disable SSL. Example:

UPDATE [dbo].[Store]
    SET Url = 'http://localhost/', SslEnabled = 0
2 anni tempo fa
I tried above process, but not working...
2 anni tempo fa
What issue you are facing now, write details please!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.