Sunday, February 12, 2012

'Autorefreshing' parameters gives errors

hi all,
I have this strange problem with my parameters in a report.
There are 4 parameters (2 date and 2 comboboxes) which need te be filled
in in order to get the report.
I've managed to get this to work on my test-machine,but once I deploy the code on another server,I get errors filling in the parameters:
When filling in the first date, I get an error:
The value provided for the report parameter 'PER2' is not valid for its type. (rsReportParameterTypeMismatch)
(where PER2 is my second date)
It seems the page reload itself each time I fill in a parameter, and getting this error because it can't be left empty...
So when I push back in my browser, the first date is still filled in, filling in the second date lets me select the 2 other values from the dropdown and then generating my report.
Anyone any ideas what could cause this?
Since the exact same report runs without a problem on my machine, I don't really think it's a code problem,
Thx,
Hans
*****************************************
* This message was posted via http://www.sqlmonster.com
*
* Report spam or abuse by clicking the following URL:
* http://www.sqlmonster.com/Uwe/Abuse.aspx?aid=ec520230db804271906faa5728e90e6d
*****************************************"Hans Cryspin via SQLMonster.com" wrote:
> There are 4 parameters (2 date and 2 comboboxes) which need te be filled
> in in order to get the report.
> I've managed to get this to work on my test-machine,but once I deploy the
> code on another server,I get errors filling in the parameters:
> Since the exact same report runs without a problem on my machine, I don't
> really think it's a code problem,
Could it be a problem with the regional settings on your test machine and
the other server? Check that the regional settings are the same and that if
you're testing with different Internet Explorer installation that they both
have set the same default language. (Tools->Internet Options->Languages)

No comments:

Post a Comment