Dear Syncfusion:
3. I would also like to set my dashboard path to dynamically pick the dashboard from wherever it is placed. I do not want to hard code the path like I have done in my index file since the path always changes on each machine, how can I achieve this.
I have attached a zipped folder with my dashboard file, the index file and a video showing what my system dashboard shows when I run it.
|
Queries |
Response | |
|
I have a web forms application from some time back I am maintaining , however my dashboards are not loading because of the error shown in the image below after I inspect my code: How can I solve the issue and have my dashboard up and running because the spinner just keeps rotating as you can see in the video I have attached. |
We suspect that the issue is due to the Dashboard Service not running properly. Please follow the below link to restart the Dashboard Service
To ensure your Dashboard Service is up and running, paste your dashboard service URL in the browser and click Enter, it will appear like below image if it is running properly
Also as mentioned in the above UG link, “Dashboard Service as Windows service is not suggested for the production environment”. Please refer the below KB to know about how to host the Dashboard Service in IIS.
| |
|
My dashboard service also has Initialize Controls at the end which is not my correct dashboard service path. The correct path is the one I wrote in the dashboard function as you can see in my code in the index file. Could you please help me on correcting the dashboard service path to remove the error as shown in the image above. |
We have inspected the video you have shared with us and found that you given dashboard service path correctly. For our internal purpose we will add the Initialize Controls to the URL. So you don’t need to correct the dashboard service path. | |
|
I would also like to set my dashboard path to dynamically pick the dashboard from wherever it is placed. I do not want to hard code the path like I have done in my index file since the path always changes on each machine, how can I achieve this. |
To achieve this we would suggest you to host the dashboard file as the downloadable link which is placed in the remote machine.
Note:
|
Hello Prince,
Thank You for your response. however, my dashboard is still not running. I am getting the error
:
Even after adding these below in my config file
<add name="Access-Control-Allow-Origin" value="*" />
<add name="Access-Control-Allow-Methods" value="GET, POST, PUT, DELETE, OPTIONS" />
<add name="Access-Control-Allow-Headers" value="*" />
The second error is:
http://localhost/DashBoardService/InitializeControls that link that happens to appear as the last in the screen shot have pasted down here. How can I go about these.
Note: My Dashboard service is running well under the default website in IIS. So the service seems okay
Thank You
Hi Solomon,
Thank you for your response, the steps explained in No.2 of your replies are exactly what I followed ; but my dashboards are not running.
And besides upgrading to v4.1.0.84, can't I still use my old dashboard service version to have my dashboards up and running. Because I notice when I go to download that version, I am automatically asked to download Bold BI dashboards which I have not purchased.
Thank You