Problem with web service

2 posts, 1 answers
  1. towpse
    towpse avatar
    224 posts
    Member since:
    Mar 2008

    Posted 12 Jan 2010 Link to this post

    In your samples you demonstrate that we nee to return IEnumerable of Appointment Data to the scheduler.

    Is there something that runs in between of the scheduler and our web service?

    I'm getting the following error when navigating to my web service on our staging environment

    Cannot serialize interface System.Collections.Generic.IEnumerable`1[[Telerik.Web.UI.AppointmentData, Telerik.Web.UI, Version=2009.3.1208.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4]].

    I've been reading in blogs that we shouldn't be returning IEnuermabl from a web service but rather something that can be serialized and therefore use the toArray method on IEnumerable and return that array.

    I think this is the cause of another error I'm seeing when going straight to the page

    The remote name could not be resolved:


  2. Answer
    Dimitar Milushev
    Dimitar Milushev avatar
    555 posts

    Posted 15 Jan 2010 Link to this post


    Please refer to this forum post and particularly the last reply by Tsvetomir Tsonev.

    Sincerely yours,
    Dimitar Milushev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft R3 2016 release webinar banner
Back to Top