eCommerce Hosting Tips: How to Change Connection String in nopCommerce ?

Leave a Comment
Hostingforecommerce.com - Today, I will show you How to Change Connection String in nopCommerce. Connection string in nopCommerce is located at: 
...\nopCommerce\Presentation\Nop.Web\App_Data\Settings.txt

eCommerce Hosting Tips: How to Change Connection String in nopCommerce ?
This file can not shows in visual studio, so you can directly open file from physical location Presentation\Nop.Web\App_Data

Now, look on you sample connection string looks like:
DataProvider: sqlserver
DataConnectionString: Data Source=<SQLServerName>;Initial
Catalog=<MyDatabaseName>;Integrated Security=True;Persist Security
Info=False;MultipleActiveResultSets=True

By default, we stored connection string in Web.config file, but in nopCommerce we found that Connection String is stored in \Presentation\Nop.Web\App_Data\Settings.txt

Yes it's safe. All files stored into App_Data directory are "secured". Any file you place there will not be downloadable.

NopCommerce Recommended Hosting

After finishing the tutorial discussed above, if you still have a NopCommerce web hosting in your mind, then it should be worth trying. Or if you now feel confused and need some suggestion, then you can read our previous article about Nopcommerce 3.50 hosting recommendation.
Next PostNewer Post Previous PostOlder Post Home

0 comments:

Post a Comment