Unable to POST to dashboardService.svc/InitializeControls

Hi

I am creating an application that follows the "Getting Started" dashboard integration with MVC. 

The application works fine when i try and run it locally, however when i deploy to the server i am getting multiple errors. 

First Error is that it is unable to POST to http://localhost:3000/DashboardService.svc/InitializeControls. I am unsure if this is a permissions issue on the server side as when i run it locally this issue is not occouring. 

The Second issue that i have is that when i look into the console to debug, it brings up the Error DV006, however the file is in the location that it is pointing to so i am unsure to how this error message is being  populated. 

I have been working on this for over a week and the errors still occouring. 

Cheers

Paul L

7 Replies

PS Prince Solomon Bala Subramani Syncfusion Team October 24, 2017 10:24 AM UTC

  
Hi Paul, 

Thanks for using the Syncfusion Dashboard Platform. Please find the response for the query 

Query 
Response 
First Error is that it is unable to POST to http://localhost3000/DashboardService.svc/IntializeControls 
I  am unsure if this is a permissions issue on the server side as when I run it locally 
The URL http://localhost3000/DashboardService.svc/IntializeControls  refers to the Syncfusion Dashboard Windows Service. This service  is meant for demo purpose and cannot be used the production environment .So you can host the Dashboard Service in the Server machine in IIS by following the steps in the documentation 

When you use the hosted Service URL in the application, Please use IP address or its domain  name instead of localhost. The dashboard will not render if the Service URL is set as localhost. 

The Second Issue that I have is that when I look into the console to debug.It brings up the error Dv006 however the file is in the location that it is pointing to so I am unsure to how this error message is being populated. 
The error  is thrown since you have mentioned the Service URLhttp://localhost3000/DashboardService.svc/IntializeControlsSo when you view the dashboard in your machine the browser will be contacting  the service installed in your machine instead of  contacting the service hosted in the server. So the file mentioned in the dashboardPath is not accessible 


Regards 
Prince Solomon B 



PL Paul Lees October 24, 2017 10:33 AM UTC

Hi


Thanks for getting back to me. 


Upon waiting for a response i was able to work out this error by using http://<IPAddress>:<PortNumber>/DashboardService.svc. 


I have now got another issue which is regards to the DV001 error. I have created a dashboard in the application dashboard designer <V2.3.0.32> and i have deployed it to the server in which i installed the SyncfusionDashboardPlatform SDK <v2.3.0.32> however when i try and run the application, i get the DV001 error which says that it is unable to load the dashboard since it was created in a higher verson of Dashboard Designer(Verson:2.3.0.32). 


It States on the troubleshooting page that the two versons must be the same for it to run so i am puzzled to why i am getting this error.


Cheers


Paul 



PS Prince Solomon Bala Subramani Syncfusion Team October 25, 2017 11:15 AM UTC

Hi Paul, 
 Thanks for your response  

Have you installed any older version of the Dashboard Platform SDK in your main machine? Can you please let us know whether you have hosted service from SDK installed location %localappdata%\Syncfusion\Samples\Common or any other location.In the hosted URL http://<IPAddress>:<PortNumber>/DashboardService.SVC please add the http://<IPAddress>:<PortNumber>/DashboardService.SVC/version and ensure the returning version is 2.3.0.32 in the browser  

Regards 
Prince Solomon B 



PL Paul Lees October 25, 2017 02:41 PM UTC

Hi.

The first installation of the SDK was version 2.3.0.32 on my main machine, following the installation and development section for syncfusion SDK. I have hosted the service from %localappdata%\syncfusion\Samples\Common. 


I have done the check and the returning version is 2.3.0.31. I tried to install the latest version and it fails and has to revert back. Do you have any suggestions to how i can overcome this problem to get the latest verson installed? 


Cheers


Paul 



NR Nigin Raj E.C Syncfusion Team October 26, 2017 09:09 AM UTC

Hi Paul, 
                The dashboard platform recent release versions are 2.2.0.31 and the latest 2.3.0.32, there is no version 2.3.0.31 as you have mentioned in your response. We believe that you have installed the latest version (2.3.0.32) in your machine and then reverted to the older version 2.2.0.31. To make the dashboard work, please install the latest version of Dashboard SDK platform (2.3.0.32). Then follow the steps given in the link to host the service using the IIS installer utility https://help.syncfusion.com/dashboard-platform/dashboard-sdk/installation-and-deployment#hosting-dashboard-service-in-iis-express . If you face any errors with the utility you can host the Service manually in IIS by following the steps mentioned in the link https://help.syncfusion.com/dashboard-platform/dashboard-sdk/how-to/host-dashboard-service-as-website-in-iis  
 
Please let us know if you need any further assistance. 
 
Regards, 
Nigin Raj E C 



PL Paul Lees October 26, 2017 09:11 AM UTC

Hi


Thanks for your response. I have Managed to resolve this issue by force updating the installation to 2.3.0.32 and i am now able to view by dashboard. 


Thanks for your help



PS Prince Solomon Bala Subramani Syncfusion Team October 27, 2017 09:13 AM UTC

Hi Paul, 

Thank you for your update. Please contact us if you need further assistance. 

Regards 
Prince Solomon B 


Loader.
Up arrow icon