December 23, 2019 at 9:17 am #6240athesParticipant
I want to remove the unused views from my project.
If I try to delete entries from ‘Interface’ table, I receive the
‘Some rows have not been deleted because they are referenced.’
error message. Where should I delete first and what is the right delete order?
(I assumed: 1. Configuration Database / System / Interface table, 2. Interface folder in Administrator, 3. Interface folder on disk ?)December 23, 2019 at 1:51 pm #6243
First, you should delete from the Rights table. Then from the Interface table.
When you delete from disk, there is no reference check.December 23, 2019 at 5:04 pm #6247athesParticipant
Working fine, thank you.May 31, 2020 at 10:43 am #6867
It is an older topic, but I would like to refresh it.
I use the SCADA Version 5.8. The migration was sucessful and the communication with all lModbus devices work percfect.
My problem is, when I open localhost/scada, I get old views in spite of the fact, that I changed everything (Rights, Interfaces etc…) I have deleted all DemoViews, but they always appear.
In the Interfaces table I’ve defined the directory C:\SCADA\Projects\MyProject\Interface and all views I have in this directory.
It seams SCADA takes the views from any directory I can not finde.
What should I change/clean? I’ve deleted the history of the browser.
Thank you in advance
T.June 4, 2020 at 6:09 am #6883
Please provide links to the screenshots of the Interface table and old views.June 4, 2020 at 3:10 pm #6886June 5, 2020 at 11:31 am #6891
One additional information: in spite of the fact, that I have defined in the Interfaces table all new views (C:\SCADA\Projects\Project_name\Interface), when I start http://localhost/scada the views from C:\SCADA\Interface and not from C:\SCADA\Projects\Project_name\Interface will be shown (incl Demo).June 5, 2020 at 3:22 pm #6893
The web application loads the list of views from the configuration database.
May be if you restart the computer, it will reload data and forget about deleted views.
Also please check C:\SCADA\ScadaWeb\log\ScadaWeb.log
It can contains useful info about errors.June 5, 2020 at 3:23 pm #6894
Also try to upload the project again. Then logout and login the web app.June 5, 2020 at 5:06 pm #6895
This is the part of C:\SCADA\ScadaWeb\log\ScadaWeb.log
2020-06-05 19:03:14 <T-PC><DefaultAppPool><ACT> Login: T (Administrator). IP address: ::1
2020-06-05 19:03:14 <T-PC><DefaultAppPool><ACT> User information has been updated. IP address: ::1. Session: uyq5j3pzrp0uriuvtpgv000k
2020-06-05 19:03:14 <T-PC><DefaultAppPool><ACT> Retrieve components from the installed plugins
2020-06-05 19:03:14 <T-PC><DefaultAppPool><EXC> Error getting view with ID=12 from the cache or from the server: Unable to receive view file modification time.:
Scada.ScadaException: Unable to receive view file modification time.
at Scada.Client.ViewCache.LoadView(Type viewType, Int32 viewID, DateTime viewAge, BaseView& view, DateTime& newViewAge)
at Scada.Client.ViewCache.GetView(Type viewType, Int32 viewID, Boolean throwOnError)June 7, 2020 at 11:10 am #6896
I created a new project and uploaded the configuration again and everything works.
Thank youJune 8, 2020 at 2:44 pm #6902
Likely, it was cached somewhere.June 11, 2020 at 8:05 am #6908
There is one thing I still don’t understand. There are two directories with Interfaces:
In the “Interface” table I have defined C:\SCADA\Projects\MyProject\Interface, and I edit the views from this directory, but when I start http://localhost/scada, the views from C:\SCADA\Interface will be shown.
The question is, where is this defined?
T.June 11, 2020 at 2:39 pm #6909
When you work on your project, you change files in C:\SCADA\Projects\MyProject\
When you click upload project to the server, the files are copied from the project directory to C:\SCADA\ and into C:\SCADA\Interface too
In general, your server can be remote.
- You must be logged in to reply to this topic.