Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

ServerRerort.GetParameters causes exception when local computers date has not been set.

$
0
0

[System.ArgumentException] = {"'-1011224296' is not a valid value for 'Interval'. 'Interval' must be greater than 0."}

at System.Timers.Timer.set_Interval(Double value)
at Microsoft.Reporting.WinForms.ReportInfo.OnServerExecutionIdChanged(Object sender, EventArgs e)
at Microsoft.Reporting.WinForms.ServerReport.OnExecutionIDChanged()
at Microsoft.Reporting.WinForms.ServerReport.GetExecutionInfo()
at Microsoft.Reporting.WinForms.ServerReport.GetParameters()

I am guessing that this may be trying to set or use  the internal m_autorefreshtimer Interval value in the report viewer control

All my reports are on a remote server running UTC, and this occures when the users own PC is more than a few days out of sync - especialy if they are running say a week behind. As soon as the local computers date is within a day or two the problem cannot be replicated.

If I say set my local clock to be one month behind UTC, I can casue the problem every time.

This problem can be duplicated accrosss all 400+ reports we have accesss to, and occurs prior to the report being run,  so I don't think it is a problem with the individual reports, unless there is something about designing a report I am not aware off.


In the program code we are calling <control>.ServerReport.GetParameters()

The Applications are all C# .Net 2 winforms

The error can be replicated accross a wide client Windows platfom range XP, Vista, 2003 etc and the server the reports are hosted on is 2003 with SQl 2005 ( 2005 reporting services )


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>