StrataFrame Forum

Error when save in transaction

http://forum.strataframe.net/Topic11114.aspx

By Chan - 8/27/2007

Hi,

My customer hit error when place to save record which is using transaction. It works in my machine. What could case the problem?



NullReferenceException

Object reference not set to an instance of an object.



Source : MicroFour StrataFrame Base



Stack Trace:

at MicroFour.StrataFrame.Data.DbDataSourceItem.TransactionEnd(String TransactionKey, Boolean IsCommit)

at MicroFour.StrataFrame.Data.DbDataSourceItem.TransactionRollback(String TransactionKey)

at MicroFour.StrataFrame.Business.BusinessLayer.TransactionRollback(String DataSourceKey, String TransactionKey)

at JK.POS.UI.Windows.Forms.POSForm.cmdSalePlaceOrder_ItemClick(Object sender, ItemClickEventArgs e)

By StrataFrame Team - 8/28/2007

I don't know.  There are several objects used within that method, but I wouldn't anticipate any of them being null.  You may have to get it in a reproducable state step through that method.