Forum Home › Forums › Development and Integration › Graphs not updated (on a win2003 server)
- This topic has 11 replies, 2 voices, and was last updated 7 years, 11 months ago by Mikhail.
-
AuthorPosts
-
April 15, 2016 at 1:32 pm #967inpelsaParticipant
“Data loading error” on the top-right corner on any graph.
Is this expected on a win2003 IIS setup?
Could this be fixed or it depends on the webservices (as the schemas) too?
April 15, 2016 at 2:25 pm #968MikhailModeratorCharts also use web service (WCF) to update data.
Open the browser console (F12) and watch what are the messages there?
Also check C:\SCADA\ScadaWeb\log\ScadaWeb.logApril 15, 2016 at 3:39 pm #969MikhailModeratorFurthermore, the new version of web application, that is under development, can’t work without web services.
April 19, 2016 at 3:47 pm #981inpelsaParticipantBrowser console:
POST http://192.168.5.120/Scada/diag/DiagSvc.svc/GetDiagData
200 OK 1ms
jquery-….min.js (línea 5)
POST results:{“d”:””}
17:41:23 Empty data received. Data service error
diag.js (línea 83)
17:42:23 Request diagram data. TimeOffset = 0.7361111226851851SCADAWEB.LOG:
2016-04-19 17:36:36 <RAPIDSCADA><SYSTEM><EXC> Diagram data service error: HTTP context or it’s properties are undefined.
Nombre del parámetro: contextMany web services can run on Win2003 IIS 6, it’s a pitty win2003 is unsupported but it’s a very old OS so I will plan for an newer OS
April 19, 2016 at 7:37 pm #982MikhailModeratorInteresting error. Works like Mono .NET on Linux.
If it’s possible, use newer OS, please. If not, I can send you an update that should fix this issue with charts, but the update does not fix issue with schemes.April 20, 2016 at 10:31 am #986inpelsaParticipantI will change OS, but in the mean time please show the fix even if it doesn’t fix scheme issue.
thanks!
April 20, 2016 at 6:39 pm #987MikhailModeratorI’ve sent. Please let me know about the result.
April 20, 2016 at 7:13 pm #988inpelsaParticipantThanks, I applied the update. It was not working until I changed this to work:
web.config:
<serviceMetadata httpGetEnabled=”true” httpsGetEnabled=”true” />
to
<serviceMetadata httpGetEnabled=”true” httpsGetEnabled=”false” />This was the error on scadaweb.log:
2016-04-20 21:05:28 <RAPIDSCADA><SYSTEM><EXC> Application error: La propiedad HttpsGetEnabled de ServiceMetadataBehavior está establecida en true y la propiedad HttpsGetUrl es una dirección relativa, pero no hay ninguna dirección base https. Proporcione una dirección base https o establezca HttpsGetUrl en una dirección absoluta.
en System.ServiceModel.Description.ServiceMetadataBehavior.EnsureGetDispatcher(ServiceHostBase host, ServiceMetadataExtension mex, Uri url, String scheme)
en System.ServiceModel.Description.ServiceMetadataBehavior.CreateHttpGetEndpoints(ServiceDescription description, ServiceHostBase host, ServiceMetadataExtension mex)
en System.ServiceModel.Description.ServiceMetadataBehavior.ApplyBehavior(ServiceDescription description, ServiceHostBase host)
en System.ServiceModel.Description.ServiceMetadataBehavior.System.ServiceModel.Description.IServiceBehavior.ApplyDispatchBehavior(ServiceDescription description, ServiceHostBase serviceHostBase)
en System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost)
en System.ServiceModel.ServiceHostBase.InitializeRuntime()
en System.ServiceModel.ServiceHostBase.OnBeginOpen()
en System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
en System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
en System.ServiceModel.Channels.CommunicationObject.Open()
en System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)
en System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
Page: http://192.168.5.120/Scada/diag/DiagSvc.svc/GetDiagData?cnlNums=1239&startDate=2016-04-20&timeOffset=0.876388900462963I was using “Components for Charting: chart pro” and it has dissapeared, I will try to install it again.
Thanks for all !!!
April 20, 2016 at 10:13 pm #992MikhailModeratorI’m glad that it works 🙂
I think the issue with web.config depends on IIS version.
The update overwrites ScadaDiag.dll.Just copy the DLL from Chart Pro component.April 20, 2016 at 10:34 pm #993MikhailModeratorI have to send you the update of Chart Pro. Do not use the old Dll
April 21, 2016 at 5:13 pm #996inpelsaParticipantnew DLL received, updated and working!
BTW… schemes are working too! good job!
April 21, 2016 at 6:05 pm #997MikhailModeratorBTW… schemes are working too! good job!
magic 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.