StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Error Saving DataExpand / Collapse
Author
Message
Posted 02/10/2006 2:39:04 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 04/13/2007 5:21:30 PM
Posts: 18, Visits: 193
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 ?

Post #536
Posted 02/10/2006 3:21:33 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Today @ 1:39:53 PM
Posts: 373, Visits: 1,876
Randy,

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

-Larry

Post #537
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 1:43pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.109. 9 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.