)
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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to run Dashboard Viewer embedded Win Forms application in another windows machine?

Platform: Dashboard Platform |
Control: Dashboard SDK |
Published Date: January 25, 2018 |
Last Revised Date: May 3, 2019

Dashboard Viewer Embedded Win Forms Application

Follow the given steps to run the Dashboard Viewer Embedded Win Forms Application in another Windows Machine:

  1. Refer to the Dashboard Viewer, which is embedded in Win Forms Application. It is being shipped with the Syncfusion Dashboard Platform SDK’s setup in the following location:

          %localappdata%\Syncfusion\Dashboard Platform SDK\Getting Started Samples\Windows Forms\LocalEmbeddedDashboard

 

  1. The Dashboard Service for this Win Forms sample is obtained from the following location and Dashboard Service will be launched in IIS Express, and this Dashboard Service will bind to the sample.

%localappdata%\Syncfusion\Dashboard Platform SDK\Service

 

If you want to change the Dashboard Service folder location based on target machine, you can specify the location in the DashboardWindow.cs file of the sample. For example, refer to the following code snippet:

private string serviceDirectory = "$TargetMachineFolder$\\Service"; //Path.GetFullPath(Path.Combine(@"..\..\..\..\")) + "Common\\Service";

                                            

  1. If you want to change the Dashboard (SYDX) file, then attach the file in the sample and mark the Properties as per below screen shot.

Attach the Dashboard file into the sample and mark the properties

 

Then, change the Dashboard file name in the DashboardWindow.cs file of the sample. Refer to the following code snippet:

private string _sydxFileName = "WorldWideCarSalesDashboard.sydx";

 

  1. Now, compile the sample.

 

  1. Copy the bin folder (compiled state) of the sample, and paste it in the target machine. The Visual Studio is not required to be installed in the target machine.

 

  1. You can run the LocalEmbeddedDashboard.exe to render the Dashboard.

 

Note:
  • When you run the LocalEmbeddedDashboard.exe, the Dashboard Viewer will be launched in the CefSharp browser, which requires a prerequisite called Microsoft VC++ that must be installed in the target    machine. You can download the VC++ from the following link, and install it in the target machine. https://www.microsoft.com/en-in/download/details.aspx?id=30679. OR, download the prerequisite assembly files from here, unzip it and place the DLLs in bin folder (compiled state) of application. Refer to the Redistribution Information.
  • Make sure that the Dashboard Service folder has been copied from the following location and pasted in the target machine, and then modify the service start up path as per step #2.           %localappdata%\Syncfusion\Dashboard Platform SDK\Service
  • Make sure that IIS Express installed in the target machine (to launch the Dashboard Service)

 

 

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

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

Up arrow icon

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

Live Chat Icon For mobile
Live Chat Icon