How to deal with errors in the Dashboard Platform | Syncfusion Blogs
Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (172).NET Core  (29).NET MAUI  (192)Angular  (107)ASP.NET  (51)ASP.NET Core  (82)ASP.NET MVC  (89)Azure  (40)Black Friday Deal  (1)Blazor  (209)BoldSign  (12)DocIO  (24)Essential JS 2  (106)Essential Studio  (200)File Formats  (63)Flutter  (131)JavaScript  (219)Microsoft  (118)PDF  (80)Python  (1)React  (98)Streamlit  (1)Succinctly series  (131)Syncfusion  (882)TypeScript  (33)Uno Platform  (3)UWP  (4)Vue  (45)Webinar  (49)Windows Forms  (61)WinUI  (68)WPF  (157)Xamarin  (161)XlsIO  (35)Other CategoriesBarcode  (5)BI  (29)Bold BI  (8)Bold Reports  (2)Build conference  (8)Business intelligence  (55)Button  (4)C#  (146)Chart  (125)Cloud  (15)Company  (443)Dashboard  (8)Data Science  (3)Data Validation  (8)DataGrid  (62)Development  (613)Doc  (7)DockingManager  (1)eBook  (99)Enterprise  (22)Entity Framework  (5)Essential Tools  (14)Excel  (37)Extensions  (22)File Manager  (6)Gantt  (18)Gauge  (12)Git  (5)Grid  (31)HTML  (13)Installer  (2)Knockout  (2)Language  (1)LINQPad  (1)Linux  (2)M-Commerce  (1)Metro Studio  (11)Mobile  (488)Mobile MVC  (9)OLAP server  (1)Open source  (1)Orubase  (12)Partners  (21)PDF viewer  (41)Performance  (12)PHP  (2)PivotGrid  (4)Predictive Analytics  (6)Report Server  (3)Reporting  (10)Reporting / Back Office  (11)Rich Text Editor  (12)Road Map  (12)Scheduler  (52)Security  (3)SfDataGrid  (9)Silverlight  (21)Sneak Peek  (31)Solution Services  (4)Spreadsheet  (11)SQL  (10)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (12)Tips and Tricks  (112)UI  (368)Uncategorized  (68)Unix  (2)User interface  (68)Visual State Manager  (2)Visual Studio  (30)Visual Studio Code  (17)Web  (577)What's new  (313)Windows 8  (19)Windows App  (2)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)

How to deal with errors in the Syncfusion Dashboard Platform

In Syncfusion Dashboard, errors can be classified as unknown or known errors. Known errors are resolvable by either the dashboard administrator or the designer engineers themselves by reading meaningful error troubleshooting information on the error dialog. For unknown errors, assistance would be needed from the Syncfusion support team. In this blog, we walk through the steps of both collecting activity logs and error information, and recognizing problems while designing and previewing a dashboard. This information will help you find errors’ root causes and correct them quickly.

Figure 1: Unknown error

Figure 2: Known error—”DD004″ and “DV002”—unable to connect to Dashboard Server and Service, respectively

Unknown error

Not all errors are known. In such cases, to identify the exact root cause of the problem, one should adopt the preliminary technique of information gathering. Syncfusion Dashboard helps its users fetch both error logs and event logs and share them with the Syncfusion support team to analyze and troubleshoot the error.

Dashboard Designer

Error log files are generated when any exception occurs while designing a dashboard using Syncfusion Dashboard Designer in the following location:

%appdata%\Syncfusion\DashboardDesigner\[Dashboard Version]\ErrorLog

 

If an error is thrown during the preview of a dashboard from Dashboard Designer, an error log is generated in the following location:

%ProgramData%\Syncfusion\DashboardDesigner\[Dashboard Version]\IISExpress_DashboardService\ErrorLog

An event log holds the complete user interaction details, one after the other, while designing a dashboard using Dashboard Designer. Event log tracing can be enabled through the “Help >> Enable Tracing” option available in the Dashboard Designer toolbar. By default, this option is disabled.

If an issue is encountered and you would like to report this to Syncfusion support, first enable this option, and then repeat the steps to reproduce the exact issue once again. On doing so, log files are generated in the following location with appropriate details:

