Error when clicked on view revert change
duongthaiha
Posts: 6 New member
in ReadyRoll
I created a a empty datbase
Create a simple table.
Click on update choose update database
View pending changes
Hold ctrl to view revert changes then error message shown
Here is the script to create the data table. Nothing creative there
CREATE TABLE [dbo].[Order] (
[Id] INT NOT NULL,
[Reference] NVARCHAR (50) NULL,
PRIMARY KEY CLUSTERED ([Id] ASC)
);
Here is the message.
Message = Object reference not set to an instance of an object.
Data = System.Collections.ListDictionaryInternal
InnerException =
TargetSite = System.Collections.Generic.IList`1[ReadyRoll.Migration] GetBaselineMigrationList(System.Collections.Generic.List`1[ReadyRoll.Migration], ReadyRoll.IDatabaseProject, ReadyRoll.Entities.DeployType, ReadyRoll.Connections.IConnProperties, Microsoft.Build.Utilities.TaskLoggingHelper)
StackTrace = at ReadyRoll.Baseline.BaselineMigrationProvider.GetBaselineMigrationList(List`1 migrations, IDatabaseProject databaseProject, DeployType buildTypeRequired, IConnProperties targetConn, TaskLoggingHelper logger)
at ReadyRoll.Services.RevertService.Revert(IDatabaseProject databaseProject, Boolean generateScriptOnly, ProgressReporter progressHandler, Migration& reparsedMigration, IList`1& revertPendingChanges, Boolean doPostRefresh, FileInfo reportOutputFile, ReportStyle reportStyle, String sourceDatabaseName)
at ReadyRoll.VsPackage.Controls.ChangeListControl.contextItemViewRevert_Click(Object sender, EventArgs e)
HelpLink =
Source = ReadyRoll
HResult = -2147467261
Create a simple table.
Click on update choose update database
View pending changes
Hold ctrl to view revert changes then error message shown
Here is the script to create the data table. Nothing creative there
CREATE TABLE [dbo].[Order] (
[Id] INT NOT NULL,
[Reference] NVARCHAR (50) NULL,
PRIMARY KEY CLUSTERED ([Id] ASC)
);
Here is the message.
Message = Object reference not set to an instance of an object.
Data = System.Collections.ListDictionaryInternal
InnerException =
TargetSite = System.Collections.Generic.IList`1[ReadyRoll.Migration] GetBaselineMigrationList(System.Collections.Generic.List`1[ReadyRoll.Migration], ReadyRoll.IDatabaseProject, ReadyRoll.Entities.DeployType, ReadyRoll.Connections.IConnProperties, Microsoft.Build.Utilities.TaskLoggingHelper)
StackTrace = at ReadyRoll.Baseline.BaselineMigrationProvider.GetBaselineMigrationList(List`1 migrations, IDatabaseProject databaseProject, DeployType buildTypeRequired, IConnProperties targetConn, TaskLoggingHelper logger)
at ReadyRoll.Services.RevertService.Revert(IDatabaseProject databaseProject, Boolean generateScriptOnly, ProgressReporter progressHandler, Migration& reparsedMigration, IList`1& revertPendingChanges, Boolean doPostRefresh, FileInfo reportOutputFile, ReportStyle reportStyle, String sourceDatabaseName)
at ReadyRoll.VsPackage.Controls.ChangeListControl.contextItemViewRevert_Click(Object sender, EventArgs e)
HelpLink =
Source = ReadyRoll
HResult = -2147467261
Tagged:
Comments
Does your database contain a [__MigrationLog] object at this stage, and if so, would you mind sending me the contents of it? (e.g. csv file)
Also if you could let me know the version of ReadyRoll you are using (from Help... About) that would be great
Product Manager
Redgate Software
i will make sure if i got it again then i will send the detail over.
Product Manager
Redgate Software