Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8277963
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T08:51:15+00:00 2026-06-08T08:51:15+00:00

Delay in initial retrieving of xml data using XRM I am using this xml

  • 0

Delay in initial retrieving of xml data using XRM

I am using this xml query

   <fetch mapping='logical'>      <entity name='de_municipality'>           <order attribute='de_name' ascending='true' />            <attribute name='de_municipalityid'/>           <attribute name='de_name'/>           </entity>   </fetch>"

For the Fetch method of XRM. It is taking around 10 seconds to get the result (though there are only limited number of entities).

ResultsXml = dc.UsingService(service => (string)service.Fetch(oFetchXml.InnerXml));

This is line of code is making the delay!!!

Next time execution will give results in 120 milli seconds.

I have experimented this query with the CRM4, the delay is only 200 milli seconds for all the attempts.

Any tips or trick or analysis method will be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T08:51:17+00:00Added an answer on June 8, 2026 at 8:51 am

    I got a reply from MSDN like this…

    Hi Vinu,

    we made a call to Microsoft about this issue and it was confirmed to be a design problem. This shouldn’t be an issue anymore with CRM 2011.

    Our current workaround is to keep the web application wich consumes the DataContext alive for as long as possible, because once the Metadata is cached the call does not occur any further.

    Be careful – the DataContext not only caches the Metadata but also the content itself – such as attributes and relationships. If you want to refresh these you can clear the cache partially for specific entities as described here: Empty CRM Client DataContext cache

    Kind regards

    Markus


    Markus Wolff
    Senior Software Developer CRM Systems
    Gruner & Jahr & Co. KG Hamburg, Germany

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using ADO.Net Data Services (Astoria) in Silverlight 3 and I want to delay
Why this delay of Jquery animation does not work as it should be? $(
How can I set an initial delay on a RepeatButton(before first click event is
I'm having trouble removing the initial delay of the Superfish dropdown fix. My client
I'm using this at the moment: $(window).scroll(function() { if($(window).scrollTop() + $(window).height() == $(document).height()) {
I'm writing an extension that requests XML content from a server and displays data
What delay-load dependencies\functions are meant for in the following document? http://www.dependencywalker.com/faq.html Thanks
I'd like to delay an ajax call until hover is maintained for 500ms obj.hover(function(){
I want to delay an animation that slides an image in a li a-element.
how to add some delay between startup projects in solution? I want Client project

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.