Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2023 Release Wave 1Check out the latest updates and new features of Dynamics 365 released from April 2023 through September 2023
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
We are using Timesheets mobile app which is out of the box thing from MS.
Now we have lots of projects and each of them have lots of activities in AX 2012.
All these records are returned from TsTimesheetService class as an AIF Service.
While using Mobile app, it works fine if there are around 1000 records. but for more records, it just keep doing fetching and finally timesout.
Has anyone faced this issue before? Is there any limit on the data AIF service can returned to Mobile app in 1 call?
Maybe this article helps for increasing the timeout setting: ax2012exceldataimport.blogspot.com/.../dynamics-ax-2012-excel-add-in-issues.html
Also please check this: blogs.msdn.microsoft.com/.../requesting-large-packages-across-ax-aif-can-result-in-timeout-errors-after-30-seconds-regardless-of-your-timeout-values
And about decreasing the amount of returned data, maybe you could try to customize the AIF service to return only projects that are relevant to the current user?
Tried above mentioned things. somehow getting the same result of timeout.
Just to add more details about the error from windows event log.
TimeoutException encountered calling Microsoft.Dynamics.Framework.RapidStart.Connector.Modules.AXMobile.TimeRestService.GetProjectDetails. User: (domain\user (FQDN: domain.local)).
This means that AX took too long to respond and is probably indicative of a problem in the service operation or resource limitation. If this continues, the service operation needs to be optimized or the timeout needs to be increased (here and on the client) to handle a larger expected delay.
System.TimeoutException: This request operation sent to net.tcp://dev-aos:8201/DynamicsAx/Services/TimesheetServices did not receive a reply within the configured timeout (00:01:00). The time allotted to this operation may have been a portion of a longer timeout. This may be because the service is still processing the operation or because the service was unable to send a reply message. Please consider increasing the operation timeout (by casting the channel/proxy to IContextChannel and setting the OperationTimeout property) and ensure that the service is able to connect to the client.
Server stack trace:
at System.ServiceModel.Dispatcher.DuplexChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object ins, Object outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at :
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Dynamics.Framework.RapidStart.Connector.Modules.AXMobile.Proxies.v2.TSTimesheet.getProjectDetails(TSTimesheetGetProjectDetailsRequest request)
at Microsoft.Dynamics.Framework.RapidStart.Connector.Modules.AXMobile.ServiceAction.Invoke[T,U](AxServiceActionDelegate`1 action, ClientBase`1 client)
at Microsoft.Dynamics.Framework.RapidStart.Connector.Modules.AXMobile.ServiceAction.Invoke[T](ServiceActionDelegate`1 action, String adfsToken, Dictionary`2 serviceArguments, TelemetryData telemetryData, TelemetryProcessingDelegate telemetryProcessingDelegate, Boolean telemetryLogSuccess)
Business Applications communities