Skip to content

Target with name 'Server=localhost\SQLEXPRESS;Database=MyMeetings;Trusted_Connection=True;' does not exist #305

Answered by vikramvee
vikramvee asked this question in Q&A
Discussion options

You must be logged in to vote

Got below error after executing the command you mentioned:

A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.

But resolved it by using the below command:

.\build MigrateDatabase --DatabaseConnectionString "Server=localhost\SQLEXPRESS;Database=MyMeetings;Trusted_Connection=True;TrustServerCertificate=True"

Looked like it executes fine untill I got another SQL exception:

[19:37:27 INF] SQL exception has occurred in script: '1_0_0_0.0001_initial_structure.sql'
[19:37:27 ERR] Script block number: 1; Block line 2; Procedure ; Nu…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@vikramvee
Comment options

@AlmarAubel
Comment options

@vikramvee
Comment options

Answer selected by vikramvee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants