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 : Nov 16th 2018).
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?

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\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\Samples\Common\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.

 

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\Samples\Common\Service

            Make sure that IIS Express installed in the target machine (to launch the Dashboard Service)

Article ID: Published Date: Last Revised Date: Platform: Control:
8338 01/25/2018 01/30/2018 Dashboard Platform Dashboard SDK
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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