Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot create db if RoundhousEFluentDiffingType is InitialDevelopment #12
(Using roundhouse.lib 0.8.0.332 from nuget.)
Getting this error when running with initialdevelopment on a local database with trusted connection.
INFO: Setup, Backup, Create/Restore/Drop
INFO: Creating Settlers.Specs database on (local) server if it doesn't exist.
If I create the db first, RH can drop it but still ends up not being able to recreate.
I was having this issue at some point as well, but was able to get past it. That was version 331 though... can you do me a favor and go to where it is setting the console logger and in the parentheses put true for debug. Curious if it is trying twice and getting that issue still.
Turn off app pooling in your connection string. With app pooling, sql server holds onto a connection that no longer has a database when the drop runs. Then it gives it to you, and even though you just successfully recreated the database, the connection was already corrupted.