You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Create the database...
using (var command = new SqlCommand(sqlCommandText, connection)
{
CommandType = CommandType.Text
})
{
command.CommandTimeout = 120;
command.ExecuteNonQuery();
}
Unfortunately I'm new to GitHub etiquette and protocol (and having now posted, not sure why my first two sentences are in bold!) so not sure how to go about getting this into the main branch.
The text was updated successfully, but these errors were encountered:
MarkPow
changed the title
Running DbUp against a SQL Azure Database server using EnsureDatabase, fails with a Timeout error when creating the database
Running DbUp against a SQL Azure Database server using EnsureDatabase fails with a Timeout error when creating the database
Dec 9, 2015
The code responsible for creating the database is in SqlServerExtensions (https://github.com/DbUp/DbUp/blob/master/src/DbUp/Support/SqlServer/SqlServerExtensions.cs). If I increase the CommandTimeout then EnsureDatabase works against a SQL Azure server:
Unfortunately I'm new to GitHub etiquette and protocol (and having now posted, not sure why my first two sentences are in bold!) so not sure how to go about getting this into the main branch.
The text was updated successfully, but these errors were encountered: