Forum Home › Forums › Uncategorized Issues › Dashboard Chart
- This topic has 7 replies, 3 voices, and was last updated 3 years, 4 months ago by Mikhail.
-
AuthorPosts
-
October 31, 2017 at 2:54 pm #2723peter_fParticipant
Hi
I installed Dashboard and Chart Pro Trial. I created Dashboards with 3 items (1 Chart, 1Table and 1 URL) it worked fine. After some testing i bought the bought the key. I’m not really shure but my impression is that sinc I installed the key something runs wrong.Application Error
An application error occurred. If it repeats often, please contact the support.
Details:
Error getting view with ID=3 from the cache or from the server: Value cannot be null.
Parameter name: viewTypeI don’t know what View ID means. I tried different values for view ID, there was no difference. The Dashboard worked well and there is no other change I made but changing from Trial key to licensed key. Have I to adjust somewhere that I use an other key. (In the configuration tab i receive the message Registration key is valid
Peter
October 31, 2017 at 7:32 pm #2730MikhailModeratorHi Peter,
I don’t think that the error relates to a new key. Anyway we need to solve it.
View is a scheme or a table which is specified in the Interface table in Administrator.
What is the URL of the page with the error?
Copy here the errors from the logs of SCADA-Server and Webstation.
Post here a link to a screenshot of the Interface table.
Post here the dashboard configuration, please.October 31, 2017 at 9:27 pm #2733peter_fParticipantHi Mikhail,
I think it is helpful to say that table & chart work if they are startet from the Menu. In the dashboard table works fine, but there is no chart.
you should see the page on this URL this will be better than any explanation:
fischerp.selfhost.eu:8888/scada
(The Link is just temporary working)This is the dashboard configuration
<?xml version=”1.0″ encoding=”utf-8″ ?>
<DashboardConfig>
<DashboardOptions>
<Name>Temperaturen</Name>
<ColumnCount>2</ColumnCount>
<AspectRatio>1.33</AspectRatio>
</DashboardOptions>
<Widgets>
<Widget type=”Chart” cnlNums=”601,602,603,604,605″ viewIDs=”2,2,2,2,2″ period=”1″ />
<Widget type=”Chart” cnlNums=”601,602,603,604,605″ viewIDs=”2,2,2,2,2″ period=”7″ />
<Widget type=”CurData” cnlNums=”601,602,603,604,605″ viewIDs=”2,2,2,2,2″ />
<Widget type=”CustomUrl” url=”http://sankey-diagram-generator.acquireprocure.com/” />
</Widgets>
</DashboardConfig>I hope this is the relevant part of the logfile
2017-10-31 21:51:26 <LENOVOSFF><DefaultAppPool><ACT> Initialize common web application data
2017-10-31 21:51:26 <LENOVOSFF><DefaultAppPool><ACT> Connect to SCADA-Server “localhost”
2017-10-31 21:51:26 <LENOVOSFF><DefaultAppPool><ACT> Refresh the tables of the configuration database
2017-10-31 21:51:27 <LENOVOSFF><DefaultAppPool><ACT> Fill input channels properties
2017-10-31 21:51:27 <LENOVOSFF><DefaultAppPool><ACT> Fill output channels properties
2017-10-31 21:51:27 <LENOVOSFF><DefaultAppPool><ACT> Fill input channel statuses properties
2017-10-31 21:51:27 <LENOVOSFF><DefaultAppPool><ACT> User information has been added. IP address: 192.168.2.128. Session: fqykwmnz3cnft4tdpqyljyde
2017-10-31 21:51:35 <LENOVOSFF><DefaultAppPool><ACT> Login: admin (Administrator). IP address: 192.168.2.128
2017-10-31 21:51:35 <LENOVOSFF><DefaultAppPool><ACT> User information has been updated. IP address: 192.168.2.128. Session: fqykwmnz3cnft4tdpqyljyde
2017-10-31 21:52:21 <LENOVOSFF><DefaultAppPool><ACT> Check “Dashboard” registration:
Registration key is valid
2017-10-31 21:52:30 <LENOVOSFF><DefaultAppPool><ACT> Check “Chart Pro” registration:
Registration key is valid
2017-10-31 21:52:31 <LENOVOSFF><DefaultAppPool><EXC> Error getting view with ID=2 from the cache or from the server: Value cannot be null.
Parameter name: viewType:
System.ArgumentNullException: Value cannot be null.
Parameter name: viewType
at Scada.Client.ViewCache.GetView(Type viewType, Int32 viewID, Boolean throwOnError)
2017-10-31 21:52:32 <LENOVOSFF><DefaultAppPool><EXC> Application error:
Scada.ScadaException: Error getting view with ID=2 from the cache or from the server: Value cannot be null.
Parameter name: viewType
at Scada.Client.ViewCache.GetView(Type viewType, Int32 viewID, Boolean throwOnError)
at Scada.Web.Plugins.ChartPro.WFrmChartPro.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Page: http://192.168.2.21/Scada/plugins/ChartPro/ChartPro.aspx?cnlNums=601,602,603,604,605&viewIDs=2,2,2,2,2&&period=-7
User: admin
2017-10-31 21:52:33 <LENOVOSFF><DefaultAppPool><EXC> Error getting view with ID=2 from the cache or from the server: Value cannot be null.
Parameter name: viewType:
System.ArgumentNullException: Value cannot be null.
Parameter name: viewType
at Scada.Client.ViewCache.GetView(Type viewType, Int32 viewID, Boolean throwOnError)
2017-10-31 21:52:33 <LENOVOSFF><DefaultAppPool><EXC> Application error:
Scada.ScadaException: Error getting view with ID=2 from the cache or from the server: Value cannot be null.
Parameter name: viewType
at Scada.Client.ViewCache.GetView(Type viewType, Int32 viewID, Boolean throwOnError)
at Scada.Web.Plugins.ChartPro.WFrmChartPro.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Page: http://192.168.2.21/Scada/plugins/ChartPro/ChartPro.aspx?cnlNums=601,602,603,604,605&viewIDs=2,2,2,2,2&&period=-1
User: admin
2017-10-31 21:52:44 <LENOVOSFF><DefaultAppPool><EXC> Error getting view with ID=2 from the cache or from the server: Value cannot be null.
Parameter name: viewType:
System.ArgumentNullException: Value cannot be null.
Parameter name: viewType
at Scada.Client.ViewCache.GetView(Type viewType, Int32 viewID, Boolean throwOnError)
2017-10-31 21:52:44 <LENOVOSFF><DefaultAppPool><EXC> Application error:
Scada.ScadaException: Error getting view with ID=2 from the cache or from the
server: Value cannot be null.Parameter name: viewType
at Scada.Client.ViewCache.GetView(Type viewType, Int32 viewID, Boolean throwOnError)
at Scada.Web.Plugins.ChartPro.WFrmChartPro.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Page: http://192.168.2.21/Scada/plugins/ChartPro/ChartPro.aspx?cnlNums=601,602&viewIDs=2,2&&period=-2
User: adminHere you can find the screenshots.
http://www.mediafire.com/?2sr31bh2kkk6dPeter
November 1, 2017 at 9:05 am #2735MikhailModeratorHi,
Thank you for the link. It’s better than a screenshot.
Try http://fischerp.selfhost.eu:8888/Scada/View.aspx?viewID=2
You will get “The requested view does not exist or you have insufficient rights to access it.”You specified
Widget type=”Chart” cnlNums=”601,602,603,604,605″ viewIDs=”2,2,2,2,2″
in the dashboard settings.
But you have to specify the existing view that really contains the channels 601…605
May be viewIDs=”64,64,64,64,64″November 1, 2017 at 11:49 am #2737peter_fParticipantHi Mikhail,
apparently it is my mistake that i payed attention to this. In the table it works with the wrong ID. Now it works and I have to thank you.
PeterNovember 2, 2017 at 7:21 am #2740MikhailModeratorOK 🙂
December 1, 2020 at 1:03 pm #7629dinopParticipantHello,
I want to ask if is it possible to use a variable for period inside XML document for Dashboard. For example in default example for Dashboard period is set to 2.
Can I use instead of number 2, a variable named xy that can be changed somewhere and then just called inside XML document for Dashboard.
EXAMPLE:
<?xml version=”1.0″ encoding=”utf-8″?>
<DashboardConfig>
<DashboardOptions>
<Name>Dashboard Example 1</Name>
<ColumnCount>1</ColumnCount>
<AspectRatio>3</AspectRatio>
</DashboardOptions>
<Widgets>
<Widget type=”Chart” cnlNums=”101,102,103,104,105″ viewIDs=”2,2,2,2,2″ mode=”rolling” PERIOD=”2″ (CAN HERE BE A VARIABLE?????) title=”Sample Chart” RefreshRate=”10000″ config=”PlgChartPro.xml” />
</Widgets>
</DashboardConfig>December 2, 2020 at 2:13 pm #7636MikhailModeratorHello,
The initial widget period is a constant. However, a user can change period in Chart Pro menu. After reopen, the period is set to initial value.
-
AuthorPosts
- You must be logged in to reply to this topic.