I setup a new user in SQL Server Express 2017, I've enabled Windows and SQL Server authentication, as well as tcp/ip for SQL Server. Using the following settings, I'm able to login with SQL Server Management Studio:
Server type: Database Engine
Server name: xxxxxx\SQLEXPRESS
Authentication: SQL Server Authentication
Login: myuser
Password: mypassword
Login, browsing the database, and updating records works without a problem. However, browsing to the DNN site, I receive "DNN Error Connection To The Database Failed." Using the same details as above in my connection strings:
<connectionStrings>
<add name="SiteSqlServer" connectionString="server= xxxxxx\SQLEXPRESS;database=mydb;uid= myuser;pwd= mypassword;" providerName="System.Data.SqlClient" />
</connectionStrings>
<appSettings>
<add key="SiteSqlServer" value="server=server= xxxxxx\SQLEXPRESS;database=mydb;uid= myuser;pwd= mypassword;" />