Cannot find settings.txt on 4.0

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Hi there,

I am just starting to look an NOP for our company at the moment and trying to get it up and running on Azure. So far, I have downloaded the files from the NOP website, built two new web apps and a SQL DB on Azure. The two web apps are for webserver1 and webserver2. I have the NOP site running on Web1 and my SQL azure server so thats ok. But  What I want to do now is build a second NOP server on my second web instance and then set up a load balancer so I can do some load balancer testing. However, there is no settings.txt under the appdata directory on my first webapp instance. I cannot find the conenction strings anywhere. How can I edit the default files on my second web instance so that it looks at my current Azure database? I presumed it wolu djust be a question of changing the connection strings on the second web app instance to be like webapp1?

any help greatly appreciated!

Paul
6 years ago
Many config .txt files are now .json files.

\App_Data\dataSettings.json
6 years ago
yup...in that

dataSettings.json file

put something like


{
  "DataProvider": "sqlserver",
  "DataConnectionString": "Data Source=.\\SQLEXPRESS;Initial Catalog=4nopcommerce;Integrated
   Security=False;Persist Security Info=False;User ID=sa;Password=C1tytech",
  "RawDataSettings": {}
}
6 years ago
Hello

I have been having trouble with this new version.

Can't find none of settings.txt or the suggested datasettings.json


What's the new name of the file where the connection string is???
6 years ago
panja wrote:
Hello

Can't find none of settings.txt or the suggested datasettings.json


Once you install default nopcommerce 4.0 after dataSetting.json and installedplugin.json file automatically created under app_data folder.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.