Niemand rašė:
Romi2000 rašė:
Sveiki!
Po paskutinio atnaujinimo (20150424) pasirenkant Dokumentai -> Saskaitos fakturos -> Israsyti S-F ir paspaudziant mygtuka "+" ismeta klaida (prisegu screenshot-a). Pries tai nuvusi versija sios problemos neturejo.
Nesimato viso klaidos teksto.
================
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.Exception: Klaida vykdant SELECT sakinį (statement): [SELECT S.ID, S.Tip, S.TrPav, S.Amount, S.PVM, S.RateVatPurchase, S.Obsol, S.S_Sask, S.P_Sask, S.AccountPurchase, S.AccountVatPurchase, (SELECT GROUP_CONCAT(CONCAT(CAST(c.ID AS CHAR), '*-*-', c.LanguageCode, '*-*-', c.ContentInvoice, '*-*-', c.MeasureUnit, '*-*-', c.VatExempt) SEPARATOR '@*#@') FROM RegionalContents c WHERE c.ParentID=S.ID AND c.ParentType=0 GROUP BY c.ParentID), (SELECT GROUP_CONCAT(CONCAT(CAST(d.ID AS CHAR), '*-*-', d.CurrencyCode, '*-*-', CAST(CAST(d.ValuePerUnitSales * 10000 AS UNSIGNED) AS CHAR), '*-*-', CAST(CAST(d.ValuePerUnitPurchases * 10000 AS UNSIGNED) AS CHAR)) SEPARATOR '@*#@') FROM RegionalPrices d WHERE d.ParentID=S.ID AND d.ParentType=0 GROUP BY d.ParentID) FROM Paslaugos S ORDER BY S.TrPav;=S.ID AND c.ParentType=0 GROUP BY c.ParentID), (SELECT GROUP_CONCAT(CONCAT(CAST(d.ID AS CHAR), '*-*-', d.CurrencyCode, '*-*-', CAST(CAST(d.ValuePerUnitSales * 10000 AS UNSIGNED) AS CHAR), '*-*-', CAST(CAST(d.ValuePerUnitPurchases * 10000 AS UNSIGNED) AS CHAR)) SEPARATOR '@*#@') FROM RegionalPrices d WHERE d.ParentID=S.ID AND d.ParentType=0 GROUP BY d.ParentID) FROM Paslaugos S ORDER BY S.TrPav;], Params:
Klaidos turinys: 'Illegal mix of collations for operation 'concat''. ---> MySql.Data.MySqlClient.MySqlException: Illegal mix of collations for operation 'concat'
at MySql.Data.MySqlClient.MySqlStream.OpenPacket()
at MySql.Data.MySqlClient.NativeDriver.ReadResult(UInt64& affectedRows, Int64& lastInsertId)
at MySql.Data.MySqlClient.MySqlDataReader.GetResultSet()
at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at MySql.Data.MySqlClient.MySqlCommand.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.MySqlCommandManager.FetchCommand(SQLCommand SelectCommand)
--- End of inner exception stack trace ---
at AccDataAccessLayer.SqlServerSpecificMethods.MySqlCommandManager.FetchCommand(SQLCommand SelectCommand)
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.FetchCommand(SQLCommand SelectCommand)
at AccDataAccessLayer.DatabaseAccess.SQLCommand.Fetch()
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:
Klaida vykdant SELECT sakinį (statement): [SELECT S.ID, S.Tip, S.TrPav, S.Amount, S.PVM, S.RateVatPurchase, S.Obsol, S.S_Sask, S.P_Sask, S.AccountPurchase, S.AccountVatPurchase, (SELECT GROUP_CONCAT(CONCAT(CAST(c.ID AS CHAR), '*-*-', c.LanguageCode, '*-*-', c.ContentInvoice, '*-*-', c.MeasureUnit, '*-*-', c.VatExempt) SEPARATOR '@*#@') FROM RegionalContents c WHERE c.ParentID=S.ID AND c.ParentType=0 GROUP BY c.ParentID), (SELECT GROUP_CONCAT(CONCAT(CAST(d.ID AS CHAR), '*-*-', d.CurrencyCode, '*-*-', CAST(CAST(d.ValuePerUnitSales * 10000 AS UNSIGNED) AS CHAR), '*-*-', CAST(CAST(d.ValuePerUnitPurchases * 10000 AS UNSIGNED) AS CHAR)) SEPARATOR '@*#@') FROM RegionalPrices d WHERE d.ParentID=S.ID AND d.ParentType=0 GROUP BY d.ParentID) FROM Paslaugos S ORDER BY S.TrPav;=S.ID AND c.ParentType=0 GROUP BY c.ParentID), (SELECT GROUP_CONCAT(CONCAT(CAST(d.ID AS CHAR), '*-*-', d.CurrencyCode, '*-*-', CAST(CAST(d.ValuePerUnitSales * 10000 AS UNSIGNED) AS CHAR), '*-*-', CAST(CAST(d.ValuePerUnitPurchases * 10000 AS UNSIGNED) AS CHAR)) SEPARATOR '@*#@') FROM RegionalPrices d WHERE d.ParentID=S.ID AND d.ParentType=0 GROUP BY d.ParentID) FROM Paslaugos S ORDER BY S.TrPav;], Params:
Klaidos turinys: 'Illegal mix of collations for operation 'concat''.
Klaidos šaltinis(Ex.Source):
AccDataAccessLayer
Klaidos metodas (Ex.TargetSite):
FetchCommand
Klaidos stekas:
at AccDataAccessLayer.SqlServerSpecificMethods.MySqlCommandManager.FetchCommand(SQLCommand SelectCommand)
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.FetchCommand(SQLCommand SelectCommand)
at AccDataAccessLayer.DatabaseAccess.SQLCommand.Fetch()
at ApskaitaObjects.HelperLists.ServiceInfoList.DataPortal_Fetch(Criteria criteria)
at ApskaitaObjects.HelperLists.ServiceInfoList.GetListOnServer()
----------------------------
Vidinės klaidos (internal exception) duomenys:
Klaidos tekstas:
Illegal mix of collations for operation 'concat'
Klaidos šaltinis(Ex.Source):
MySql.Data
Klaidos metodas (Ex.TargetSite):
OpenPacket
Klaidos stekas:
at MySql.Data.MySqlClient.MySqlStream.OpenPacket()
at MySql.Data.MySqlClient.NativeDriver.ReadResult(UInt64& affectedRows, Int64& lastInsertId)
at MySql.Data.MySqlClient.MySqlDataReader.GetResultSet()
at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at MySql.Data.MySqlClient.MySqlCommand.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.MySqlCommandManager.FetchCommand(SQLCommand SelectCommand)
======================