Non-negative number required


Author
Message
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (4.4K reputation)Strategic Support Team Member (4.4K reputation)Strategic Support Team Member (4.4K reputation)Strategic Support Team Member (4.4K reputation)Strategic Support Team Member (4.4K reputation)Strategic Support Team Member (4.4K reputation)Strategic Support Team Member (4.4K reputation)Strategic Support Team Member (4.4K reputation)Strategic Support Team Member (4.4K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hi Melvin.

Can you post the stack trace?
Also, have you tried deploying this same package using the DDT and then having a look where it breaks and what the log file says?
My first guess without any more information would be a change made to a table that is part of a Data Deployment Package.
Melvin Xuereb
Melvin Xuereb
StrataFrame User (143 reputation)StrataFrame User (143 reputation)StrataFrame User (143 reputation)StrataFrame User (143 reputation)StrataFrame User (143 reputation)StrataFrame User (143 reputation)StrataFrame User (143 reputation)StrataFrame User (143 reputation)StrataFrame User (143 reputation)
Group: Forum Members
Posts: 29, Visits: 128
I've created a method in C# which is using the DatabaseMigrator class to update a database from a StrataFrame generated package.

------------------------------------------------------------------------------------------------------------
Here is a code snippet:
try
{
DatabaseMigrator _dbMigrator = null;
_dbMigrator = InitializeDatabaseMigrator(new Isync(), _dbMigrator);
DatabaseTargetName dbToUpdate = new DatabaseTargetName("XXXX");
dbToUpdate.NameOnServer = "YYYY";
_dbMigrator.DeployMetaData("C:\Packages\Database.pkg","", new DatabaseTargetName[] { dbToUpdate });
}
catch(Exception ex)
{
throw ex;
}
------------------------------------------------------------------------------------------------------------

I've debugged the method and in the last line, when the DeployMetaData method is begin called, an exception is being given with the following message:
Exception Message: Non-negative number required.
Parameter name: value

Can you please help and suggest why this is exception is being thrown?
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search