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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How Do I Enable CORS in the Dashboards.svc?

Thread ID:





127187 Nov 1,2016 06:10 PM UTC Nov 3,2016 08:47 AM UTC Dashboard Platform 3
Tags: Dashboard SDK
Boyan Kostadinov
Asked On November 1, 2016 06:10 PM UTC

Below is the web.config for the Service. I have tried setting crossDomainScriptAccessEnabled="true" but I still cannot access the service from a ASP.NET MVC application on a different machine.

I have attached the Web.config and the Error.log generated by the WCF service.

Attachment: ConfitAndErrorLog_bc4c397b.zip

Gangatharan Anandavel [Syncfusion]
Replied On November 2, 2016 08:30 AM UTC

Hi Boyan,   
Thank you for using Syncfusion products.   
We think that you used dashboard server service which has specific configuration for the dashboard server. So, please use dashboard SDK service and refer to the link below to run the dashboard SDK service.    

Boyan Kostadinov
Replied On November 2, 2016 12:32 PM UTC

Thank you for getting back to me. I have read the installation and deployment guide.

I think I now understand what I have to do, but just so I am clear, if I want to embed a dashboard inside a ASP.NET MVC application, I need to install the WCF service (DashboardService.svc" on the same machine that my ASP.NET application is?

I was trying to have my ASP.NET application call the service installed on the Dashhoard server, not the one installed by the SDK.


Gangatharan Anandavel [Syncfusion]
Replied On November 3, 2016 08:47 AM UTC

Hi Boyan,   
No, it is not mandatory to have the Service hosted in the same machine where the ASP.net application is hosted. The SYDX file alone needs to be present in a location that is accessible by the Service to make the Dashboard render in your application.   


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon