2015-02-09 23:19
Programinė įranga »
Nemokama apskaitos programa »
#1260883
sveiki,
atliekant duomenu perkelima is senos versijos i nauja, iškilo problema. Suinstaliuotoje naujoje versijoje tikrinant ir taisant duomenų bazės struktūros klaidas išmeta tokia klaida
There is no row at position 10000.
Detaliau:
Klaidos duomenys:
Klaidos tekstas:
DataPortal.Update failed (System.IndexOutOfRangeException: There is no row at position 10000.
at System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex)
at System.Data.RBTree`1.get_Item(Int32 index)
at System.Data.DataRowCollection.get_Item(Int32 index)
at ApskaitaObjects.CustomDatabaseStructureErrorManager.OldBalanceItem..ctor(DataTable myData, Int32& index, FinancialStatementItemType nType)
at ApskaitaObjects.CustomDatabaseStructureErrorManager.OldBalanceItem.FetchStructure()
at ApskaitaObjects.CustomDatabaseStructureErrorManager.UpgradeOldVersionBalanceStructure(DatabaseStructureErrorList& StructureErrorList)
at ApskaitaObjects.CustomDatabaseStructureErrorManager.RepairCustomError(DatabaseStructureErrorList& StructureErrorList, DatabaseStructureError CustomError)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructureError.Update(DatabaseStructureErrorList& parent)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructureErrorList.DataPortal_Update())
Klaidos šaltinis(Ex.Source):
Csla
Klaidos metodas (Ex.TargetSite):
Update
Klaidos stekas:
at System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex)
at System.Data.RBTree`1.get_Item(Int32 index)
at System.Data.DataRowCollection.get_Item(Int32 index)
at ApskaitaObjects.CustomDatabaseStructureErrorManager.OldBalanceItem..ctor(DataTable myData, Int32& index, FinancialStatementItemType nType)
at ApskaitaObjects.CustomDatabaseStructureErrorManager.OldBalanceItem.FetchStructure()
at ApskaitaObjects.CustomDatabaseStructureErrorManager.UpgradeOldVersionBalanceStructure(DatabaseStructureErrorList& StructureErrorList)
at ApskaitaObjects.CustomDatabaseStructureErrorManager.RepairCustomError(DatabaseStructureErrorList& StructureErrorList, DatabaseStructureError CustomError)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructureError.Update(DatabaseStructureErrorList& parent)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructureErrorList.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 AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructureErrorList.Save()
at ApskaitaWUI.F_DatabaseStructureError.RepairErrorsButton_Click(Object sender, EventArgs e)
----------------------------
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.Data.RBTree`1.GetNodeByIndex(Int32 userIndex)
at System.Data.RBTree`1.get_Item(Int32 index)
at System.Data.DataRowCollection.get_Item(Int32 index)
at ApskaitaObjects.CustomDatabaseStructureErrorManager.OldBalanceItem..ctor(DataTable myData, Int32& index, FinancialStatementItemType nType)
at ApskaitaObjects.CustomDatabaseStructureErrorManager.OldBalanceItem.FetchStructure()
at ApskaitaObjects.CustomDatabaseStructureErrorManager.UpgradeOldVersionBalanceStructure(DatabaseStructureErrorList& StructureErrorList)
at ApskaitaObjects.CustomDatabaseStructureErrorManager.RepairCustomError(DatabaseStructureErrorList& StructureErrorList, DatabaseStructureError CustomError)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructureError.Update(DatabaseStructureErrorList& parent)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructureErrorList.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:
There is no row at position 10000.
Klaidos šaltinis(Ex.Source):
System.Data
Klaidos metodas (Ex.TargetSite):
GetNodeByIndex
Klaidos stekas:
at System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex)
at System.Data.RBTree`1.get_Item(Int32 index)
at System.Data.DataRowCollection.get_Item(Int32 index)
at ApskaitaObjects.CustomDatabaseStructureErrorManager.OldBalanceItem..ctor(DataTable myData, Int32& index, FinancialStatementItemType nType)
at ApskaitaObjects.CustomDatabaseStructureErrorManager.OldBalanceItem.FetchStructure()
at ApskaitaObjects.CustomDatabaseStructureErrorManager.UpgradeOldVersionBalanceStructure(DatabaseStructureErrorList& StructureErrorList)
at ApskaitaObjects.CustomDatabaseStructureErrorManager.RepairCustomError(DatabaseStructureErrorList& StructureErrorList, DatabaseStructureError CustomError)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructureError.Update(DatabaseStructureErrorList& parent)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructureErrorList.DataPortal_Update()