Sveiki dar karta....:)
Įrašant importuotus banko duomenis meta klaidą:
Klaidos duomenys:
Klaidos tekstas:
Exception has been thrown by the target of an invocation.
Klaidos šaltinis(Ex.Source):
mscorlib
Klaidos metodas (Ex.TargetSite):
_InvokeMethodFast
Klaidos stekas:
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at ApskaitaWUI.BOMapper.LoadObject[T](T ObjectInstance, String MethodName, Boolean AllowCancel, Object[] Params)
at ApskaitaWUI.F_BankOperationItemList.SaveObj()
----------------------------
Vidinės klaidos (internal exception) duomenys:
Klaidos tekstas:
DataPortal.Update failed (System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at AccDataAccessLayer.SqlServerSpecificMethods.MySqlCommandManager.TransactionRollBack(Exception e)
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.TransactionRollBack(Exception ex)
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.TransactionBegin(Boolean ThrowOnTransactionExists)
at ApskaitaObjects.Documents.BankOperationItemList.DataPortal_Update())
Klaidos šaltinis(Ex.Source):
Csla
Klaidos metodas (Ex.TargetSite):
Update
Klaidos stekas:
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at AccDataAccessLayer.SqlServerSpecificMethods.MySqlCommandManager.TransactionRollBack(Exception e)
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.TransactionRollBack(Exception ex)
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.TransactionBegin(Boolean ThrowOnTransactionExists)
at ApskaitaObjects.Documents.BankOperationItemList.DataPortal_Update()
at Csla.MethodCaller.CallMethod(Object obj, MethodInfo info, Object[] parameters)
at Csla.MethodCaller.CallMethod(Object obj, String method, Object[] parameters)
at Csla.Server.SimpleDataPortal.Update(Object obj, DataPortalContext context)
at Csla.DataPortal.Update(Object obj)
at Csla.DataPortal.Update[T](T obj)
at Csla.BusinessListBase`2.Save()
at ApskaitaObjects.Documents.BankOperationItemList.Save()
----------------------------
Vidinės klaidos (internal exception) duomenys:
Klaidos tekstas:
DataPortal_Update method call failed
Klaidos šaltinis(Ex.Source):
Csla
Klaidos metodas (Ex.TargetSite):
CallMethod
Klaidos stekas:
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at AccDataAccessLayer.SqlServerSpecificMethods.MySqlCommandManager.TransactionRollBack(Exception e)
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.TransactionRollBack(Exception ex)
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.TransactionBegin(Boolean ThrowOnTransactionExists)
at ApskaitaObjects.Documents.BankOperationItemList.DataPortal_Update()
at Csla.MethodCaller.CallMethod(Object obj, MethodInfo info, Object[] parameters)
at Csla.MethodCaller.CallMethod(Object obj, String method, Object[] parameters)
at Csla.Server.SimpleDataPortal.Update(Object obj, DataPortalContext context)
----------------------------
Vidinės klaidos (internal exception) duomenys:
Klaidos tekstas:
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Klaidos šaltinis(Ex.Source):
mscorlib
Klaidos metodas (Ex.TargetSite):
ThrowArgumentOutOfRangeException
Klaidos stekas:
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at AccDataAccessLayer.SqlServerSpecificMethods.MySqlCommandManager.TransactionRollBack(Exception e)
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.TransactionRollBack(Exception ex)
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.TransactionBegin(Boolean ThrowOnTransactionExists)
at ApskaitaObjects.Documents.BankOperationItemList.DataPortal_Update()
Ką tokiu atveju daryti...????
Help :)