We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

IOlapDataProvider error

Thread ID:

Created:

Updated:

Platform:

Replies:

97747 Jan 4,2011 05:48 PM Jan 9,2011 11:00 PM ASP.NET Web Forms (Classic) 3
loading
Tags: Chart
Pat Heideman
Asked On January 4, 2011 05:48 PM

I'm getting this error when attempting to access my service. After following these instructions:

http://help.syncfusion.com/ug_84/Business%20Intelligence/OLAP%20Client/Silverlight/default.htm?turl=Documents%2Faddingolapclienttoanapplication.htm

I'm getting the following error:

Operation 'GetLevelMembers' of contract 'IOlapDataProvider' specifies multiple request body parameters to be serialized without any wrapper elements. At most one body parameter can be serialized without wrapper elements. Either remove the extra body parameters or set the BodyStyle property on the WebGetAttribute/WebInvokeAttribute to Wrapped.

Thank you.


Suriya [Syncfusion]
Replied On January 5, 2011 09:14 PM

Hi,

We are not able to reproduce the issue. Could you please report the issue with more information (and we much appreciate as minimal sample) through Direct-Trac Developer Support System( https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents ), because you can take the advantage of the expertise of a dedicated support engineer and a guaranteed response time and we hope you will take advantage of this system as well. If you have already reported, please ignore this.

Thanks,
Suriya


Pat Heideman
Replied On January 6, 2011 09:16 AM

We found the issue.

When the web.config file allows .netCompatibility we have to alter the service

web.config service-----------------


OlapService.svc.cs----------------
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
[ServiceBehavior(IncludeExceptionDetailInFaults = true)]
public class OlapService : IOlapDataProvider
{
...

// add WebInvoke to each of the Get methods
[WebInvoke(BodyStyle = WebMessageBodyStyle.WrappedRequest, Method = "GET")]
public Syncfusion.OlapSilverlight.Data.CubeInfoCollection GetCubes()
{ ... }
}






Suriya [Syncfusion]
Replied On January 9, 2011 11:00 PM

Hi,

Please follow up Direct Trac account with the incident id 75831( http://www.syncfusion.com/support/directtrac/detailsupdate/75831 ) for your query.

Thanks,
Suriya



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;