"There was an error processing the request." with web service

4 posts, 0 answers
  1. terrysmith
    terrysmith avatar
    126 posts
    Member since:
    Nov 2006

    Posted 26 Jan 2010 Link to this post

    I cannot get the RadMenu to populate with an .asmx web service. A breakpoint in the service's constructor is hit; however my service method is never invoked. I get a "There was an error processing the request." message in the browser. What could be the cause of this?

    My service method has a [WebMethod] attribute. I'm  using a RadScriptManager and the following was added to the web.config:
          <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" /> 
     

    I'm certain the method name specified on the RadMenu declaration is correct. I have WebServiceSettings-UseHttpGet="false". When I set it to true nothing gets invoked at all.

    Any suggestions welcome...

    Thank you,

    Terry
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 27 Jan 2010 Link to this post

    Hello terry,

    I suggest you use the RadMenu's Web Service demo as reference. If you continue to experience problems, please open a support ticket and send us a simple demo which we can test locally.


    Best wishes,
    Peter
    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. terrysmith
    terrysmith avatar
    126 posts
    Member since:
    Nov 2006

    Posted 27 Jan 2010 Link to this post

    I have, repeatedly, starting from scratch each time.
  4. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 28 Jan 2010 Link to this post

    Hi terrysmith,

    I already replied to your ticket:

    Please name the first parameter of the web method "item" like this:

    public RadMenuItemData[] GetMenuCategories(RadMenuItemData item, object context)


    It should work now.


    Sincerely yours,
    Veskoni
    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.
Back to Top