Save error after adding new row


Author
Message
Joseph-Carl Theodat
Joseph-Carl Theodat
StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)
Group: Forum Members
Posts: 29, Visits: 79
Thanks...

A simple Search in the solution resolve the problem... for some reason i add this item Owner in the B0.Designer.cs file as a required file (was added maybe during my testing BigGrin)

thanks again

Peter Jones
Peter Jones
Advanced StrataFrame User (520 reputation)Advanced StrataFrame User (520 reputation)Advanced StrataFrame User (520 reputation)Advanced StrataFrame User (520 reputation)Advanced StrataFrame User (520 reputation)Advanced StrataFrame User (520 reputation)Advanced StrataFrame User (520 reputation)Advanced StrataFrame User (520 reputation)Advanced StrataFrame User (520 reputation)
Group: Forum Members
Posts: 386, Visits: 2.1K
Hi Joseph,

Maybe you don't have a column called Owner is your BO. I would go back to the BO Mapper and just double check things.

You could also put a breakpoint in after you add a new row then go to the BOs Data Table and see what we have in memory before the save is attempted.

Cheers, Peter

Joseph-Carl Theodat
Joseph-Carl Theodat
StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)
Group: Forum Members
Posts: 29, Visits: 79
Hi,

The table is emply.

1-I called BO.NewRow()

2- I filled the BO.Fields with some values without any problem and ...

The following error occured when I try BO.Save(). The BO is a simple table with Guid for some field. The BO Mapper builds fine.

I have no clue...

The event BeforeSave on the BO is not event called... A quickanswer will be greatly appreciated. Thanks in advance.

{"The given item name could not be evaluated.  The item 'Owner' does not exist on the business object."}

P.S

I tried with a MaintenanceForm but i had the same error.

I am using SQL Server Express 2005

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