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.

How Do I Enable CORS in the Dashboards.svc?

Thread ID:

Created:

Updated:

Platform:

Replies:

127187 Nov 1,2016 02:10 PM Nov 3,2016 04:47 AM Dashboard Platform 3
loading
Tags: Dashboard Viewer
Boyan Kostadinov
Asked On November 1, 2016 02:10 PM

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 04:30 AM

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.    
 Regards,    
Gangatharan   


Boyan Kostadinov
Replied On November 2, 2016 08:32 AM

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.

Boyan

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

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.   
   
Regards,   
Gangatharan   


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.

;