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.

SDK

Thread ID:

Created:

Updated:

Platform:

Replies:

132613 Sep 12,2017 06:17 AM Sep 13,2017 06:36 AM Dashboard Platform 1
loading
Tags: Dashboard Viewer
Grant Stephen
Asked On September 12, 2017 06:17 AM

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)
G

Balaji Ravichandran [Syncfusion]
Replied On September 13, 2017 06:36 AM

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   
    
Note:   
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)         
</div>       
   
 
  
  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.   
   
Regards,    
Balaji Ravichandran.   


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.

;