SSRS Parameter issue (SQL Server 2008 R2)

  • Having an issue where I have created a report with a shared data source and several shared data sets. The report has 2 parameters one dependent on the other. This was working fine until just recently. Now any report I create with a parameter does not work (see error below). I've tried creating a simple empty report that has an embedded DataSet which returns a int (ClientId) and varchar (Name):

    SELECT ClientId, Name From Client

    Then have the parameter use this query to populate available values (Value = ClientId and Label = Name).

    When I preview in BIDS (VS-2008) it works just fine.

    When I deploy and run the report locally I get the following error:

    An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition within the database. (rsReportServerDatabaseError) Arithmetic overflow error converting expression to data type int. The statement has been terminated.

    There are no expressions and I've deleted all old datasets that used to have an expression. Seems like SSRS has something cached though I have deleted Internet Cache and deleted the datasets from SSRS and went into the DB and deleted everything I could. I have turned on SQL profilier and don't see anything other than the query mentioned previously being executed. Anyone else out there experience this issue?

    Thanks

  • No I did not got such issue.

    You are saying convesion error message.Can you Cast ID column to Int

    E.g.

    Select Cast(ID) ,Name From Client

    This may solve your problem.

    Regards

    Sagar

  • Sagar,

    I tried that as well and that does not resolve the issue. As I mentioned before it works in preview mode from BIDS just not once deployed locally.

    Thanks,

    Anthony

  • can you use query designer to see if these shared dataset can produce any data you expect?

  • So the test report I'm using is blank so there is no data to return. The query that populates the Text parameter works fine as the dropdown gets populated just fine. It is just when I click on the "view report" button does the error occur. If I load the dataset in the SSRS query builder returns everything as well. Lastly, as I've stated in my original post it works in BIDS but not when deployed.

    Thanks,

    Anthony

  • Hi,

    I would restart the services for reporting services and then try again.

    It would be worth checking the reporting services logs as well to see if any more information is provided for the report failing.

    HTH

  • Abs-225476,

    I've tried restarting services, rebooting and I've looked through the logs and nothing helpful at all. I'm going to be opening up a ticket with MS to see what further information I can get.

    thanks!!

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply