Red Gate forums :: View topic - Dynamic deployment failed ---> System.InvalidOperationExcept
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
Deployment Manager
Deployment Manager forum

Dynamic deployment failed ---> System.InvalidOperationExcept

Search in Deployment Manager forum
Post new topic   Reply to topic
Jump to:  
Author Message
epbzoe



Joined: 21 Mar 2014
Posts: 2

PostPosted: Fri Mar 21, 2014 4:57 pm    Post subject: Dynamic deployment failed ---> System.InvalidOperationExcept Reply with quote

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 ?
Back to top
View user's profile Send private message
toby.smyth



Joined: 28 Jan 2014
Posts: 5

PostPosted: Mon Mar 24, 2014 11:41 am    Post subject: Reply with quote

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/display/MV2/Setting+up+the+temporary+database#Settingupthetemporarydatabase-DownloadingandinstallingLocalDB

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
Back to top
View user's profile Send private message
epbzoe



Joined: 21 Mar 2014
Posts: 2

PostPosted: Mon Mar 24, 2014 11:05 pm    Post subject: Reply with quote

Thank you toby, your solution worked. I choose to disable the DM variable RedGateDatabaseOptionsUseMigrationsV2 for my deployments. Thank you again Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group