StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
Error in Insert (Save)
Error in Insert (Save)
Post Reply
Like
0
Error in Insert (Save)
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Angela Sampaio
Angela Sampaio
posted 17 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 16,
Visits: 61
Hi,
I have a BO of products that contains a field pro_nrow; this field is the Primary Key and the "Auto Incrementing" is enabled (Seed 1, Increment 1).
When I try save a product, appears a error message
Unable to enter an explicit value for the identity column of the table 'tabproduto' when IDENTITY_INSERT is set to OFF.
When I insert directly into a database gives certain.
I looked debug.html the file and noticed that he is going empty ('') for the pro_nrow.
Is attached the image of debug.html
Thank you.
Attachments
erro_produto. 12 14.jpg
(
129 views,
57.00 KB
)
Reply
Like
0
Reply
Trent Taylor
Trent Taylor
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 7K
Good to hear you found your problem.
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Error in Insert (Save)
Angela Sampaio
-
17 Years Ago
Is the BO setup correctly? It should be setup (in the CRUD settings...
Greg McGuffey
-
17 Years Ago
Yes, the BO is setup correctly...
I don't know what more can be...
Angela Sampaio
-
17 Years Ago
Hi Greg,
I find the problem ...
In the "ProdutoBO.cs"...
Angela Sampaio
-
17 Years Ago
Glad you found it!
Greg McGuffey
-
17 Years Ago
Good to hear you found your problem.
Trent L. Taylor
-
17 Years Ago
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search