The code no long makes any assumptions that the connection string is there... now it goes always to the initDb code and fails with an exception specific to the problem of missing a database connection string.