BusinessLayerException error message


Author
Message
Edhy Rijo
E
StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi All,

I am testing on a simple form with a one field and when trying to save I got the error below:

BusinessLayerException
  An error occurred while saving an the data to the server.
DataLayerSavingException
  The INSERT statement conflicted with the FOREIGN KEY constraint "Relation_203". The conflict occurred in database "ATR", table "dbo.Buildings", column 'PK_Buildings'.
The statement has been terminated.
SqlException
  The INSERT statement conflicted with the FOREIGN KEY constraint "Relation_203". The conflict occurred in database "ATR", table "dbo.Buildings", column 'PK_Buildings'.
The statement has been terminated.

Source     : MicroFour StrataFrame Business

The table ServiceCalls is related to the table Buildings, but in the form only a ServiceCallsBO is in place.

I will appreciate if anybody could help me figure out what may be wrong in this case.  I am new to SF, VB.NET & MS-SQL Express 2005.  My background is with Visual FoxPro.

Thanks

Edhy Rijo

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Edhy Rijo - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Edhy Rijo - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Edhy Rijo - 17 Years Ago
                         If the ServiceCall is the child, but it does not necessarily have a...
StrataFrame Team - 17 Years Ago
                             [quote][b]Ben Chase (09/19/2007)[/b][hr]Your only other option would...
Edhy Rijo - 17 Years Ago
                                 We help along the referential integrity by setting foreign key values...
StrataFrame Team - 17 Years Ago
                                     Hi Ben, Once again, thanks for your input. Now I know how to get...
Edhy Rijo - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search