Hi j_kidd,
Thank you for the answer, I'm sorry for the delay. I was working a customer's issue, I'm back.
I tried it with my connection string:
Code:
Data Source=local;Initial Catalog=MyDB;Persist Security Info=True;User ID=sa;Password=mypassword"
But it raises an exception:
Code:
{"Cannot open database \"MyDB\" requested by the login. The login failed.\r\nLogin failed for user 'sa'."}
I suppose that I can not use this connection string because the database does not yet exist. What connection string can I use? If I do not use a connection string, how to specify the database name and a valid login?
Thank you.