%appdata%\Syncfusion\DashboardDesigner\[Dashboard Version]\Logs\EventLogs

If the log file exceeds the storage limit, it will be rolled automatically into a new log file, named like, “TraceLog_Month_date_year_min_sec.log.1”, “TraceLog_Month_date_year_min_sec.log.2”, etc. The latest log file can be recognized based on the last modified date and time shown in Windows Explorer.

NOTE: If an error occurs while loading the dashboard at the initial stage, then widget, data source, and dashboard-related basic information is logged in the “RecentDashboardReport.log” file in the “EventLogs” folder. Error logs will be empty at that moment.

Dashboard Platform SDK

On running any applications with the Dashboard Viewer control bound with dashboard using Syncfusion Dashboard Platform SDK, error log files are generated when any exception occurs while previewing a dashboard in the following location

%localappdata%\Syncfusion\Dashboard\Samples\Common\Service\ErrorLog

NOTE: When a user prefers to host the dashboard application in a production server, the user may end up copying the service folder from the installed location to any other desired location in the production server. In such a case, the error log can be found in the “[root folder]\Service\ErrorLog” location where the service folder is placed.

Dashboard Server

Error log files are generated when any exception occurs while configuring or interacting with a dashboard using Syncfusion Dashboard Server. Log files are generated in the name “errors.txt”, in the following location:

[installed drive]:\Syncfusion\Dashboard Server\DashboardServer.Web\App_Data\Logs

Event log holds the complete user interaction details, one after the other, while configuring or interacting with a dashboard hosted in Dashboard Server. Log files are generated in the name – “debug-info.txt” in the following location:

[installed drive]:\Syncfusion\Dashboard Server\DashboardServer.Web\App_Data\Logs

For any configurations made in Dashboard Server, log files are generated in different folders listed in the below table based on the nature of error.

NameDetails

API

Error logged while accessing the Dashboard Server-related API with unexpected/irrelevant parameters. For example, when someone tries to get user details using an invalid UserID, an error report is generated.

Dashboard.Server

Error logged when unexpected behavior happens in Dashboard Server. For example, when someone tries to render a deleted Dashboard mistakenly, an error report is generated.

ScheduleService

Error logged when an exporting or email notification option fails in Dashboard.

WindowsAuthentication

Error logged when login user details don’t match the imported user details.


Figure 3: Folder structure based on the nature of the error in Dashboard Server

Known error

When designing a dashboard using Dashboard Designer, users might come across certain errors that are predictable. Those errors are highlighted through the error codes DD001, DD002, etc., in the exception dialog.

Similarly, while previewing the dashboard from Dashboard Designer, viewing the dashboard in Dashboard Server, or viewing the dashboard through a running Viewer control embedded application, if any predictable error occurs, it is highlighted through the error codes DV001, DV002, etc., in the exception dialog.

Using these error codes, one can self-evaluate the scenario to overcome the problem quickly. For example, in the below screenshot, error code DD004 and relevant information are displayed, stating that the Dashboard Server instance is either stopped or an error occurred due to a bad URL or Internet disconnectivity.

Figure 4: Error code and relevant information for designer issue DD004

Likewise, error code DV002 indicates the absence of the Dashboard Service while trying to view the Dashboard in a web browser. A hyperlink will be shown for Viewer-related error codes alone, to check for details and solutions (User Guide Document) online.

Figure 5: Error code and relevant information for viewer issue DV002

So on facing an error with a dashboard, you can either resolve it yourself, or share the collected log files with the Syncfusion Support Team by creating a DirectTrac incident with the problem details for quick resolution.  

References

  1. DirectTrac support system: 
    https://www.syncfusion.com/support/directtrac
  2. Dashboard download link:
    https://www.syncfusion.com/downloads/dashboard/
  3. Documentation links:
    https://help.syncfusion.com/dashboard-platform/dashboard-designer/troubleshooting-errors
    https://help.syncfusion.com/dashboard-platform/dashboard-sdk/troubleshooting-errors
    https://www.syncfusion.com/kb/8275/acting-on-dashboard-designer-errors

Tags:

Share this post:

Popular Now

Be the first to get updates

Subscribe RSS feed

Be the first to get updates

Subscribe RSS feed
Scroll To Top