I manage to take it to 5 Minutes in Client Server
but running from powerserver i get this in the errorlog
2019-01-03 16:00:41.450 : [Application name=aportes,conn cache=cmpu,SQLOrProcedure=select nomoper = fn_nombre_completo(persona) , persona, moneda, fn_categoria(persona, date('2019-1-3'),moneda) as v_categoria, isnull(fn_utilidad_acumulada_x_rendicion(persona , date('2019-1-3'),moneda),0) as utilidad_acumulada, isnull(fn_aporte_acumulado_x_fecha_rendicion (persona ,'19010101', date('2019-1-3'),moneda),0) as aporte_acumulada from aportes where tipo_fondo = 'N' and aportes.moneda = 'GS' and ( (not exists (select * from aportes a where a.persona = aportes.persona and a.tipo_fondo in ( 'B', 'R', 'U') and a.fecha_planilla <= date('2019-1-3') ) or persona in( 264, 1686) ) and ((persona <> 1686 and date('2019-1-3') >= 20180604) or date('2019-1-3') < 20180604) ) or (persona <> 10 and fn_fecha_jubilacion_a_fecha(persona, date('2019-1-3'),moneda) < fn_fecha_ingreso_a_fecha(persona, date('2019-1-3'),moneda)) group by persona,moneda having utilidad_acumulada <> 0 or aporte_acumulada <> 0]Thread was being aborted.
at System.Data.Common.UnsafeNativeMethods.SQLFetch(OdbcStatementHandle StatementHandle)
at System.Data.Odbc.OdbcDataReader.Read()
at Appeon.Server.Services.DataService.EonDbDataReader.Read()
at Appeon.Server.Services.DataService.DataServiceUtil.OutputResultSet(DataWriter writer, EonDbDataReader dr, String pbVersion, CommandData commandData)
at Appeon.Server.Commands.DWRetrieveCommand.ExecuteOneDataObject(DataWriter writer, DataObject dataObject, Object wrapper, Nullable`1 lastModifyTime)
at Appeon.Server.Commands.DWRetrieveCommand.ExecuteDBDataObject(DataObject curDataObject)
at Appeon.Server.Commands.DWRetrieveCommand.ExecuteCommand()
2019-01-03 16:00:41.481 : Thread was being aborted.
at Appeon.Server.Commands.DWRetrieveCommand.ExecuteCommand()
at Appeon.Server.Commands.Command.ConstructAndExecute(CommandData commandData)
at Appeon.Server.Services.Controller.JRouterImpl.ExecuteInTransaction(CommandData commandData)
at Appeon.Server.Services.Controller.JRouterImpl.ExecuteCommand(HttpResponse response, CommandData superCommand, SessionAccessInfo session)
at Appeon.Server.Services.Controller.JRouterImpl.Call(Int32 clientType, Object requestData, Hashtable clientContext, String& outPutStream_Key)
2019-01-03 16:00:41.497 : Thread was being aborted.
at Appeon.Server.Commands.DWRetrieveCommand.ExecuteCommand()
at Appeon.Server.Commands.Command.ConstructAndExecute(CommandData commandData)
at Appeon.Server.Services.Controller.JRouterImpl.ExecuteInTransaction(CommandData commandData)
at Appeon.Server.Services.Controller.JRouterImpl.ExecuteCommand(HttpResponse response, CommandData superCommand, SessionAccessInfo session)
at Appeon.Server.Services.Controller.JRouterImpl.Call(Int32 clientType, Object requestData, Hashtable clientContext, String& outPutStream_Key)
2019-01-03 16:00:41.512 : Thread was being aborted.
at Appeon.Server.Services.Controller.JRouterImpl.Call(Int32 clientType, Object requestData, Hashtable clientContext, String& outPutStream_Key)
at Appeon.WebLibrary.AXDispatcher.Page_Load(HttpContext Context)
i try it and get and error in accesing the AEM
then i search for httpRuntime and i found
this entry
and replace the value to
i will try the execution now