Hi, I am running Paul's RFX Chart (1.1.0.7) and since January 1st I get this error message on all pages:
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">Server Error in '/' Application.
<b>Index was outside the bounds of the array.</b>
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[IndexOutOfRangeException: Index was outside the bounds of the array.]
UtilityH.GetValues(String sql) +911
UtilityH.Page_Load(Object sender, EventArgs e) +4450
System.Web.UI.Control.OnLoad(EventArgs e) +80
System.Web.UI.Control.LoadRecursive() +49
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3750<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
URL: http://<hsIPaddress>:<port>/RFXCharts/UtilityH.aspx
Does this have anything to do with the year 2009 by any chance?
Thanks
DJ
RFX Chart problem?
Moderator: b_weijenberg
RFX Chart problem?
@Dj,
I can access the UtilityH.aspx no problem here.
I can access the UtilityH.aspx no problem here.
RFX Chart problem?
No problem here. Can access all charts as usual.
RFX Chart problem?
I get this error at regular intervals for a couple of months now. Most of the time the errors disappears after a few minutes. This is the error message I get:
Index was outside the bounds of the array.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[IndexOutOfRangeException: Index was outside the bounds of the array.]
Enviro1H.GetValues(String sql, String strType) +959
Enviro1H.Page_Load(Object sender, EventArgs e) +5045
System.Web.UI.Control.OnLoad(EventArgs e) +80
System.Web.UI.Control.LoadRecursive() +49
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3750
Rene.
Index was outside the bounds of the array.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[IndexOutOfRangeException: Index was outside the bounds of the array.]
Enviro1H.GetValues(String sql, String strType) +959
Enviro1H.Page_Load(Object sender, EventArgs e) +5045
System.Web.UI.Control.OnLoad(EventArgs e) +80
System.Web.UI.Control.LoadRecursive() +49
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3750
Rene.
RFX Chart problem?
Rene,
Think I have found the problem.
<ul>
<li>HomeSeer I noticed that the logging had a US date format.</li>
<li>The OS (Win2k) was set to the Dutch format dd-mm-yy</li>
</ul>
Weird! On the HS board I found this article that describes a problem with the Settings_Regional.xml file.
http://board.homeseer.com/showthread.php?t=133216
Next step: shut down HomeSeer, rename this file, start HomeSeer. Now the dateformat is OK.
Then I looked into my Databases (RFXCOM + my own DB) and found that there was a problem with the dates:
<ul>
<li>System writes US format: 10-01-08 (Oct-1)</li>
<li>DB wants EMEA format: 01-10-08 </li>
<li>Result: Oct-1 is recorded in the DB as Jan-10 ('10-01-08')</li>
</ul>
After the 12th of each month the DB knows that 10-13 <i>has</i> to be recorded as 13-10 so that caused no problems.
Last night I went through a 100.000 records and had to replace dates for the first 12 days of each month (starting July ??)
Did find a way to do it faster than manual, but it still took about 2hrs.
Now the charts seem to work a lot better!
Think I have found the problem.
<ul>
<li>HomeSeer I noticed that the logging had a US date format.</li>
<li>The OS (Win2k) was set to the Dutch format dd-mm-yy</li>
</ul>
Weird! On the HS board I found this article that describes a problem with the Settings_Regional.xml file.
http://board.homeseer.com/showthread.php?t=133216
Next step: shut down HomeSeer, rename this file, start HomeSeer. Now the dateformat is OK.
Then I looked into my Databases (RFXCOM + my own DB) and found that there was a problem with the dates:
<ul>
<li>System writes US format: 10-01-08 (Oct-1)</li>
<li>DB wants EMEA format: 01-10-08 </li>
<li>Result: Oct-1 is recorded in the DB as Jan-10 ('10-01-08')</li>
</ul>
After the 12th of each month the DB knows that 10-13 <i>has</i> to be recorded as 13-10 so that caused no problems.
Last night I went through a 100.000 records and had to replace dates for the first 12 days of each month (starting July ??)
Did find a way to do it faster than manual, but it still took about 2hrs.
Now the charts seem to work a lot better!
RFX Chart problem?
Yesterday the problem occured again. After a couple of minutes, just like the other times, it worked again without me doing anything. Strange, but my problem seems to be a different problem than the one you are experiencing.
Rene.
Rene.
- b_weijenberg
- Forum Moderator
- Posts: 1746
- Joined: Sun May 14, 2006 4:32 pm
- Location: Netherlands
RFX Chart problem?
please hou dit forum in het Nederlands. Voor RFX Charts kan je zelfs ook beter het HS forum gebruiken als centraal meldpunt.
http://board.homeseer.com/showthread.php?t=128902
bvd Bert
http://board.homeseer.com/showthread.php?t=128902
bvd Bert
RFX Chart problem?
Dank voor de link!