Rebaseline Migration with ReadyRoll Core
AmackScott
Posts: 1 New member
in ReadyRoll
I am following the directions from https://documentation.red-gate.com/rr1/key-concepts/re-baselining-your-database-project and I am having problems with step 6 under option B. Re-Baseline your project by "compressing" migrations.
The issue in step 6 is after deleting all of the files in the migration folders I get an error message below
Message= Baselining enabled but no baseline migrations or programmable objects found
Data = System.Collections.ListDictionaryInternal
InnerException = TargetSite = Void Validate (RedGate.Versioning.Engine.Api.Filesystem.ProjectFileSystemInfo, RedGate.Versioning.Engine.Api.VersioningProject.Scripts)
StackTrack = at RedGate.Versioning.Engine.Interaction.ProjectManipulation.Baseline.BaselnieValidator.Validate(ProjectFileSystemInfo projectFileSystemInfro, Scripts scripts) at RedGate.Versioning.Engine.Interaction.ProjectManipulation.MigrationLoad.ScriptsLoader.LoadScripts(ProjectFileSystemInfo projectFileSystemInfo) at RedGate.Versioning.Core.MsBuild.VersioningProject.DatabaseProjectFactory.CreateDatabaseProject(String projectDirectoryPath, DatabaseConnectionInfo sandboxDatabaseProperties, DatabaseConnectionInfo shadowDatabaseProperties, DatabaseProjectSettings settings) at RedGate.Versioning.Client.VisualStudio.ProjectSelection.SelectProjectService.LoadProject(String projectDirectoryPath, DatabaseConnectionInfo targetConnProperties, DatabaseConnectionInfo shadowConnProperties, DatabaseProjectSettings settings) at RedGate.Versioning.Client.VisualStudio.ProjectSelection.SelectProjectService.LoadProjectFile(String projectFilePath, DatabaseConnectionInfo targetConnection, DatabaseConnectionInfo shadowConnection, DatabaseProjectSettings settings) at RedGate.Versioning.Client.VisualStudio.ProjectSelect.SelectProjectService.LoadProject(Project project) at RedGate.Versioning.Client.VisualStudio.ProjectSelection.SelectProjectService.LoadDefaultProject()
HelpLink =
Source =
RedGate.Versioning.Engine.Interaction.ProjectManipulation HResult = -2146233088
I have tried removing all files and leaving the folders, and deleting everything under migrations I get the same result.
I have removed just the baseline
How do I recreate the baseline script based on the current configuration of the database?
Thank you for your time,
Scott
The issue in step 6 is after deleting all of the files in the migration folders I get an error message below
Message= Baselining enabled but no baseline migrations or programmable objects found
Data = System.Collections.ListDictionaryInternal
InnerException = TargetSite = Void Validate (RedGate.Versioning.Engine.Api.Filesystem.ProjectFileSystemInfo, RedGate.Versioning.Engine.Api.VersioningProject.Scripts)
StackTrack = at RedGate.Versioning.Engine.Interaction.ProjectManipulation.Baseline.BaselnieValidator.Validate(ProjectFileSystemInfo projectFileSystemInfro, Scripts scripts) at RedGate.Versioning.Engine.Interaction.ProjectManipulation.MigrationLoad.ScriptsLoader.LoadScripts(ProjectFileSystemInfo projectFileSystemInfo) at RedGate.Versioning.Core.MsBuild.VersioningProject.DatabaseProjectFactory.CreateDatabaseProject(String projectDirectoryPath, DatabaseConnectionInfo sandboxDatabaseProperties, DatabaseConnectionInfo shadowDatabaseProperties, DatabaseProjectSettings settings) at RedGate.Versioning.Client.VisualStudio.ProjectSelection.SelectProjectService.LoadProject(String projectDirectoryPath, DatabaseConnectionInfo targetConnProperties, DatabaseConnectionInfo shadowConnProperties, DatabaseProjectSettings settings) at RedGate.Versioning.Client.VisualStudio.ProjectSelection.SelectProjectService.LoadProjectFile(String projectFilePath, DatabaseConnectionInfo targetConnection, DatabaseConnectionInfo shadowConnection, DatabaseProjectSettings settings) at RedGate.Versioning.Client.VisualStudio.ProjectSelect.SelectProjectService.LoadProject(Project project) at RedGate.Versioning.Client.VisualStudio.ProjectSelection.SelectProjectService.LoadDefaultProject()
HelpLink =
Source =
RedGate.Versioning.Engine.Interaction.ProjectManipulation HResult = -2146233088
I have tried removing all files and leaving the folders, and deleting everything under migrations I get the same result.
I have removed just the baseline
How do I recreate the baseline script based on the current configuration of the database?
Thank you for your time,
Scott
Tagged:
Answers
Thanks for your post.
This looks like something a support engineer could look in to for you. If you have a support contract then please send us a ticket
Kind regards
Richard Lynch.
Redgate Software
Product Manager
Redgate Software
If you continue to experience this issue, please open Help... About and confirm that Visual Studio has ReadyRoll 1.17.18150 or later installed.
Product Manager
Redgate Software
I do have the latest and it is still having the same issue.
Product Manager
Redgate Software
In the interim, you can work-around the problem with the following steps:
Product Manager
Redgate Software