I experience an error when trying to create a database using the following code. Note the problem does not happen if the connection string is not passed in. Also the problem
I forgot to add the database name in my connection string. After I added, it started to work