Hi!
I cant get the installation of PSU 4.3.1 to work with MS SQL. I have tried different conection strings in appsettings.json file and they all fail with “Cant start Service”
Strings I have tried
“ConnectionString”: “Server=SQL_Server\MSSQLSERVER;Database=PSU;Trusted_Connection=True;”
This gives error: Microsoft.Data.SqlClient.SqlException (0x80131904): 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. (provider: SNI_PN11, error: 25 - Connection string is not valid)
—> System.ComponentModel.Win32Exception (87): The parameter is incorrect.
Connection string:
Server=SQL_Server;Database=PSU;Trusted_Connection=True;TrustServerCertificate=True;
Gives error: Microsoft.Data.SqlClient.SqlException (0x80131904): CREATE DATABASE permission denied in database ‘master’.
My user is sysadmin.
How is a connectionstring supposed to be formated? Are instance name required? I have tried the standard MSSQLSERVER
\Twinnis
Product: PowerShell Universal
Version: 1.4.6