Hi All,
I've just managed to deploy my nopcommerce 4.2 installation to my local IIS, however it seems to be having issues connecting to the sql database. What are the best practices surrounding this?
I want to have a local copy of a deployed development environment on my machine.
If I launch the NopCommerce through the visual studio solution, everything works fine (which is how I setup the Db).
I have looked at many articles and tried many things to get this working, but have hit a stumbling block.
My connection string is currently: "DataConnectionString": "Data Source=(LocalDb)\\MSSQLLocalDB;Initial Catalog=Nop42;Integrated Security=False;Persist Security Info=False;User ID=NopDb;Password=*****"
And I have the app pool identity set to applicationpoolidentity.
The error I get for those creds are:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.
When i use integrated security with the app pool identity set to local system, i get this error (ensuring there is a 'NT AUTHORITY\SYSTEM' user in sql):
Cannot open database "Nop42" requested by the login. The login failed.
Login failed for user 'NT AUTHORITY\SYSTEM'.