Dynamic deployment failed ---> System.InvalidOperationExcept

Automated deployment for web applications and databases

Moderators: Mike Upton, justin.caldicott, Sean.newham, csmith, chirayu, DavidSimner, david.conlin

Dynamic deployment failed ---> System.InvalidOperationExcept

Postby epbzoe » Fri Mar 21, 2014 4:57 pm

Hi, i'm having trouble with a deployment. I've always deploy my databases in my different environments with DM but today I have an error :
Dynamic deployment failed ---> System.InvalidOperationException: SQL Server LocalDB is not installed on Server
Am i missing something ? an upgrade that i din't make ?
epbzoe
 
Posts: 2
Joined: Fri Mar 21, 2014 4:51 pm

Postby toby.smyth » Mon Mar 24, 2014 11:41 am

Hi,
Are you deploying packages that contain V2 Migration Scripts?
The latest version of Deployment Manager can now deploy packages that include migration scripts but LocalDB must be installed on the DM server as a prerequisite. Step by step instructions for doing this can be found here: http://documentation.red-gate.com/displ ... ingLocalDB

If you don't want to use your migration scripts then this behaviour can be disabled by setting the DM variable RedGateDatabaseOptionsUseMigrationsV2 to be false

I hope that gets you deploying again.
Toby Smyth
Test Engineer
Deployment Manager
toby.smyth
 
Posts: 5
Joined: Tue Jan 28, 2014 10:14 am

Postby epbzoe » Mon Mar 24, 2014 11:05 pm

Thank you toby, your solution worked. I choose to disable the DM variable RedGateDatabaseOptionsUseMigrationsV2 for my deployments. Thank you again :D
epbzoe
 
Posts: 2
Joined: Fri Mar 21, 2014 4:51 pm


Return to Deployment Manager

Who is online

Users browsing this forum: No registered users and 0 guests