Failed to save


Author
Message
ChanKK
ChanKK
StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)
Group: Forum Members
Posts: 190, Visits: 1.3K
Hi,

I created this post to continue the problem I post at Memory leak thread. I am not sure should I add mine to the post "Transaction Fail".



Anyway, I have created a simple project which reproduce the error I mentioned if save more than one BO within "same" transaction.



Beside, I also attached screenshot to show the actual error happen before I call Rollback; Also, the screenshot that show "SqlTransaction has completed" error.



As I found that, DataSource.Transactions[0].Connection become null just after the code below when first BO.Save() is called.



'-- UpdateDataTableThread()

lnRowsAffected = Me._DataSource.UpdateRow(loUpdateInfo, loRow, New ConcurrencyExceptionHandler(AddressOf HandleConcurrencyException), New AddRowErrorHandler(AddressOf AddRowError))



Please advice.



Thank you
Attachments
ActualError.JPG (116 views, 56.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
ChanKK - 15 Years Ago
ChanKK - 15 Years Ago
ChanKK - 15 Years Ago
Trent L. Taylor - 15 Years Ago
                     Hi,
It is at SqlDataSourceItem.UpdateRow().
ChanKK - 15 Years Ago
                         [quote][b]ChanKK (05/06/2009)[/b][hr]Hi,
It is at...
Edhy Rijo - 15 Years Ago
                             [quote][b]Edhy Rijo (05/06/2009)[/b][hr][quote][b]ChanKK...
ChanKK - 15 Years Ago
                                 Chan, I will post on the other thread also, but we found where we had...
Trent L. Taylor - 15 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search