StrataFrame Forum

Error Saving Data

http://forum.strataframe.net/Topic536.aspx

By Randy Smith - 2/10/2006

I'm trying to save a record that uses SQL Server's uniqueidentifier as the primary key. Howerver on the save I'm receiving the following exception:

BusinessLayerException
 An error occurred while saving an the data to the server.
DataLayerSavingException
 Operand type clash: uniqueidentifier is incompatible with numeric
SqlException
 Operand type clash: uniqueidentifier is incompatible with numeric

Source     : MicroFour StrataFrame Business

Am I doing something wrong ?

By Larry Caylor - 2/10/2006

Randy,

On your business object make sure you've set the "PrimaryKeyIsAutoIncremented" property to False. By default SF sets this to True.

-Larry