vidakel rašė:
ausragabrielis rašė:
sveiki,
Po atnaujinimo pas mane pasidarė dar "geriau":
Norint atsidaryti sąskaitų faktūrų išrašymą, gautą sąskaitą registruoti, bendrą žurnalą ar kažką kita meta klaidą:
Klaida: Nepavyko gauti kešuojamo objekto, kurio tipas 'ApskaitaObjects.HelperLists.AccountInfoList'. Exception has been thrown by the target of an invocation.
Tkrinau DB, tačiau išmeta lentelę "klaida": Length cannot be less than zero.
Parameter name: length.
Arba aš kažko nemoku, arba.... . Gal pas kažką tokia pati bėda. Padėkit. Prašau.
Amžinas klausimas .....
Bendra -DB struktūta- Tikrinti-Taisyti
Bendras-DB strūktūra-tikrinti-taisyti
Neleidžia.Tikrinant meta lentelę "Klaida":Length cannot be less than zero.
Parameter name: length.
detaliau:
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_DatabaseStructureError.FetchErrorsButton_Click(Object sender, EventArgs e)
----------------------------
Vidinės klaidos (internal exception) duomenys:
Klaidos tekstas:
DataPortal.Fetch failed (System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseTable.Fetch(DataRow dr, ISqlGenerator SqlGenerator)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseTableList.Fetch(String DatabaseName, ISqlGenerator SqlGenerator)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseTableList..ctor(String DatabaseName, ISqlGenerator SqlGenerator)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructure.FetchFromDatabase(String DatabaseName, String LocalFilePassword)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructure.DoFetch(String DatabaseName, String LocalFilePassword)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructure.GetDatabaseStructureServerSide(String DatabaseName, String LocalFilePassword)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructureErrorList.DataPortal_Fetch(Criteria criteria))
Klaidos šaltinis(Ex.Source):
Csla
Klaidos metodas (Ex.TargetSite):
Fetch
Klaidos stekas:
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseTable.Fetch(DataRow dr, ISqlGenerator SqlGenerator)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseTableList.Fetch(String DatabaseName, ISqlGenerator SqlGenerator)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseTableList..ctor(String DatabaseName, ISqlGenerator SqlGenerator)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructure.FetchFromDatabase(String DatabaseName, String LocalFilePassword)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructure.DoFetch(String DatabaseName, String LocalFilePassword)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructure.GetDatabaseStructureServerSide(String DatabaseName, String LocalFilePassword)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructureErrorList.DataPortal_Fetch(Criteria criteria)
at Csla.MethodCaller.CallMethod(Object obj, MethodInfo info, Object[] parameters)
at Csla.Server.SimpleDataPortal.Fetch(Type objectType, Object criteria, DataPortalContext context)
at Csla.DataPortal.Fetch(Type objectType, Object criteria)
at Csla.DataPortal.Fetch[T](Object criteria)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructureErrorList.GetDatabaseStructureErrorList(String DatabaseName, IDatabaseStructureErrorManager CustomErrorManager, String nLocalFilePassword)
----------------------------
Vidinės klaidos (internal exception) duomenys:
Klaidos tekstas:
DataPortal_Fetch method call failed
Klaidos šaltinis(Ex.Source):
Csla
Klaidos metodas (Ex.TargetSite):
CallMethod
Klaidos stekas:
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseTable.Fetch(DataRow dr, ISqlGenerator SqlGenerator)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseTableList.Fetch(String DatabaseName, ISqlGenerator SqlGenerator)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseTableList..ctor(String DatabaseName, ISqlGenerator SqlGenerator)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructure.FetchFromDatabase(String DatabaseName, String LocalFilePassword)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructure.DoFetch(String DatabaseName, String LocalFilePassword)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructure.GetDatabaseStructureServerSide(String DatabaseName, String LocalFilePassword)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructureErrorList.DataPortal_Fetch(Criteria criteria)
at Csla.MethodCaller.CallMethod(Object obj, MethodInfo info, Object[] parameters)
at Csla.Server.SimpleDataPortal.Fetch(Type objectType, Object criteria, DataPortalContext context)
----------------------------
Vidinės klaidos (internal exception) duomenys:
Klaidos tekstas:
Length cannot be less than zero.
Parameter name: length
Klaidos šaltinis(Ex.Source):
mscorlib
Klaidos metodas (Ex.TargetSite):
InternalSubStringWithChecks
Klaidos stekas:
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseTable.Fetch(DataRow dr, ISqlGenerator SqlGenerator)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseTableList.Fetch(String DatabaseName, ISqlGenerator SqlGenerator)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseTableList..ctor(String DatabaseName, ISqlGenerator SqlGenerator)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructure.FetchFromDatabase(String DatabaseName, String LocalFilePassword)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructure.DoFetch(String DatabaseName, String LocalFilePassword)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructure.GetDatabaseStructureServerSide(String DatabaseName, String LocalFilePassword)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructureErrorList.DataPortal_Fetch(Criteria criteria)