How can we help you today? How can we help you today?
swinghouse

Activity overview

Latest activity by swinghouse

Product name changes - enough already! :-)
Hi, Please interpret the following as just some friendly advice. Am I the only one that would like Redgate to slow down the pace when it comes to product renaming and restructuring? I love that you...
2 followers 2 comments 0 votes
Hi Robert, Yes, I'm a longtime SQL Compare user. :-) Following your instructions, I could extract the db directory from the NuGet package and, with SQL Compare, compare it with the target database. The target database didn't contain any of the changes from source control. This was expected since DLM Automation rolled back all changes in the failed deployment that prompted this discussion. I then attempted to deploy the changes via SQL Compare. Interestingly, the deployment failed because the database user I provided in the connection string didn't have sufficient permissions to add new roles to the target database. When SQL Compare ran a new comparison after the deployment, it consequently found that there were roles in the source database that didn't exist in the target database. A sproc was missing as well. (This sproc is linked to one of the new database role. This explains why the sproc was omitted.) At this point I thought we had found the root cause of the problem: insufficient user rights on the target database. However, I then realized that I hadn't used the same user account in the SQL Compare project as in the failed deployment on Octopus Deploy / DLM Automation. Switching to the same (system administrator) account, SQL Compare was able to deploy all database objects. Furthermore, shouldn't DLM Automation have reported an error if it was unable to deploy some database objects because of insufficient user rights? The log in Octopus Deploy didn't contain any messages indicating any errors. To continue the troubleshooting, I think it would be of great help if I could temporarily tell DLM Automation not to roll back the changes in case of a failed deployment. Is this possible? /Mattias / comments
Hi Robert, Yes, I'm a longtime SQL Compare user. :-) Following your instructions, I could extract the db directory from the NuGet package and, with SQL Compare, compare it with the target database....
0 votes
Post-update schema check failed
Hi, I'm attempting to deploy a database schema plus static data to an empty database. I use SQL Release + Octopus Deploy. My Octopus Deploy project has the following steps: Download and extract dat...
3 followers 6 comments 0 votes
Can we access our Migrations V2 scripts in Source Control 5?
Hi, We experimented quite a bit with Migrations V2 before that beta feature was discontinued. Today I needed to refer to one of those scripts but SQL Source Control 5 didn't display them - quite na...
1 follower 1 comment 0 votes