i am trying to run the command Update-Database
in package manager console. the following errors appears.
this is the connection string I tried using"ConnectionStrings": { "sqlserver": "nvlohuqx:YXGg4spm1KAvIidbFufyLMt9HeCZMZDD@surus.db.elephantsql.com:5432/nvlohuqx" }
it showed this error
“Format Of The Initialization String Does Not Conform To SpecificationStarting At Index X”
and then after I changed the format for the connection string to the following:
"sqlserver": "Server=surus.db.elephantsql.com;Database=nvlohuqx;User Id=nvlohuqx;Password=YXGg4spm1KAvIidbFufyLMt9HeCZMZDD;"
I get this new error:
"A network-related or instance-specific error occurred whileestablishing a connection to SQL Server. The server was not found orwas not accessible. Verify that the instance name is correct and thatSQL Server is configured to allow remote connections. (provider: NamedPipes Provider, error: 40 - Could not open a connection to SQLServer)"