This is a migrated thread and some comments may be shown as answers.

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

3 Answers 144 Views
Menu
This is a migrated thread and some comments may be shown as answers.
terrysmith
Top achievements
Rank 1
terrysmith asked on 27 Jan 2010, 04:19 AM
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

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 27 Jan 2010, 02:20 PM
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.
0
terrysmith
Top achievements
Rank 1
answered on 27 Jan 2010, 06:22 PM
I have, repeatedly, starting from scratch each time.
0
Veselin Vasilev
Telerik team
answered on 28 Jan 2010, 03:15 PM
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.
Tags
Menu
Asked by
terrysmith
Top achievements
Rank 1
Answers by
Peter
Telerik team
terrysmith
Top achievements
Rank 1
Veselin Vasilev
Telerik team
Share this question
or