Slower connection using web services and windows CE 6.0
alphonse
Member Posts: 13
Hi,
we are using Dynamics NAV 2015. We've build some .net application, which run on PDT Device and connect to NAV using web services.
Some PDT using Windows CE 5.0 and some using Windows CE 6.0 in it.
The .net application can run well in both PDT device, but much slower in Windows CE 6.0.
For example, in CE 5.0, its only 1 sec to get the data. In CE 6.0, it takes 4-5 sec, to get the same data. Both devices using the same connection.
Any suggestion, how to fix this? Thanks in advance
Regards,
Alphonsus Eka
we are using Dynamics NAV 2015. We've build some .net application, which run on PDT Device and connect to NAV using web services.
Some PDT using Windows CE 5.0 and some using Windows CE 6.0 in it.
The .net application can run well in both PDT device, but much slower in Windows CE 6.0.
For example, in CE 5.0, its only 1 sec to get the data. In CE 6.0, it takes 4-5 sec, to get the same data. Both devices using the same connection.
Any suggestion, how to fix this? Thanks in advance
Regards,
Alphonsus Eka
0
Best Answer
-
Hi,
We ask the PDT vendor to update the wifi driver. Combine with using the "Use NTLM Authentication" = TRUE, the client is quite satisfy with the performance.
Thanks0
Answers
-
Hi Alphonsus,
I was once told, that MS recommends to set ’Metadata Provider Cache Size’ to 5000 – even though it by default is set to 150:
This way you can improve the performance, response time well.
You can read this old article:
http://www.archerpoint.com/blog/Posts/performance-tuning-microsoft-dynamics-nav-2009-and-nav-2013
Best Regards
Rehan Satti
Microsoft Dynamics NAV Technical Consultant
Please verify the answer if it satisfy your question. This will help other members of community.1 -
rehansatti wrote: »Hi Alphonsus,
I was once told, that MS recommends to set ’Metadata Provider Cache Size’ to 5000 – even though it by default is set to 150:
You can read this old article:
http://www.archerpoint.com/blog/Posts/performance-tuning-microsoft-dynamics-nav-2009-and-nav-2013
Rightly said.Best Regards
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.2 -
Yep Metadata Provider Cache Size to 5000 is a good recommendation. I will suggest that you can increase your Data Cache Size too depending on your server.Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0 -
Thanks for the replies. I have been change the metadata provider cache size to 5000, but no changes in performance. Maybe i should change the Data Cache Size too? Any suggestion on how much i should increase the data cache size?
Thanks0 -
If you are using .NET CF then my experience is that this is usually due to the authentication against the web services. Change it to the NAVUserPassword or use some proxy that will skip authentication and that will take care about the authentication on your behalf.0
-
Hi Igor,
Yeah, i read this article https://blogs.msdn.microsoft.com/freddyk/2010/01/22/connecting-to-nav-web-services-from-windows-mobile-6/
Do you have any guide how to use proxy or skip authentication for NAV web service?
Does using NAVUserPassword drastically improve the performance?
Meanwhile, I will try to use PreAuthenticate and see how its affecting the performance.
Thanks0 -
Hi Alphonsus,
From what I can remember the NAVUserPassword made quite some difference and it is ready out of the box. Now you have that option - back in NAV 2009 it was not available and so proxy service was your only choice.
PreAuthenticate did not work for me.
Whereas using the transparent proxy meant developing some .NET WCF web service that consumes unauthenticated requests that you are sending from windows mobile application and then passes those requests on to the NAV web service with some authentication token in it. I.e. much more difficult solution to implement, especially if you are not really familiar with WCF.
Regards,
Igor0 -
Yeah, preauthentication does not work on me too.
I found this :
https://blogs.msdn.microsoft.com/freddyk/2010/01/19/connecting-to-nav-web-services-from/
So i set the "Use NTLM Authentication" to TRUE. It somehow increase the performance. Not as fast as windows CE 5, but still theres an improvement.
The client still evaluating the application. If its still unacceptable for them, i'll try the NAVUserPassword.
Thanks
Regards,
Alphonsus Eka0 -
Pass4sure experts are completely aware about the obsctacles the applicants feel in way in training for certifications such as 210-260 Cisco exam. we have employed our exceptional efforts to make our pass4sure 210-260 Cisco professional implementing Cisco network security examination a ideal study guide, helping you in the most suitable manner.-2
-
Hi,
We ask the PDT vendor to update the wifi driver. Combine with using the "Use NTLM Authentication" = TRUE, the client is quite satisfy with the performance.
Thanks0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
