2015-02-06 11:15
Programinė įranga »
Nemokama apskaitos programa »
#1260392
Sveiki,
nu man vistiek meta klaidą, kai uždarau 5/6 klases ir noriu pamatyti finansines ataskaitas: DataPortal.Fetch failed (System.Exception: Klaida. Nenustatyta einamojo periodo pelno (nuostolio) eilutė balanso ataskaitoje.
at ApskaitaObjects.ActiveReports.AccountTurnoverInfoList.GetClosingSummaryBalanceItem(Int64 ClosingSummaryAccount, Boolean ThrowOnNotFound)
at ApskaitaObjects.ActiveReports.FinancialStatementsInfo.DataPortal_Fetch(Criteria criteria))
TIKRAI PIRE ĮMONĖS DUOMENŲ NURODŽIAU SUVESTINES IR KITAS SĄSKAITAS. Tik dalykas tame, kad mano suvestinė yra 350, einami metai 331, o ankstesni 332. Sakau, gal dėl to man nesugeneruoja?
2015-01-22 17:00
Programinė įranga »
Nemokama apskaitos programa »
#1257520
Sveiki, uždariau 5/6klases. Dabar einu įFinansines ataskaitas ir man išmeta (Sakau, gal aš kažko neivedžiau?):
Klaidos duomenys:
Klaidos tekstas:
DataPortal.Fetch failed (System.Exception: Klaida. Nenustatyta einamojo periodo pelno (nuostolio) eilutė balanso ataskaitoje.
at ApskaitaObjects.ActiveReports.AccountTurnoverInfoList.GetClosingSummaryBalanceItem(Int64 ClosingSummaryAccount, Boolean ThrowOnNotFound)
at ApskaitaObjects.ActiveReports.FinancialStatementsInfo.DataPortal_Fetch(Criteria criteria))
Klaidos šaltinis(Ex.Source):
Apskaita5
Klaidos metodas (Ex.TargetSite):
LoadObject
Klaidos stekas:
at ApskaitaWUI.BOMapper.LoadObject[T](T ObjectInstance, String MethodName, Boolean AllowCancel, Object[] Params)
at ApskaitaWUI.F_FinancialStatementsInfo.RefreshButton_Click(Object sender, EventArgs e)
----------------------------
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 ApskaitaWUI.AsyncOperation`1.Fetch_DoWork(Object sender, DoWorkEventArgs e)
----------------------------
Vidinės klaidos (internal exception) duomenys:
Klaidos tekstas:
DataPortal.Fetch failed (System.Exception: Klaida. Nenustatyta einamojo periodo pelno (nuostolio) eilutė balanso ataskaitoje.
at ApskaitaObjects.ActiveReports.AccountTurnoverInfoList.GetClosingSummaryBalanceItem(Int64 ClosingSummaryAccount, Boolean ThrowOnNotFound)
at ApskaitaObjects.ActiveReports.FinancialStatementsInfo.DataPortal_Fetch(Criteria criteria))
Klaidos šaltinis(Ex.Source):
Csla
Klaidos metodas (Ex.TargetSite):
Fetch
Klaidos stekas:
at ApskaitaObjects.ActiveReports.AccountTurnoverInfoList.GetClosingSummaryBalanceItem(Int64 ClosingSummaryAccount, Boolean ThrowOnNotFound)
at ApskaitaObjects.ActiveReports.FinancialStatementsInfo.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 ApskaitaObjects.ActiveReports.FinancialStatementsInfo.GetFinancialStatementsInfo(DateTime nFirstPeriodDateStart, DateTime nSecondPeriodDateStart, DateTime nSecondPeriodDateEnd, Int64 nClosingSummaryAccount)
----------------------------
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 ApskaitaObjects.ActiveReports.AccountTurnoverInfoList.GetClosingSummaryBalanceItem(Int64 ClosingSummaryAccount, Boolean ThrowOnNotFound)
at ApskaitaObjects.ActiveReports.FinancialStatementsInfo.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. Nenustatyta einamojo periodo pelno (nuostolio) eilutė balanso ataskaitoje.
Klaidos šaltinis(Ex.Source):
ApskaitaObjects
Klaidos metodas (Ex.TargetSite):
GetClosingSummaryBalanceItem
Klaidos stekas:
at ApskaitaObjects.ActiveReports.AccountTurnoverInfoList.GetClosingSummaryBalanceItem(Int64 ClosingSummaryAccount, Boolean ThrowOnNotFound)
at ApskaitaObjects.ActiveReports.FinancialStatementsInfo.DataPortal_Fetch(Criteria criteria)
2015-01-19 17:56
Programinė įranga »
Nemokama apskaitos programa »
#1256754
Jau gėda jus ir trukdyti, bet noriu pasiklausti dėl 5/6 klasės uždarymo - meta klaidą:
Klaida vykdant SELECT sakinį (statement): [SELECT s.Saskaitosnr, SUM(CASE WHEN d.Op_tipas='Debetas' THEN d.Op_suma ELSE 0 END) AS SumDebit, SUM(CASE WHEN d.Op_tipas='Kreditas' THEN d.Op_suma ELSE 0 END) AS SumCredit FROM saskaitupl s LEFT JOIN bzdata d ON d.Op_saskaita = s.Saskaitosnr LEFT JOIN bz b ON b.Op_ID=d.Op_ID_BZ WHERE (LOCATE($AA, s.Saskaitosnr)=1 OR LOCATE($AB, s.Saskaitosnr)=1 OR LOCATE($AC, s.Saskaitosnr)=1 OR LOCATE($AD, s.Saskaitosnr)=1) AND b.Op_data<=$DT GROUP BY s.Saskaitosnr;='Debetas' THEN d.Op_suma ELSE 0 END) AS SumDebit, SUM(CASE WHEN d.Op_tipas='Kreditas' THEN d.Op_suma ELSE 0 END) AS SumCredit FROM saskaitupl s LEFT JOIN bzdata d ON d.Op_saskaita = s.Saskaitosnr LEFT JOIN bz b ON b.Op_ID=d.Op_ID_BZ WHERE (LOCATE($AA, s.Saskaitosnr)=1 OR LOCATE($AB, s.Saskaitosnr)=1 OR LOCATE($AC, s.Saskaitosnr)=1 OR LOCATE($AD, s.Saskaitosnr)=1) AND b.Op_data<=$DT GROUP BY s.Saskaitosnr;], Params: ?DT=2014-12-31; ?AA=5; ?AB=0; ?AC=6; ?AD=0;
Klaidos turinys: 'SQLite error
no such function: LOCATE'.
2015-01-03 16:58
Programinė įranga »
Nemokama apskaitos programa »
#1253303
Čia kai paspaudi detaliau:
Klaidos duomenys:
Klaidos tekstas:
DataPortal.Fetch failed (System.Exception: Klaida vykdant SELECT sakinį (statement): [SELECT b.Op_ID, b.Op_data, b.Op_Dok, b.Op_turinys, b.Op_dok_rusis, b.Op_analitika, a.Pavad, a.Kodas, a.Adresas, g.Op_tipas, g.Op_suma, g.Op_ana, c.Pavad, c.Kodas, c.Adresas, b.Op_korespond FROM bzdata g LEFT JOIN bz b ON g.Op_ID_BZ=b.Op_ID AND LOCATE($SS, CAST(g.Op_saskaita AS CHAR))=1 LEFT JOIN asmenys a ON a.ID=b.Op_analitika LEFT JOIN asmenys c ON c.ID=g.Op_ana WHERE b.Op_data>=$DF AND b.Op_data<=$DT ORDER BY b.Op_data, b.Op_Dok;=b.Op_ID AND LOCATE($SS, CAST(g.Op_saskaita AS CHAR))=1 LEFT JOIN asmenys a ON a.ID=b.Op_analitika LEFT JOIN asmenys c ON c.ID=g.Op_ana WHERE b.Op_data>=$DF AND b.Op_data<=$DT ORDER BY b.Op_data, b.Op_Dok;], Params: ?DF=2014.01.01; ?DT=2015.01.03; ?SS=412;
Klaidos turinys: 'SQLite error
no such function: LOCATE'. ---> System.Data.SQLite.SQLiteException: SQLite error
no such function: LOCATE
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.SQLiteDataReader.NextResult()
at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.SQLite.SQLiteCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
at AccDataAccessLayer.SqlServerSpecificMethods.SQLiteCommandManager.FetchCommand(SQLCommand SelectCommand)
--- End of inner exception stack trace ---
at AccDataAccessLayer.SqlServerSpecificMethods.SQLiteCommandManager.FetchCommand(SQLCommand SelectCommand)
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.FetchCommand(SQLCommand SelectCommand)
at AccDataAccessLayer.DatabaseAccess.SQLCommand.Fetch()
at ApskaitaObjects.ActiveReports.BookEntryInfoListParent.DataPortal_Fetch(Criteria criteria))
Klaidos šaltinis(Ex.Source):
Apskaita5
Klaidos metodas (Ex.TargetSite):
LoadObject
Klaidos stekas:
at ApskaitaWUI.BOMapper.LoadObject[T](T ObjectInstance, String MethodName, Boolean AllowCancel, Object[] Params)
at ApskaitaWUI.F_AccountTurnoverInfo.RefreshButton_Click(Object sender, EventArgs e)
----------------------------
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 ApskaitaWUI.AsyncOperation`1.Fetch_DoWork(Object sender, DoWorkEventArgs e)
----------------------------
Vidinės klaidos (internal exception) duomenys:
Klaidos tekstas:
DataPortal.Fetch failed (System.Exception: Klaida vykdant SELECT sakinį (statement): [SELECT b.Op_ID, b.Op_data, b.Op_Dok, b.Op_turinys, b.Op_dok_rusis, b.Op_analitika, a.Pavad, a.Kodas, a.Adresas, g.Op_tipas, g.Op_suma, g.Op_ana, c.Pavad, c.Kodas, c.Adresas, b.Op_korespond FROM bzdata g LEFT JOIN bz b ON g.Op_ID_BZ=b.Op_ID AND LOCATE($SS, CAST(g.Op_saskaita AS CHAR))=1 LEFT JOIN asmenys a ON a.ID=b.Op_analitika LEFT JOIN asmenys c ON c.ID=g.Op_ana WHERE b.Op_data>=$DF AND b.Op_data<=$DT ORDER BY b.Op_data, b.Op_Dok;=b.Op_ID AND LOCATE($SS, CAST(g.Op_saskaita AS CHAR))=1 LEFT JOIN asmenys a ON a.ID=b.Op_analitika LEFT JOIN asmenys c ON c.ID=g.Op_ana WHERE b.Op_data>=$DF AND b.Op_data<=$DT ORDER BY b.Op_data, b.Op_Dok;], Params: ?DF=2014.01.01; ?DT=2015.01.03; ?SS=412;
Klaidos turinys: 'SQLite error
no such function: LOCATE'. ---> System.Data.SQLite.SQLiteException: SQLite error
no such function: LOCATE
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.SQLiteDataReader.NextResult()
at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.SQLite.SQLiteCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
at AccDataAccessLayer.SqlServerSpecificMethods.SQLiteCommandManager.FetchCommand(SQLCommand SelectCommand)
--- End of inner exception stack trace ---
at AccDataAccessLayer.SqlServerSpecificMethods.SQLiteCommandManager.FetchCommand(SQLCommand SelectCommand)
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.FetchCommand(SQLCommand SelectCommand)
at AccDataAccessLayer.DatabaseAccess.SQLCommand.Fetch()
at ApskaitaObjects.ActiveReports.BookEntryInfoListParent.DataPortal_Fetch(Criteria criteria))
Klaidos šaltinis(Ex.Source):
Csla
Klaidos metodas (Ex.TargetSite):
Fetch
Klaidos stekas:
at AccDataAccessLayer.SqlServerSpecificMethods.SQLiteCommandManager.FetchCommand(SQLCommand SelectCommand)
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.FetchCommand(SQLCommand SelectCommand)
at AccDataAccessLayer.DatabaseAccess.SQLCommand.Fetch()
at ApskaitaObjects.ActiveReports.BookEntryInfoListParent.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 ApskaitaObjects.ActiveReports.BookEntryInfoListParent.GetBookEntryInfoListParent(DateTime nDateFrom, DateTime nDateTo, Int32 nAccount, PersonInfo nPerson, PersonGroupInfo nGroup, Boolean nIncludeSubAccounts)
----------------------------
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.SQLiteCommandManager.FetchCommand(SQLCommand SelectCommand)
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.FetchCommand(SQLCommand SelectCommand)
at AccDataAccessLayer.DatabaseAccess.SQLCommand.Fetch()
at ApskaitaObjects.ActiveReports.BookEntryInfoListParent.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 vykdant SELECT sakinį (statement): [SELECT b.Op_ID, b.Op_data, b.Op_Dok, b.Op_turinys, b.Op_dok_rusis, b.Op_analitika, a.Pavad, a.Kodas, a.Adresas, g.Op_tipas, g.Op_suma, g.Op_ana, c.Pavad, c.Kodas, c.Adresas, b.Op_korespond FROM bzdata g LEFT JOIN bz b ON g.Op_ID_BZ=b.Op_ID AND LOCATE($SS, CAST(g.Op_saskaita AS CHAR))=1 LEFT JOIN asmenys a ON a.ID=b.Op_analitika LEFT JOIN asmenys c ON c.ID=g.Op_ana WHERE b.Op_data>=$DF AND b.Op_data<=$DT ORDER BY b.Op_data, b.Op_Dok;=b.Op_ID AND LOCATE($SS, CAST(g.Op_saskaita AS CHAR))=1 LEFT JOIN asmenys a ON a.ID=b.Op_analitika LEFT JOIN asmenys c ON c.ID=g.Op_ana WHERE b.Op_data>=$DF AND b.Op_data<=$DT ORDER BY b.Op_data, b.Op_Dok;], Params: ?DF=2014.01.01; ?DT=2015.01.03; ?SS=412;
Klaidos turinys: 'SQLite error
no such function: LOCATE'.
Klaidos šaltinis(Ex.Source):
AccDataAccessLayer
Klaidos metodas (Ex.TargetSite):
FetchCommand
Klaidos stekas:
at AccDataAccessLayer.SqlServerSpecificMethods.SQLiteCommandManager.FetchCommand(SQLCommand SelectCommand)
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.FetchCommand(SQLCommand SelectCommand)
at AccDataAccessLayer.DatabaseAccess.SQLCommand.Fetch()
at ApskaitaObjects.ActiveReports.BookEntryInfoListParent.DataPortal_Fetch(Criteria criteria)
----------------------------
Vidinės klaidos (internal exception) duomenys:
Klaidos tekstas:
SQLite error
no such function: LOCATE
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.SQLiteDataReader.NextResult()
at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.SQLite.SQLiteCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
at AccDataAccessLayer.SqlServerSpecificMethods.SQLiteCommandManager.FetchCommand(SQLCommand SelectCommand)
2015-01-03 16:57
Programinė įranga »
Nemokama apskaitos programa »
#1253302
Niemand rašė:
aaastuteee rašė:
Dar truputis klaidų. Ar čia man vienai?
DataPortal.Fetch failed (System.Exception: Klaida vykdant SELECT sakinį (statement): [SELECT b.Op_ID, b.Op_data, b.Op_Dok, b.Op_turinys, b.Op_dok_rusis, b.Op_analitika, a.Pavad, a.Kodas, a.Adresas, g.Op_tipas, g.Op_suma, g.Op_ana, c.Pavad, c.Kodas, c.Adresas, b.Op_korespond FROM bzdata g LEFT JOIN bz b ON g.Op_ID_BZ=b.Op_ID AND LOCATE($SS, CAST(g.Op_saskaita AS CHAR))=1 LEFT JOIN asmenys a ON a.ID=b.Op_analitika LEFT JOIN asmenys c ON c.ID=g.Op_ana WHERE b.Op_data>=$DF AND b.Op_data<=$DT ORDER BY b.Op_data, b.Op_Dok;=b.Op_ID AND LOCATE($SS, CAST(g.Op_saskaita AS CHAR))=1 LEFT JOIN asmenys a ON a.ID=b.Op_analitika LEFT JOIN asmenys c ON c.ID=g.Op_ana WHERE b.Op_data>=$DF AND b.Op_data<=$DT ORDER BY b.Op_data, b.Op_Dok;], Params: ?DF=2014.01.01; ?DT=2015.01.03; ?SS=412;
Klaidos turinys: 'SQLite error
Meta, kai darau sąskaitos apyvartos žurnalo išrašą.
nukirpot klaidos tekstą...
DataPortal.Fetch failed (System.Exception: Klaida vykdant SELECT sakinį (statement): [SELECT b.Op_ID, b.Op_data, b.Op_Dok, b.Op_turinys, b.Op_dok_rusis, b.Op_analitika, a.Pavad, a.Kodas, a.Adresas, g.Op_tipas, g.Op_suma, g.Op_ana, c.Pavad, c.Kodas, c.Adresas, b.Op_korespond FROM bzdata g LEFT JOIN bz b ON g.Op_ID_BZ=b.Op_ID AND LOCATE($SS, CAST(g.Op_saskaita AS CHAR))=1 LEFT JOIN asmenys a ON a.ID=b.Op_analitika LEFT JOIN asmenys c ON c.ID=g.Op_ana WHERE b.Op_data>=$DF AND b.Op_data<=$DT ORDER BY b.Op_data, b.Op_Dok;=b.Op_ID AND LOCATE($SS, CAST(g.Op_saskaita AS CHAR))=1 LEFT JOIN asmenys a ON a.ID=b.Op_analitika LEFT JOIN asmenys c ON c.ID=g.Op_ana WHERE b.Op_data>=$DF AND b.Op_data<=$DT ORDER BY b.Op_data, b.Op_Dok;], Params: ?DF=2014.01.01; ?DT=2015.01.03; ?SS=412;
Klaidos turinys: 'SQLite error
no such function: LOCATE'. ---> System.Data.SQLite.SQLiteException: SQLite error
no such function: LOCATE
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.SQLiteDataReader.NextResult()
at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.SQLite.SQLiteCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
at AccDataAccessLayer.SqlServerSpecificMethods.SQLiteCommandManager.FetchCommand(SQLCommand SelectCommand)
--- End of inner exception stack trace ---
at AccDataAccessLayer.SqlServerSpecificMethods.SQLiteCommandManager.FetchCommand(SQLCommand SelectCommand)
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.FetchCommand(SQLCommand SelectCommand)
at AccDataAccessLayer.DatabaseAccess.SQLCommand.Fetch()
at ApskaitaObjects.ActiveReports.BookEntryInfoListParent.DataPortal_Fetch(Criteria criteria))
2015-01-03 16:51
Programinė įranga »
Nemokama apskaitos programa »
#1253299
Dar truputis klaidų. Ar čia man vienai?
DataPortal.Fetch failed (System.Exception: Klaida vykdant SELECT sakinį (statement): [SELECT b.Op_ID, b.Op_data, b.Op_Dok, b.Op_turinys, b.Op_dok_rusis, b.Op_analitika, a.Pavad, a.Kodas, a.Adresas, g.Op_tipas, g.Op_suma, g.Op_ana, c.Pavad, c.Kodas, c.Adresas, b.Op_korespond FROM bzdata g LEFT JOIN bz b ON g.Op_ID_BZ=b.Op_ID AND LOCATE($SS, CAST(g.Op_saskaita AS CHAR))=1 LEFT JOIN asmenys a ON a.ID=b.Op_analitika LEFT JOIN asmenys c ON c.ID=g.Op_ana WHERE b.Op_data>=$DF AND b.Op_data<=$DT ORDER BY b.Op_data, b.Op_Dok;=b.Op_ID AND LOCATE($SS, CAST(g.Op_saskaita AS CHAR))=1 LEFT JOIN asmenys a ON a.ID=b.Op_analitika LEFT JOIN asmenys c ON c.ID=g.Op_ana WHERE b.Op_data>=$DF AND b.Op_data<=$DT ORDER BY b.Op_data, b.Op_Dok;], Params: ?DF=2014.01.01; ?DT=2015.01.03; ?SS=412;
Klaidos turinys: 'SQLite error
Meta, kai darau sąskaitos apyvartos žurnalo išrašą.
2015-01-03 16:36
Programinė įranga »
Nemokama apskaitos programa »
#1253297
Sveiki,
nu aš kaip visada, su savo vis klaidom, gal net ir gėda, bet paklausiu.
Kai anksčiau importavau kontrahentus iš senos versijos viskas susiimportavo be klaidų. Dabar gi A5 vieną įmonę sukūriau LTL, o dabar tokią pačią kuriu EUR. Kai tik importuoju kontrahentus, tai valiuta atsiranda prie adreso, kiti stulpeliai irgi išmėtomi. TIKRAI skaičiau, reikalavimus, kopijavau, žiūrėjau, skaičiavau, kad viskas atitiktų. Ir excel ir notepad, eina iš eilės. Bet, kaip importuoju, arba tiesiog copy/paste, stulpeliai išsimėto.
Gal ir kvaila skųstis, bet jeigu pasakysit, kad pati kalta, teks pačiai ir spręsti. :)
2015-01-03 15:03
Programinė įranga »
Nemokama apskaitos programa »
#1253281
Vejej, išsigandau. Bandžiau sukurti naują įmonę ir še tau:
KRITINĖ KLAIDA - NEBAIGTA KURTI DUOMENŲ BAZĖ. Klaida kilo bandant sukurti lentelę 'advancereports'. Iki klaidos atsiradimo nebuvo sukurta nė viena lentelė šioje duomenų bazėje.Iki klaidos atsiradimo nebuvo sukurta nė viena procedūra šioje duomenų bazėje.Iki klaidos atsiradimo nebuvo sukurtas nė vienas indeksas šioje duomenų bazėje.
SQL serverio klaidos pranešimas yra:
Klaida vykdant SQL komandą: [CREATE TABLE advancereports(ID INTEGER NOT NULL PRIMARY KEY, CurrencyCode VARCHAR(8) NOT NULL, CurrencyRate DOUBLE NOT NULL, Account BIGINT NOT NULL, Comments VARCHAR(255) NOT NULL, CommentsInternal VARCHAR(255) NOT NULL, DocumentState VARCHAR(1000) NOT NULL);], Params:
Klaidos turinys: 'SQLite error
table advancereports already exists'.
Klaidą sukėlė ši SQL komanda:
CREATE TABLE advancereports(ID INTEGER NOT NULL PRIMARY KEY, CurrencyCode VARCHAR(8) NOT NULL, CurrencyRate DOUBLE NOT NULL, Account BIGINT NOT NULL, Comments VARCHAR(255) NOT NULL, CommentsInternal VARCHAR(255) NOT NULL, DocumentState VARCHAR(1000) NOT NULL);
2014-12-30 14:14
Programinė įranga »
Nemokama apskaitos programa »
#1252866
Sveiki,
norėjau pasiklausti. Susiimportavau banko duomenis. Tavarkiau tvarkiau nu ir prasidėjo, kad nebeleidžia pasirinkti kontraheno. Meta klaidą:
Gal galite pasižiūrėti? Ačiū
Klaidos duomenys:
Klaidos tekstas:
Cannot access a disposed object.
Object name: 'ToolStripDropDown'.
Klaidos šaltinis(Ex.Source):
System.Windows.Forms
Klaidos metodas (Ex.TargetSite):
CreateHandle
Klaidos stekas:
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.ToolStripDropDown.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.ToolTip.get_CreateParams()
at System.Windows.Forms.ToolTip.CreateHandle()
at System.Windows.Forms.ToolTip.get_Handle()
at System.Windows.Forms.ToolTip.SetToolInfo(Control ctl, String caption)
at System.Windows.Forms.ToolTip.Hide(IWin32Window win)
at System.Windows.Forms.DataGridView.DataGridViewToolTip.Activate(Boolean activate)
at System.Windows.Forms.DataGridView.ActivateToolTip(Boolean activate, String toolTipText, Int32 columnIndex, Int32 rowIndex)
at System.Windows.Forms.DataGridViewCell.OnCellDataAreaMouseLeaveInternal()
at System.Windows.Forms.DataGridViewCell.OnMouseLeaveInternal(Int32 rowIndex)
at System.Windows.Forms.DataGridView.OnCellMouseLeave(DataGridViewCellEventArgs e)
at System.Windows.Forms.DataGridView.UpdateMouseEnteredCell(HitTestInfo hti, MouseEventArgs e)
at System.Windows.Forms.DataGridView.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.DataGridView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)