2016-01-04 13:07
ausragabrielis
Neleidžia išsaugoti išrašomą sąskaitą. Per DB struktūrą patikrinus klaidą, pateikiama tokią info. Tačiau taisymo mygtukas yra neaktyvus. Prašau padėkite.
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.Exception: Failed to parse MySQL table definition string:
System.Byte[] ---> System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
at AccDataAccessLayer.SqlServerSpecificMethods.MySqlGenerator.FetchDatabaseTableFromDbDefinition(String DbDefinition, String& Name, String& EngineName, String& CharsetName)
--- End of inner exception stack trace ---
at AccDataAccessLayer.SqlServerSpecificMethods.MySqlGenerator.FetchDatabaseTableFromDbDefinition(String DbDefinition, String& Name, String& EngineName, String& CharsetName)
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 AccDataAccessLayer.SqlServerSpecificMethods.MySqlGenerator.FetchDatabaseTableFromDbDefinition(String DbDefinition, String& Name, String& EngineName, String& CharsetName)
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 AccDataAccessLayer.SqlServerSpecificMethods.MySqlGenerator.FetchDatabaseTableFromDbDefinition(String DbDefinition, String& Name, String& EngineName, String& CharsetName)
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:
Failed to parse MySQL table definition string:
System.Byte[]
Klaidos šaltinis(Ex.Source):
AccDataAccessLayer
Klaidos metodas (Ex.TargetSite):
FetchDatabaseTableFromDbDefinition
Klaidos stekas:
at AccDataAccessLayer.SqlServerSpecificMethods.MySqlGenerator.FetchDatabaseTableFromDbDefinition(String DbDefinition, String& Name, String& EngineName, String& CharsetName)
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)
----------------------------
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.SqlServerSpecificMethods.MySqlGenerator.FetchDatabaseTableFromDbDefinition(String DbDefinition, String& Name, String& EngineName, String& CharsetName)