Articles in this section
Category / Section

How to initialize the connection when the OLAP Manager service is hosted in IIS?

1 min read

OLAP Client Silverlight can be connected to an Offline/Online/SQL OLAP Cube database using WCF Service that can be hosted either in local or in IIS.

To connect the OLAP Client with WCF Service hosted in IIS, you can refer the endpoint address as this initializes the connection.

Sample Service URL: http://localhost/OlapClient.Silverlight.Samples.Web/Services/OlapManager.svc

End Point Address:

EndPointAddress provides a unique network address that the client uses to communicate with a service endpoint.

For your OLAP Client Silverlight control, the endpoint address is given as binary in the web.config file and so the URL pointing to the endpoint address needs to be referred as shown here, in order to establish a connection.

C#

// Here OlapClient.Silverlight.Samples.Web is the web project name that has been hosted in IIS and the URL points the OlapManager.svc WCF service.
EndpointAddress address = new EndpointAddress("http://localhost/OlapClient.Silverlight.Samples.Web/Services/OlapManager.svc/binary");

VB

‘Here OlapClient.Silverlight.Samples.Web is the web project name that has been hosted in IIS and the URL points the OlapManager.svc WCF service.
Dim address As New EndpointAddress("http://localhost/OlapClient.Silverlight.Samples.Web/Services/OlapManager.svc/binary")

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied