2015-03-23 14:14
neringaliub
Sakykit, kaip jūs įsivedat naujas paslaugas? Nuėjus i "nauja paslauga" suvedžiau reikiamus duomenis, išskyrus pirkimo ir pardavimo kainas, išsaugojau, viskas lyg ir gerai. Bet nuėjus į paslaugų katalogą, nieko neatidaro ir metą klaidą: "Klaida. Nepavyko gauti kešuojamo objekto, kurio tipas "ApskaitaObjects, HelperLists. ServiceInfoList".Exception has been thrown by the target of an invocation.
Gal kam tai buvo ir patarsit ką daryt?
Detaliau išskleista klaida:
Klaidos duomenys:
Klaidos tekstas:
DataPortal.Fetch failed (System.Exception: Klaida. Nepavyko gauti kešuojamo objekto, kurio tipas 'ApskaitaObjects.HelperLists.ServiceInfoList'. Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at ApskaitaObjects.HelperLists.RegionalContentInfo.Fetch(String dr)
at ApskaitaObjects.HelperLists.RegionalContentInfoList.Fetch(String ConcetanatedString)
at ApskaitaObjects.HelperLists.ServiceInfo.Fetch(DataRow dr)
at ApskaitaObjects.HelperLists.ServiceInfo..ctor(DataRow dr)
at ApskaitaObjects.HelperLists.ServiceInfoList.DataPortal_Fetch(Criteria criteria)
at ApskaitaObjects.HelperLists.ServiceInfoList.GetListOnServer()
--- End of inner exception stack trace ---
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 AccDataAccessLayer.CacheObjectList.DataPortal_Fetch(Criteria criteria)
--- End of inner exception stack trace ---
at AccDataAccessLayer.CacheObjectList.DataPortal_Fetch(Criteria criteria))
Klaidos šaltinis(Ex.Source):
Csla
Klaidos metodas (Ex.TargetSite):
Fetch
Klaidos stekas:
at AccDataAccessLayer.CacheObjectList.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.CacheObjectList.GetList(Type[] nBaseType)
at ApskaitaWUI.CachedListsLoaders.PrepareCache(Form& CallingForm, Type[] nBaseType)
----------------------------
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 AccDataAccessLayer.CacheObjectList.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:
Klaida. Nepavyko gauti kešuojamo objekto, kurio tipas 'ApskaitaObjects.HelperLists.ServiceInfoList'. Exception has been thrown by the target of an invocation.
Klaidos šaltinis(Ex.Source):
AccDataAccessLayer
Klaidos metodas (Ex.TargetSite):
DataPortal_Fetch
Klaidos stekas:
at AccDataAccessLayer.CacheObjectList.DataPortal_Fetch(Criteria criteria)
----------------------------
Vidinės klaidos (internal exception) 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 AccDataAccessLayer.CacheObjectList.DataPortal_Fetch(Criteria criteria)
----------------------------
Vidinės klaidos (internal exception) duomenys:
Klaidos tekstas:
Index was outside the bounds of the array.
Klaidos šaltinis(Ex.Source):
ApskaitaObjects
Klaidos metodas (Ex.TargetSite):
Fetch
Klaidos stekas:
at ApskaitaObjects.HelperLists.RegionalContentInfo.Fetch(String dr)
at ApskaitaObjects.HelperLists.RegionalContentInfoList.Fetch(String ConcetanatedString)
at ApskaitaObjects.HelperLists.ServiceInfo.Fetch(DataRow dr)
at ApskaitaObjects.HelperLists.ServiceInfo..ctor(DataRow dr)
at ApskaitaObjects.HelperLists.ServiceInfoList.DataPortal_Fetch(Criteria criteria)
at ApskaitaObjects.HelperLists.ServiceInfoList.GetListOnServer()