Hi Grant,
Thank you for using Syncfusion products.
- 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
- 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.
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.
- 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>
|
- 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.