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. Image for the cookie policy date


Looking to embed some dashboards into MVC websites, have installed sdk and running sample apps ok locally,
installed service on webserver but dashboards won't load, cant find the dashboard file, they do exist,
console showing POST http://localhost:3000/DashboardService.svc/InitializeControls 500 (Internal Server Error)

1 Reply

BR Balaji Ravichandran Syncfusion Team September 13, 2017 10:36 AM UTC

Hi Grant,   
Thank you for using Syncfusion products.   
  1. We recommend you to host the Dashboard Service in the IIS application.  Please follow the below link to host the service in IIS. https://help.syncfusion.com/dashboard-platform/dashboard-sdk/installation-and-deployment#hosting-dashboard-service-in-iis
  1. Once the Service hosted in IIS, ensure that the service is accessible from the client machine. To check this, launch the following URL from any client browser and make sure that you can see the below page.
  http://<IP Address>:<Port>/DashboardService.svc   
If the firewall is enabled on your machine and you have not hosted the Dashboard Service in the default (80) port. Then, you should add the inbound and outbound rule in firewall advanced settings for your port. then only you can able to view this page on your client machine.   
  1. Change the dashboard service URL in MVC application like below. If you have referenced localhost to DashboardViewer service url , Dashboard Viewer will look for service in the client machine itself.
<div style="height:700px;width:100%;">    @Html.EJ().DashboardViewer("dashboard").ServiceUrl(@ViewBag.ServiceUrl).DashboardPath(@ViewBag.dashboardPath)         
  1. Also, confirm that Dashboard file path (.sydx) is accessible in the machine in which the Dashboard Service is hosted.
Please let us know if you still facing any problem in dashboard rendering or in any of the above process.   
Balaji Ravichandran.   

Live Chat Icon For mobile
Up arrow icon