2015-11-30 15:36
RBr
Sveiki,
Labai patinka programa, bet po paskutinių atnaujinimų, labai daug lentelių meta ir daug ko neišsaugo. Bandžiau įvesti išrašomą sąskaitą, bet man jos neišsaugo ir meta tokią informaciją.
Gal galite padėti? Ačiū,
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_InvoiceMade.SaveObj()
----------------------------
Vidinės klaidos (internal exception) duomenys:
Klaidos tekstas:
DataPortal.Update failed (System.Exception: Klaida transakcijoje vykdant SQL sakinį [INSERT INTO sfd(SF_ID, Rusis, P_ID, Preke, NameAltLng, Kiekis, Kaina, SumOriginal, Tar, SumVatOriginal, UnitValueLTL, SumLTL, SumVatLTL, Discount, DiscountLTL, DiscountVat, DiscountVatLTL, Vnt, MeasureUnitAltLng, P_Sas, A_Sas, AccountDiscount, IncludeVatInObject, VatIsVirtual) VALUES($AB, $AC, $AD, $AE, $AF, $AG, $AH, $AI, $AJ, $AK, $AL, $AM, $AN, $AO, $AQ, $AP, $AR, $AT, $AU, $AV, $AW, $BA, $BB, $BC);], Params: ?AB=1044; ?AC=0; ?AD=0; ?AE=Pavyzdžių pasiuvimas; ?AF=; ?AT=EUR; ?AU=; ?AG=1; ?AH=13,6; ?AI=13,6; ?AJ=21; ?AK=2,86; ?AL=13,6; ?AM=13,6; ?AN=2,86; ?AO=0; ?AQ=0; ?AP=0; ?AR=0; ?AV=500; ?AW=4484; ?BA=0; ?BB=0; ?BC=0;
Klaidos turinys: 'Klaida vykdant SQL komandą: [INSERT INTO sfd(SF_ID, Rusis, P_ID, Preke, NameAltLng, Kiekis, Kaina, SumOriginal, Tar, SumVatOriginal, UnitValueLTL, SumLTL, SumVatLTL, Discount, DiscountLTL, DiscountVat, DiscountVatLTL, Vnt, MeasureUnitAltLng, P_Sas, A_Sas, AccountDiscount, IncludeVatInObject, VatIsVirtual) VALUES($AB, $AC, $AD, $AE, $AF, $AG, $AH, $AI, $AJ, $AK, $AL, $AM, $AN, $AO, $AQ, $AP, $AR, $AT, $AU, $AV, $AW, $BA, $BB, $BC);], Params: ?AB=1044; ?AC=0; ?AD=0; ?AE=Pavyzdžių pasiuvimas; ?AF=; ?AT=EUR; ?AU=; ?AG=1; ?AH=13,6; ?AI=13,6; ?AJ=21; ?AK=2,86; ?AL=13,6; ?AM=13,6; ?AN=2,86; ?AO=0; ?AQ=0; ?AP=0; ?AR=0; ?AV=500; ?AW=4484; ?BA=0; ?BB=0; ?BC=0;
Klaidos turinys: 'SQLite error
table sfd has no column named VatIsVirtual'.'. ---> System.Exception: Klaida vykdant SQL komandą: [INSERT INTO sfd(SF_ID, Rusis, P_ID, Preke, NameAltLng, Kiekis, Kaina, SumOriginal, Tar, SumVatOriginal, UnitValueLTL, SumLTL, SumVatLTL, Discount, DiscountLTL, DiscountVat, DiscountVatLTL, Vnt, MeasureUnitAltLng, P_Sas, A_Sas, AccountDiscount, IncludeVatInObject, VatIsVirtual) VALUES($AB, $AC, $AD, $AE, $AF, $AG, $AH, $AI, $AJ, $AK, $AL, $AM, $AN, $AO, $AQ, $AP, $AR, $AT, $AU, $AV, $AW, $BA, $BB, $BC);], Params: ?AB=1044; ?AC=0; ?AD=0; ?AE=Pavyzdžių pasiuvimas; ?AF=; ?AT=EUR; ?AU=; ?AG=1; ?AH=13,6; ?AI=13,6; ?AJ=21; ?AK=2,86; ?AL=13,6; ?AM=13,6; ?AN=2,86; ?AO=0; ?AQ=0; ?AP=0; ?AR=0; ?AV=500; ?AW=4484; ?BA=0; ?BB=0; ?BC=0;
Klaidos turinys: 'SQLite error
table sfd has no column named VatIsVirtual'. ---> System.Data.SQLite.SQLiteException: SQLite error
table sfd has no column named VatIsVirtual
at System.Data.SQLite.SQLite3.Prepare(String strSql, SQLiteStatement previous, String& strRemain)
at System.Data.SQLite.SQLiteCommand.BuildNextCommand()
at System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index)
at System.Data.SQLite.SQLiteCommand.ExecuteScalar()
at AccDataAccessLayer.SqlServerSpecificMethods.SQLiteCommandManager.ExecuteCommand(SQLCommand CommandToExecute, Int32& RowsAffected)
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at AccDataAccessLayer.SqlServerSpecificMethods.SQLiteCommandManager.TransactionRollBack(Exception e)
at AccDataAccessLayer.SqlServerSpecificMethods.SQLiteCommandManager.ExecuteCommand(SQLCommand CommandToExecute, Int32& RowsAffected)
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.ExecuteCommand(SQLCommand CommandToExecute, Int32& RowsAffected)
at AccDataAccessLayer.DatabaseAccess.SQLCommand.Execute()
at ApskaitaObjects.Documents.InvoiceMadeItem.Insert(InvoiceMade parentInvoice)
at ApskaitaObjects.Documents.InvoiceMadeItemList.Update(InvoiceMade parent)
at ApskaitaObjects.Documents.InvoiceMade.DataPortal_Insert())
Klaidos šaltinis(Ex.Source):
Csla
Klaidos metodas (Ex.TargetSite):
Update
Klaidos stekas:
at AccDataAccessLayer.SqlServerSpecificMethods.SQLiteCommandManager.TransactionRollBack(Exception e)
at AccDataAccessLayer.SqlServerSpecificMethods.SQLiteCommandManager.ExecuteCommand(SQLCommand CommandToExecute, Int32& RowsAffected)
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.ExecuteCommand(SQLCommand CommandToExecute, Int32& RowsAffected)
at AccDataAccessLayer.DatabaseAccess.SQLCommand.Execute()
at ApskaitaObjects.Documents.InvoiceMadeItem.Insert(InvoiceMade parentInvoice)
at ApskaitaObjects.Documents.InvoiceMadeItemList.Update(InvoiceMade parent)
at ApskaitaObjects.Documents.InvoiceMade.DataPortal_Insert()
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.BusinessBase`1.Save()
at ApskaitaObjects.Documents.InvoiceMade.Save()
----------------------------
Vidinės klaidos (internal exception) duomenys:
Klaidos tekstas:
DataPortal_Insert method call failed
Klaidos šaltinis(Ex.Source):
Csla
Klaidos metodas (Ex.TargetSite):
CallMethod
Klaidos stekas:
at AccDataAccessLayer.SqlServerSpecificMethods.SQLiteCommandManager.TransactionRollBack(Exception e)
at AccDataAccessLayer.SqlServerSpecificMethods.SQLiteCommandManager.ExecuteCommand(SQLCommand CommandToExecute, Int32& RowsAffected)
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.ExecuteCommand(SQLCommand CommandToExecute, Int32& RowsAffected)
at AccDataAccessLayer.DatabaseAccess.SQLCommand.Execute()
at ApskaitaObjects.Documents.InvoiceMadeItem.Insert(InvoiceMade parentInvoice)
at ApskaitaObjects.Documents.InvoiceMadeItemList.Update(InvoiceMade parent)
at ApskaitaObjects.Documents.InvoiceMade.DataPortal_Insert()
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:
Klaida transakcijoje vykdant SQL sakinį [INSERT INTO sfd(SF_ID, Rusis, P_ID, Preke, NameAltLng, Kiekis, Kaina, SumOriginal, Tar, SumVatOriginal, UnitValueLTL, SumLTL, SumVatLTL, Discount, DiscountLTL, DiscountVat, DiscountVatLTL, Vnt, MeasureUnitAltLng, P_Sas, A_Sas, AccountDiscount, IncludeVatInObject, VatIsVirtual) VALUES($AB, $AC, $AD, $AE, $AF, $AG, $AH, $AI, $AJ, $AK, $AL, $AM, $AN, $AO, $AQ, $AP, $AR, $AT, $AU, $AV, $AW, $BA, $BB, $BC);], Params: ?AB=1044; ?AC=0; ?AD=0; ?AE=Pavyzdžių pasiuvimas; ?AF=; ?AT=EUR; ?AU=; ?AG=1; ?AH=13,6; ?AI=13,6; ?AJ=21; ?AK=2,86; ?AL=13,6; ?AM=13,6; ?AN=2,86; ?AO=0; ?AQ=0; ?AP=0; ?AR=0; ?AV=500; ?AW=4484; ?BA=0; ?BB=0; ?BC=0;
Klaidos turinys: 'Klaida vykdant SQL komandą: [INSERT INTO sfd(SF_ID, Rusis, P_ID, Preke, NameAltLng, Kiekis, Kaina, SumOriginal, Tar, SumVatOriginal, UnitValueLTL, SumLTL, SumVatLTL, Discount, DiscountLTL, DiscountVat, DiscountVatLTL, Vnt, MeasureUnitAltLng, P_Sas, A_Sas, AccountDiscount, IncludeVatInObject, VatIsVirtual) VALUES($AB, $AC, $AD, $AE, $AF, $AG, $AH, $AI, $AJ, $AK, $AL, $AM, $AN, $AO, $AQ, $AP, $AR, $AT, $AU, $AV, $AW, $BA, $BB, $BC);], Params: ?AB=1044; ?AC=0; ?AD=0; ?AE=Pavyzdžių pasiuvimas; ?AF=; ?AT=EUR; ?AU=; ?AG=1; ?AH=13,6; ?AI=13,6; ?AJ=21; ?AK=2,86; ?AL=13,6; ?AM=13,6; ?AN=2,86; ?AO=0; ?AQ=0; ?AP=0; ?AR=0; ?AV=500; ?AW=4484; ?BA=0; ?BB=0; ?BC=0;
Klaidos turinys: 'SQLite error
table sfd has no column named VatIsVirtual'.'.
Klaidos šaltinis(Ex.Source):
AccDataAccessLayer
Klaidos metodas (Ex.TargetSite):
TransactionRollBack
Klaidos stekas:
at AccDataAccessLayer.SqlServerSpecificMethods.SQLiteCommandManager.TransactionRollBack(Exception e)
at AccDataAccessLayer.SqlServerSpecificMethods.SQLiteCommandManager.ExecuteCommand(SQLCommand CommandToExecute, Int32& RowsAffected)
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.ExecuteCommand(SQLCommand CommandToExecute, Int32& RowsAffected)
at AccDataAccessLayer.DatabaseAccess.SQLCommand.Execute()
at ApskaitaObjects.Documents.InvoiceMadeItem.Insert(InvoiceMade parentInvoice)
at ApskaitaObjects.Documents.InvoiceMadeItemList.Update(InvoiceMade parent)
at ApskaitaObjects.Documents.InvoiceMade.DataPortal_Insert()
----------------------------
Vidinės klaidos (internal exception) duomenys:
Klaidos tekstas:
Klaida vykdant SQL komandą: [INSERT INTO sfd(SF_ID, Rusis, P_ID, Preke, NameAltLng, Kiekis, Kaina, SumOriginal, Tar, SumVatOriginal, UnitValueLTL, SumLTL, SumVatLTL, Discount, DiscountLTL, DiscountVat, DiscountVatLTL, Vnt, MeasureUnitAltLng, P_Sas, A_Sas, AccountDiscount, IncludeVatInObject, VatIsVirtual) VALUES($AB, $AC, $AD, $AE, $AF, $AG, $AH, $AI, $AJ, $AK, $AL, $AM, $AN, $AO, $AQ, $AP, $AR, $AT, $AU, $AV, $AW, $BA, $BB, $BC);], Params: ?AB=1044; ?AC=0; ?AD=0; ?AE=Pavyzdžių pasiuvimas; ?AF=; ?AT=EUR; ?AU=; ?AG=1; ?AH=13,6; ?AI=13,6; ?AJ=21; ?AK=2,86; ?AL=13,6; ?AM=13,6; ?AN=2,86; ?AO=0; ?AQ=0; ?AP=0; ?AR=0; ?AV=500; ?AW=4484; ?BA=0; ?BB=0; ?BC=0;
Klaidos turinys: 'SQLite error
table sfd has no column named VatIsVirtual'.
----------------------------
Vidinės klaidos (internal exception) duomenys:
Klaidos tekstas:
SQLite error
table sfd has no column named VatIsVirtual
Klaidos šaltinis(Ex.Source):
System.Data.SQLite
Klaidos metodas (Ex.TargetSite):
Prepare
Klaidos stekas:
at System.Data.SQLite.SQLite3.Prepare(String strSql, SQLiteStatement previous, String& strRemain)
at System.Data.SQLite.SQLiteCommand.BuildNextCommand()
at System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index)
at System.Data.SQLite.SQLiteCommand.ExecuteScalar()
at AccDataAccessLayer.SqlServerSpecificMethods.SQLiteCommandManager.ExecuteCommand(SQLCommand CommandToExecute, Int32& RowsAffected)